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

http://volupt.nu/blog/wp-gallery2.php

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Thu, 2005-08-04 02:22

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

 
lou77

Joined: 2005-07-31
Posts: 6
Posted: Thu, 2005-08-04 08:19

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?

 
lvthunder

Joined: 2003-09-12
Posts: 808
Posted: Thu, 2005-08-04 18:40

So you want the frame to change when you hover the mouse over the image?

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Fri, 2005-08-05 02:21

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.