Is there a way to create a group and have it to where they can only see the thumbnails and no access to the full images?
Thanks
Outie
Offline
Has anyone been able to figure this out in phpwebgallery? I would love to restrict guest users to only thumbnails! Thanks
Outie
Offline
Currently I can't see a solution for your excellent idea.
We can imagine a future option available on virtual category.
If this option is true, no link to picture.php is available but this is too simple in fact.
A visitor will discover too quickly that he can write a new URL to your picture.php??cat=CC&image_id=NNN
and then see the full size picture.
If we have a better idea, be confident you will get it asap.
Offline
We could perform a check at the beginning of picture.php :
if ($user['is_the_guest'] and !$conf['show_pictures_to_guest']) { die('Please, register'); // with a link to registration page }
Anyway, the guest will be able to see the picture but not in PhpWebGallery frame. (easy to find picture name from thumbnail name)
Offline
Outie,
May I suggest to create a directory with real thumbnails you want and small white pictures.
8-)
Offline
Hmm good idea with the real thumbnails and small white pictures. But are you saying have two different databases? I am not 100% sure what you are suggesting.
Outie
Offline
Just two galleries (two repertories) with the same images but one with small pictures and the other with high quality picture. And you don't give the same permissions to the galleries.
Offline
Ahh so you can have two galleries with 1 user base? So guests are pointed here and users are pointed here?
Offline
Outie,
As you want...
First solution: Only one install, so just one set of tables prefixed by "phpwebgallery_" for example.
Make a public category with your real thumbnails and your "white" pictures.
Access to other categories need to be registred.
Second solution: Two installation in different directories and two sets of tables, one prefixed by "pwg1_" and second by "pwg2_" for exemple. One with only a public acces. The other only for members.
You make your own home page to propose choices you want.
You can add a link between one and the other.
In all case, you need only one MySQL database, it's better to have different in terms of concurrent access that's all.
Enjoy PWG.
Offline
After investigating as much as I can, now in 2024 it seems not to be posible. (To make only thumbnails accessible to guests)
Anyone has a solution?
I want my galleries to remain hidden, but guess must see the thumbnails :-(
Offline