A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More

community imagegallery image does not show up for anonymous users

Vote:
 

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?

#36219
Jan 19, 2010 15:11
Vote:
 

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          

 

#36224
Jan 19, 2010 16:50
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.