Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
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?
Great question, Ismail! I'll have to look to see what will happen in that case.
I'll keep you posted.
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.
Using imagegen pro version is 220.127.116.1153 my image gen full link looks like
<img class="thumb-tiny" src="/imageGen.ashx?image=@string.Format(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.
Yup, it's a bug, and a pesky one. This might take a little while to figure out.
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.
will upgrade and thought & was xhtml syntactically more correct?
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.
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted