View a thumbnail of the newest picture?

lasoe

Joined: 2007-08-26
Posts: 2
Posted: Sun, 2007-08-26 11:22

Gallery version = 2.2.2 core 1.2.0.4
PHP version = 4.4.7 cgi-fcgi
Webserver = Microsoft-IIS/6.0
Database = mysqlt 4.1.22-community-nt, lock.system=database
Toolkits = Exif, Gd
Acceleration = none, none
Operating system = Windows NT NHWEBSRV08 5.2 build 3790
Default theme = carbon
gettext = disabled
Locale = da_DK
Browser = Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; WOW64; SLCC1; .NET CLR 2.0.50727; .NET CLR 3.0.04506; Media Center PC 5.0)
Rows in GalleryAccessMap table = 33
Rows in GalleryAccessSubscriberMap table = 157
Rows in GalleryUser table = 4
Rows in GalleryItem table = 157
Rows in GalleryAlbumItem table = 11
Rows in GalleryCacheMap table = 0

Hi.
When visiting my homepage you will find a lot of thumbnails. But it is thumbnails of my first posted picture.
Is it possible to set the gallery2 so that the newest picture will be shown instead of the oldest on the head page?

Andreas

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Sun, 2007-08-26 11:48

i guess you mean the album thumbnails or "album highlight" images, as we call them in gallery.
gallery always uses the first image that is added to an album as the album's thumbnail.
you can later change the album highlight by browsing to any image in the album and clicking "make highlight".

there's a related feature: "random highlight", which is provided by a module of the same name. it changes the album highlight periodically.

if you want that g2 selects the newest image of an album as the album's highlight, you will need to write a new gallery module or change some code in the core module.
you can't achieve this without a code change.

--------------
Documentation: Support / Troubleshooting | Installation, Upgrade, Configuration and Usage

 
lasoe

Joined: 2007-08-26
Posts: 2
Posted: Sun, 2007-09-16 16:27

I can't write a new gallery module :(
I don’t understand that this advanced program doesn’t have this feature.
Anyone? Help please :)