i added it to the create a profile and modify profile forms
this code
{jrCore_module_function function="jrImage_display" module="jrProfile" type="profile_cover_image" item_id=$_profile_id size="xlarge" class="img_scale" alt=$profile_name title=$hover width=false height=false}
luckily i changed that to something less hideous
but its not what i want
i want no image code if none was uploaded
i tried this
{if isset($profile_cover_image) && strlen($profile_cover_image) > 0}
{jrCore_module_function function="jrImage_display" module="jrProfile" type="profile_cover_image" item_id=$_profile_id size="xlarge" class="img_scale" alt=$profile_name title=$hover width=false height=false}{/if}
then no image appears anywhere
i have tried multiple variations that made sence..or didnt and all either display the image and defaults on empty profiles or nothing at all
i added an
{else}upload a cover photo{/if}
i cant seem to get that if statement right so it will only put in the image code if a user actualy uploaded a cover photo
--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities
updated by @soaringeagle: 12/11/14 09:25:45AM