Use my own thumbnails

spadez

Joined: 2009-12-20
Posts: 25
Posted: Sun, 2009-12-20 22:18

Hi!

This is my first post so please go easy. Im loving gallery, its just what ive been looking for, having used coppermine before.

The generated thumbnails are fine, but I made my own thumbnails to be used for the images, and I would like to know the best way to allow me to do this, im thinking these are my options:

1. Is there a plugin for this? I did look, but didnt see one, apart from the one which allows you to put your own thumbnails on non-image content, could this be hacked to be used for image content too?

2. Overwrite the genetated thumbnail image file.

3. Change the php to point the thumbnail to a different location, and upload my own thumbnail in that location.

Thanks for any help you can give!

James

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Sun, 2009-12-20 22:28
Quote:
1. Is there a plugin for this?

Yes:
http://codex.gallery2.org/Gallery2:Modules:thumbnail Set custom thumbnails for any item (e.g. replace the default thumbnail of an album by a photo that isn't even part of the album)

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team