Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: Sample Galleries  (Read 3447 times)

0 Members and 1 Guest are viewing this topic.

Tom Lancaster

  • Coppermine newbie
  • Offline Offline
  • Posts: 13
Sample Galleries
« on: March 27, 2006, 05:59:16 pm »

I have a (hidden) gallery available only to a registered group of users, which works fine.

I want to make a small number of photos from that gallery available to all users.

I can link to them as in the FAQs and this appears to place them in the sample gallery - however logging out reveals that they are actually only available to the registered users. I also notice I can't choose a gallery thumbnail from the sample gallery.

Is there an alternative, other than to create two instances of each image?

Thanks as always, Tom.
« Last Edit: March 29, 2006, 04:46:37 am by TranzNDance »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Sample Galleries
« Reply #1 on: March 27, 2006, 09:01:27 pm »

I have no idea what your sample gallery is configured like, and it's quite hard to imagine without seing it. Even harder to recommend anything. I'd post a link if I were you...
Logged

Tom Lancaster

  • Coppermine newbie
  • Offline Offline
  • Posts: 13
Re: Sample Galleries
« Reply #2 on: March 28, 2006, 01:25:43 am »

Thanks, www.wrestlingphotos.co.uk. Look in LDN category. The album LDN Walthamstow 27/03/06 contains one linked file (the file is in an album restrcited to one user group). Selecting the album does not show the linked file. I would like this viewable by all, but to be housed in the 'hidden' album.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Sample Galleries
« Reply #3 on: March 28, 2006, 07:37:18 am »

linked files respect permissions. If they are in an album that the currently logged-in user doesn't have access to, then the user can't see it. If this wasn't the case, the album keyword feature could be (ab)used to drill wholes into the security concept of the entire site. Bottom line: you can't do what you're up to without seriously damaging the functionality and security of your site.
Logged

Tom Lancaster

  • Coppermine newbie
  • Offline Offline
  • Posts: 13
Re: Sample Galleries
« Reply #4 on: March 29, 2006, 02:23:14 am »

Ok thanks, was hoping to reduce duplicity, but if it's a security implication it is a small price to pay.
Logged

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: Sample Galleries
« Reply #5 on: March 29, 2006, 04:46:17 am »

What you can do is put the public files in public albums, then link to them from the private album, rather than the other way around.
Logged
Pages: [1]   Go Up
 

Page created in 0.019 seconds with 20 queries.