We are using latest imagegen pro with umbraco 4.7 I am having an issue with AltImage attribute I dont think its a bug it may be what the image link is returning. So I have image gen call to image http://lot-images.atgmedia.com/SR/35164/2768977/391.JPG this image on the third party site is missing. If you hit that link you get some xml back with error message. In my image gen link I have set alt image to altImage=/images/thumb_tiny.jpg however I still get missing image.
Am i right in assuming becuase my image link although missing an image is sending back 200 status code image gen thinks there is an image and thus tries to process it? Is there a way round this issue?
Not 'more correct' - the simple & is possibly better (certainly more concise) and is preferred though & will work and is required because of XSLT escaping requirements for the & character.
AltImage Not working?
Hello,
We are using latest imagegen pro with umbraco 4.7 I am having an issue with AltImage attribute I dont think its a bug it may be what the image link is returning. So I have image gen call to image http://lot-images.atgmedia.com/SR/35164/2768977/391.JPG this image on the third party site is missing. If you hit that link you get some xml back with error message. In my image gen link I have set alt image to altImage=/images/thumb_tiny.jpg however I still get missing image.
Am i right in assuming becuase my image link although missing an image is sending back 200 status code image gen thinks there is an image and thus tries to process it? Is there a way round this issue?
Regards
Ismail
Great question, Ismail! I'll have to look to see what will happen in that case.
I'll keep you posted.
cheers,
doug.
I'm getting the url you provided as a 404 return code, not a 200. Can you double-check that to be sure I'm reproducing your issue properly?
Also, what version of ImageGen are you using, as that will make a difference.
cheers,
doug.
Doug,
Using imagegen pro version is 2.5.2.17053 my image gen full link looks like
<img class="thumb-tiny" src="/[email protected](fullImageUrl, item.ClientID, item.EventID, imageUrl)&width=98&height=60&constrain=true&altImage=/images/thumb_tiny.jpg" alt="@item.ImageName"/>
if you need to see it in action can ping you link via skype or msn.
Many thanks
Ismail
Yup, it's a bug, and a pesky one. This might take a little while to figure out.
I'll keep you posted.
BTW, you should upgrade to 2.5.7 :)
AND, you shouldn't need the & since you're using Razor... that was only required for xslt.
cheers,
doug.
will upgrade and thought & was xhtml syntactically more correct?
Regards
Ismail
Not 'more correct' - the simple & is possibly better (certainly more concise) and is preferred though & will work and is required because of XSLT escaping requirements for the & character.
cheers,
doug.
is working on a reply...