community imagegallery image does not show up for anonymous users


the links to the images are like this: /EPiServerCommunity/Modules/ImageGallery/GetImage.aspx?imageId=378&orig=false

when I'm logged in, I can see the images, if not they are invisible. If I try to directly go to this link I'm redirected to
the login page. Has anyone an idea what might be the problem?

Jan 19, 2010 15:11

I just found out that you should not point directly to the original image; instead a 'thumnail' version should be created and pointed at, like this:

Thumbnail thumb = currentImage.GetThumbnail(currentImage.Width, currentImage.Height,                                                             ThumbnailFormat.Proportional);
img.Href = thumb.Url          


Jan 19, 2010 16:50