PDA

View Full Version : editing thumbnail tag in v1.4.3


baking.stoned
01-20-2006, 09:09 PM
my info...

Pixelpost Version
You are running version 1.4.3 of Pixelpost. Released 21 November 2005.
Latest pixelpost version: Check
Looking for help or want to give feedback, please step into pixelpost forum.
www.pixelpost.org/forum/


Host Information
PHP-version 4.4.1 (Pixelpost's min requirement: PHP version 4.3.0)
MySQL version 4.0.25-standard (Pixelpost's min requirement: MySQL 3.23.58)

GD-lib bundled (2.0.28 compatible) with JPEG support

Server software

EXIF Pixelpost is using exifer v1.5 for EXIF information.


Paths
Guessed imagepath: /home/chandlaj/public_html/images/
Configured Imagepath /home/chandlaj/public_html/images/

Image Directory: OK - Can we write to the directory? YES.

Thumbnails Directory: OK - Can we write to the directory? YES.

Language Directory: OK

Addons Directory: OK

Includes Directory: OK

Templates Directory: OK

________________________________

and my problem...
what i'm looking to do is attach a javascript to thumbnails in my archive.
i'm looking to apply the lightbox script found at http://www.huddletogether.com/projects/lightbox/.
i'm not sure where to link to the script, or where to insert tags for each thumbnail.
any tips on how to proceed?

http://www.bakingstoned.com

thanks in advance.

Connie
01-20-2006, 09:46 PM
the thumbnail-output is generated by the index.php
so, if you want to edit that, you might consider that with every update of PP you will have to edit that.


but: as all the thumbnails are links to the big images, how do you want to add another action for the click on the thumbnail?
I see a collision with the code which is generated by the script and links already to the image-template-html with the selected image

lightbox is a seducing nice little script and I use it at other places as well, but I think to integrate it into PP is not completely thought-over...

baking.stoned
01-20-2006, 10:58 PM
i suppose it could be a little tricky.
thanks for your input.
what i'm trying to accomplish is enabling people to view my archived images, without leaving the archive page.
i find it a little annoying sometimes, having to flip back and forth between pages.
it's not too big a deal though if it's going to involve some complex manipulation of coding.
thanks connie!

jbreslow
02-10-2008, 08:02 PM
I would like to modify the thumbnails link and can't find where it's being generated. I've changed a lot of links in the 'index.php' file to try to find the correct location and none of the modifications seem to show on the site. Where is it being generated?

TIA,
Josh

UPDATE: I was finally able to figure out where the link was being generated.

includes\functions_browse.php

(line 144)
$thumb_output .= "<a href=\"$showprefix$id\"><img src=\"$thumbnail\" alt=\"$title\" title=\"$title\" width=\"$local_width\" height=\"$local_height\" class=\"thumbnails\" /></a>";