Only see thumbnail if original image smaller than resized image

MarkRhino

Joined: 2005-07-31
Posts: 14
Posted: Wed, 2005-12-28 16:28

Hi,
Not sure if this is a feature or a bug, so I'm posting here :-)

If you set the permissions on a gallery such that guests can only see the resized images, and the original image is smaller than the resize limit, then when the guest clicks on the thumbnail, they only get to see the thumbnail again, rather than the larger image. E.g. if the resized file is max 800 x 800, and the original image is 640 x 480, then the 640x480 image can never be seen by the guest - only the thumbnail.

This is an issue when you have users uploading their own images, and you're trying to keep the bandwidth down by not letting unregistered users view the whole image.

Just an FYI if anyone's poking about in that area of code :-)

And, because I haven't said it before, many thanks to all the developers for a superb bit of software - gallery2 really rocks :-)

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Wed, 2005-12-28 17:10

that's not a bug. that's just an expected behavior, since g2 view permissions are for thumb/resize/original. there are no permissions that determine what dimensions a user is allowed to view.