custom thumbnail borders
lou77
Joined: 2005-07-31
Posts: 6 |
Posted: Thu, 2005-08-04 01:10 |
i'm having trouble with custom borders around my thumbnails. I want the siriux look, and i've looked at how it's done in siriux, but it's really fooling around in Album.tpl and i'm unsure. i know i want a custom div tag, and i just have to put it in the place that generates album thumbnails and item thumbnails, but honestly i can't follow the code at all. i've tried using all weird combinations of css like img.giThumbnail {} but i can't seem to find a code that will grab onto the thumbnails... is there an easier way? or can someone show me where in the album.tpl would be a good place to plonk my custom div? much appreciated! http://volupt.nu/gallery/themes/wordpress/templates/album.tpl |
|
Posts: 16504
Why not create a custom imageframe? I thought this was how Siriux did that, but I'd have to look at that theme to be sure. Here's some information on creating a custom imageframe. I don't know how complete the document is:
http://codex.gallery2.org/index.php/Gallery2:Imageframe
Posts: 6
thanks for that i was wondering how to do that.
but these files do not make it any easier than before to put in a:hover etc... unless you can put it in the frame.inc somehow... is there a way to do that?
Posts: 808
So you want the frame to change when you hover the mouse over the image?
Posts: 16504
That would be pretty damn cool. Not sure how exactly you'd go about doing it though.
One way might be to use javascript to preload the images you want to replace those then write (or customize one of the 1000s) an image swapping script. Then when you mouseover the image it swaps the image frames out.
Just a random idea.