|
#1
|
||||
|
||||
|
comment popup
in the popup, i have it set to display a thumbnail and descriptions, but here is the thing
1) thumnail size, i really want to make it a larger thumbnail withough having to change all the others on the site 2) image links, the image thumbnail automatically links what would be the best way to take care of these two? i just cant think it up for some reason... thanks
__________________
i should say more clever stuff |
|
#2
|
||||
|
||||
|
The size: there's no way to scale it up, but you can scale down from the original image using width and height tags. Not the best solution, but will work.
To have it not linking. <img src="thumbnails/thumb_<IMAGE_NAME>"> will do the trick. The thumbnails are named exactly as it's parent, but with a thumb_ in front of the name. So the above link will work. // punK
__________________
icq: 66760929 |
|
#3
|
||||
|
||||
|
darn, we'll have to figure that thumbnail thing out...i was just hoping there would be an easy way...haha
prob have to add a thumnail2 tag or something...lol thanks
__________________
i should say more clever stuff |
|
#4
|
|||
|
|||
|
smaller thumbs
I was able to shrink the thumbnail on the calendar archive page (This may not matter, but I should mention that I used the addon that seperates the design and structure here )
open: addons/archivecalendar.php Find Code:
// calculate the width of the table Code:
$punkthumbsmalldwidth = $thumbnails_set_width *.75; $punkthumbsmalldheight = $thumbnails_set_height *.75; find Code:
$imagelink .= "<img src='thumbnails/thumb_".$curr_image_name."' border='0' class='thumbnail' width='$punkthumbsmalldwidth' height='$punkthumbsmalldwidth' />"; Code:
$imagelink .= "<img src='thumbnails/thumb_".$curr_image_name."' border='0' class='thumbnail' width='".$thumbnails_set_width."' height='".$thumbnails_set_height."' />"; |
| Post Reply |
| Thread Tools | |
|
|