Recent Pictures List Recent Pictures List
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Recent Pictures List

Started by guygar, April 06, 2011, 01:36:16 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

guygar

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!

Αndré

Quote from: guygar on April 06, 2011, 01:36:16 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.

guygar

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.

Αndré


guygar

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


Αndré

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

guygar

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.


guygar

Ok I got it!  ;D

Just changed the homepage url on the general settings!

Thank you so much!

Αndré

Additionally, you should add a rewrite rule like
RewriteEngine on
RewriteBase /
RewriteRule ^$ thumbnails.php?album=lastup [NC]

so first time visitors will see the same page.

guygar

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

Please advise how to rewrite this rule please?

Αndré

Quote from: guygar on April 06, 2011, 02:15:13 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.

guygar

Thank you for not telling all.

I created a .htaccess file in the coppermine root and it seems to work.  :)