Image URLs
Using Jamroom
Hi again.
I didn't realise that literally output the URL you needed! Thank you!
Oddly, though, although I could see from Firebug that it was constructing the image source, for some reason, it doesn't load it. To take it apart, I've redone it as inline styling, but I'm encountering the same error. What I have now is this...
<style>
div.specbackground
{
background: url('{jrCore_module_function function="jrImage_display" module="jrProfile" type="profile_image" size="xlarge" item_id=$_profile_id }');
border: 2px solid black;
background-width: 100%;
background-size:100%;
background-repeat: no-repeat;
background-size: cover;
background-position: center;
}
</style>
{if ($profile_image_size > 0) && ($profile_quota_id == '2')}
<div class="specbackground">
{else}
<div class="covbackground">
{/if}
Firebug reads that as:
div.specbackground {
background: transparent url("<img src="http:
border: 2px solid
}
but the image doesn't load - hovering over it in firebug just prompts "Could not load image" - even though the URLs for that and the 'actual' profile pic are exactly the same....