Image URLs
Using Jamroom
I'm trying out some conditional formatting to override the CSS in a template for certain quotas. What I would like to happen is that if a profile image has been added, then that is used as the background image for the profile name div.
I know I can do this with an inline style tag, and an if/else requirement for the opening div tag, but I can't fathom how to get the profile image url into the inline styling:
div.specbackground
{
background: url(shouldbethelinktotheprofileimage);
border: 2px solid black;
background-width: 100%;
background-size:100%;
background-repeat: no-repeat;
background-size: cover;
background-position: center;
}
I know how to display Images under normal circumstances using the jrImage functions, but not how to construct the URL......
updated by @iamtimbo: 07/19/15 06:09:22AM