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: Recent Pictures List  (Read 5326 times)

0 Members and 1 Guest are viewing this topic.

guygar

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 26
Recent Pictures List
« on: April 06, 2011, 01:36:16 pm »

Hello,

I was wondering how to modify coppermine 1.5.12 so the 'last additions' lists all the images uploaded in chronological order.

It would list 20 thumbnails per page and a page count at the bottom, like you see in http://www.usefilm.com/recent/ or http://www.photosig.com/go/photos.

Do I need to modify the coppermine code or is this feature available and I am just not noticing it?

Thanks!
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Recent Pictures List
« Reply #1 on: April 06, 2011, 01:42:03 pm »

modify coppermine 1.5.12 so the 'last additions' lists all the images uploaded in chronological order.
That's how the 'lastup' meta album works, so you don't have to modify anything. Please post a link to your gallery if you need further support.
Logged

guygar

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 26
Re: Recent Pictures List
« Reply #2 on: April 06, 2011, 01:45:02 pm »

sorry i forgot to include my site address: www.coppermine.guygar.com

thank you for your response but it is not working that way!  ???

It shows the most recent 8 thumbnails on the main page but has no means of advancing through the full image listing.

Hope I am being clear, please advise.

Thanks.
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Recent Pictures List
« Reply #3 on: April 06, 2011, 01:46:16 pm »

Logged

guygar

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 26
Re: Recent Pictures List
« Reply #4 on: April 06, 2011, 01:50:21 pm »

how many thumbnails will be shown per page using this please?

Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Recent Pictures List
« Reply #5 on: April 06, 2011, 01:51:47 pm »

As much as you've set in the config. The settings for 'regular' albums also apply to meta albums like 'lastup'.
Logged

guygar

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 26
Re: Recent Pictures List
« Reply #6 on: April 06, 2011, 01:57:45 pm »

That works! Thank you  :)

But going back to the original issue (I am a bit confused)... How do I enable such behaviour on the main page (homepage).

i.e. instead of static 12 thumbnails .. implement 'last uploads' instead?

Thank you again.

Logged

guygar

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 26
Re: Recent Pictures List
« Reply #7 on: April 06, 2011, 02:06:55 pm »

Ok I got it!  ;D

Just changed the homepage url on the general settings!

Thank you so much!
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Recent Pictures List
« Reply #8 on: April 06, 2011, 02:13:58 pm »

Additionally, you should add a rewrite rule like
Code: [Select]
RewriteEngine on
RewriteBase /
RewriteRule ^$ thumbnails.php?album=lastup [NC]
so first time visitors will see the same page.
Logged

guygar

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 26
Re: Recent Pictures List
« Reply #9 on: April 06, 2011, 02:15:13 pm »

Thank you, you are so right! I have failed.

Please advise how to rewrite this rule please?
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Recent Pictures List
« Reply #10 on: April 06, 2011, 02:25:58 pm »

Please advise how to rewrite this rule please?
It should work as is. If you're unfamiliar with rewrite rules, please use Google to get more information.
Logged

guygar

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 26
Re: Recent Pictures List
« Reply #11 on: April 06, 2011, 02:29:53 pm »

Thank you for not telling all.

I created a .htaccess file in the coppermine root and it seems to work.  :)
Logged
Pages: [1]   Go Up
 

Page created in 0.039 seconds with 19 queries.