View Full Version : Photoblink help please
rooster
01-03-2008, 10:06 PM
hi all
i cant work out for the life of me how to remove the [] characters from around the current displayed thumb???
http://i108.photobucket.com/albums/n23/fatlace/Picture1.png
can anyone point me in the right direction please. i did search the forum and found someone else with this issue but it wasnt resolved
http://www.pixelpost.org/forum/showthread.php?t=1642&page=3&highlight=photoblink
thanks in advance!
fredxeric
01-03-2008, 10:18 PM
tell us the URL of your site.... will see
rooster
01-04-2008, 12:27 AM
oops sorry
http://unlaced.org
thanks fred-eric.
dakwegmo
01-04-2008, 01:20 AM
On line 97 of photoblink 1.0 you should see:
$curret_thumb_pb = "<a href='$showprefix$image_id' onmouseover=\"return overlib('<img src=\'thumbnails/thumb_$image_name\' title=\'".$image_title."\' / >', CAPTION, '$image_title', WIDTH, '".$cfgrow['thumbwidth']."',BGCOLOR, '#333366', FGCOLOR, '#000', RIGHT);\" onmouseout=\"return nd();\" >[<img src='thumbnails/thumb_$image_name' height='28px' alt='tiny thumbs'/>]</a>";
Change it to:
$curret_thumb_pb = "<a href='$showprefix$image_id' onmouseover=\"return overlib('<img src=\'thumbnails/thumb_$image_name\' title=\'".$image_title."\' / >', CAPTION, '$image_title', WIDTH, '".$cfgrow['thumbwidth']."',BGCOLOR, '#333366', FGCOLOR, '#000', RIGHT);\" onmouseout=\"return nd();\" ><img src='thumbnails/thumb_$image_name' height='28px' alt='tiny thumbs'/></a>";
rooster
01-04-2008, 02:44 AM
thanks so much dakwegmo!
one more little question.. how can i change thumbnail size (before mouseover) ?
dakwegmo
01-04-2008, 03:25 AM
You're welcome.
It's probably based on the size indicated in admin->options->thumbnails.
rooster
01-04-2008, 04:21 PM
Thanks dakwegmo but size indicated in admin->options->thumbnails controls thumbnail size on mouseover... I though want to change thumbnail size before mouseover. Any ideas anybody?
I also want to remove the borders from thumbnails and cannot figure how to do this.
dakwegmo
01-04-2008, 04:41 PM
Ah, I see. Photoblink doesn't actually resize the image, it just manipulates the height attributes specified in the img tag. Go through photoblink_thumbs.php and find each instance of height='28px' and change 28 to whatever you want the height to be. You would need to edit the width of the #thumbnails div in your CSS file(s) .
rooster
01-04-2008, 05:13 PM
dakwegmo you're a star! thanks so so much..
one more question....any idea how to remove the borders around my thumbnails?
dakwegmo
01-04-2008, 06:20 PM
The easiest way would be with a CSS rule.
Something like
#thumbnails a img {
border-style: none;
}
rooster
01-04-2008, 07:37 PM
champion!! thanks so much dakwegmo you've helped so much really appreciate it
dakwegmo
01-04-2008, 07:52 PM
It's the background color for the photobox layer (#photobox).
Currently it's #f0eeee.
rooster
01-05-2008, 06:59 AM
again thanks for all your help man.. really appreciate it.
Gabe001
02-16-2008, 07:14 PM
Can someone please help me remove the brackets [] on my first image thumbnails when using photoblink . I looked in the php code but couldn't find it could be. I tried admin -> options -> thumbnails but it didnt seem to help any. Im a newbie to pixelpost and found someone using photoblink and I thought it was really cool.
Please help, Thanks.
http://www.gabrielchung.com
fredxeric
02-16-2008, 09:13 PM
¨between <div id="thumbnails"> and the next </div> there is some [ ] braket just remove it from the image_template.html
<div id="thumbnails" style="left:872px;">
<a href='index.php?showimage=2' onmouseover="return overlib('<img src=\'thumbnails/thumb_20080215044508_statues.jpg\' title=\'Statues\' />', WIDTH, '125',BGCOLOR, '#000', FGCOLOR, '#000', LEFT, ABOVE);" onmouseout="return nd();" ><img src='thumbnails/thumb_20080215044508_statues.jpg' height='30px' width='40px' alt='tiny thumbs'/> </a> <a href='index.php?showimage=6' onmouseover="return overlib('<img src=\'thumbnails/thumb_20080216085817_nyfall.jpg\' title=\'Fall\' / >', WIDTH, '125',BGCOLOR, '#000', FGCOLOR, '#000', LEFT, ABOVE);" onmouseout="return nd();" >[<img src='thumbnails/thumb_20080216085817_nyfall.jpg' height='30px' width='40px' alt='tiny thumbs'/>]</a>
</div> <!-- thumbnails -->
Gabe001
02-17-2008, 05:37 PM
¨between <div id="thumbnails"> and the next </div> there is some [ ] braket just remove it from the image_template.html
<div id="thumbnails" style="left:872px;">
<a href='index.php?showimage=2' onmouseover="return overlib('<img src=\'thumbnails/thumb_20080215044508_statues.jpg\' title=\'Statues\' />', WIDTH, '125',BGCOLOR, '#000', FGCOLOR, '#000', LEFT, ABOVE);" onmouseout="return nd();" ><img src='thumbnails/thumb_20080215044508_statues.jpg' height='30px' width='40px' alt='tiny thumbs'/> </a> <a href='index.php?showimage=6' onmouseover="return overlib('<img src=\'thumbnails/thumb_20080216085817_nyfall.jpg\' title=\'Fall\' / >', WIDTH, '125',BGCOLOR, '#000', FGCOLOR, '#000', LEFT, ABOVE);" onmouseout="return nd();" >[<img src='thumbnails/thumb_20080216085817_nyfall.jpg' height='30px' width='40px' alt='tiny thumbs'/>]</a>
</div> <!-- thumbnails -->
Thanks you so much fred, I donno how I missed those brackets there. I've been looking all over.
vBulletin® v3.7.3, Copyright ©2000-2013, Jelsoft Enterprises Ltd.