Announcement

#1 2005-09-25 00:46:41

Outie
Member
2005-09-19
30

Restricted Access

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

 

#2 2005-09-30 20:14:13

Outie
Member
2005-09-19
30

Re: Restricted Access

Has anyone been able to figure this out in phpwebgallery? I would love to restrict guest users to only thumbnails! Thanks

Outie

Offline

 

#3 2005-09-30 21:08:48

VDigital
Former Piwigo Team
Paris (FR)
2005-05-04
17680

Re: Restricted Access

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.


Piwigo.com: Start and run your own photo gallery. Signup and get 30 days to try for free, no commitment.
8-)

Offline

 

#4 2005-10-01 00:26:25

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13791

Re: Restricted Access

We could perform a check at the beginning of picture.php :

Code:

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

 

#5 2005-10-01 08:52:26

VDigital
Former Piwigo Team
Paris (FR)
2005-05-04
17680

Re: Restricted Access

Outie,

May I suggest to create a directory with real thumbnails you want and small white pictures.

8-)


Piwigo.com: Start and run your own photo gallery. Signup and get 30 days to try for free, no commitment.
8-)

Offline

 

#6 2005-10-03 16:58:14

Outie
Member
2005-09-19
30

Re: Restricted Access

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

 

#7 2005-10-03 17:02:55

Vassae
Member
2005-01-13
128

Re: Restricted Access

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

 

#8 2005-10-03 17:49:26

Outie
Member
2005-09-19
30

Re: Restricted Access

Ahh so you can have two galleries with 1 user base? So guests are pointed here and users are pointed here?

Offline

 

#9 2005-10-03 20:22:03

VDigital
Former Piwigo Team
Paris (FR)
2005-05-04
17680

Re: Restricted Access

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.


Piwigo.com: Start and run your own photo gallery. Signup and get 30 days to try for free, no commitment.
8-)

Offline

 

#10 2024-04-15 01:36:07

lonjazurbaran
Member
2023-10-01
12

Re: Restricted Access

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

 

#11 2024-04-15 13:07:51

OHappyDay
Member
2023-02-08
64

Offline

 

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact