contao / core

Contao 3 → see contao/contao for Contao 4
GNU Lesser General Public License v3.0
492 stars 213 forks source link

BE: Images in protected folders are not being loaded #6485

Closed Anke closed 10 years ago

Anke commented 10 years ago

Hi,

download documents lying in protected folders are accessible in the downloads CE, while pictures in a protected image folder lead to a "This image failed to load." in the gallery CE (Contao 3.1.5).

I'm not sure if this is an error or unavoidable but I thought I'll let you know.

Anke

leofeyer commented 10 years ago

How do I reproduce the issue?

Anke commented 10 years ago

In file manager create a new protected folder and place some pictures in it. Put a CE gallery on any page and try large-view the images (I'm using the j_colorbox). I get an error message "This image failed to load". It's working again when I unprotect the folder in the file manager.

(To deliver complete information: The gallery is restricted to certain member groups as well but that shouldn't affect this, should it?)

leofeyer commented 10 years ago

You cannot open images in an .htaccess protected folder. This is an Apache feature, not a Contao defect.