![]() |
Modifying the album_picturebit template to create a lightbox effect
1 Attachment(s)
I'm wanting to get the highslide javascript image viewer (http://vikjavev.no/highslide/) to work in my vbulletin albums. It currently works for post attachments in threads, but I can't seem to to get this to work. I'm sure its juse because I am failing to structure it properly.
This is the suggested structure given by the highslide documentation: Code:
<a id="thumb1" href="images/full-image.jpg" class="highslide" onclick="return hs.expand(this)"> Code:
<table style="width:{$picturebit_width}px; height:{$picturebit_height}px; margin:5px; float:$stylevar[left]" border="0" cellspacing="0" cellpadding="0"> Code:
<a href="attachment.php?$session[sessionurl]attachmentid=$attachment[attachmentid]&d=$attachment[dateline]" rel="Lightbox" id="attachment$attachment[attachmentid]"<if condition="$show['newwindow']"> target="_blank"</if>><img class="thumbnail" src="attachment.php?$session[sessionurl]attachmentid=$attachment[attachmentid]&stc=1&thumb=1&d=$attachment[thumbnail_dateline]" border="0" alt="<phrase 1="$attachment[filename]" 2="$attachment[counter]" 3="$attachment[filesize]" 4="$attachment[attachmentid]">$vbphrase[image_larger_version_x_y_z]</phrase>" /></a> Code:
<!-- BEGIN TEMPLATE: postbit_attachmentthumbnail --> The post thumbnail highslide feature is done by this now dead mod: https://vborg.vbsupport.ru/showthread.php?t=139167 Attached is the xml file if anyone wishes to look at it and maybe offer me a suggestion. I would be grateful with any assistance someone can offer with getting this to work. |
Sorry for bumping this.
Any suggestions? Or even a new direction I should go in? |
You could probably use Thickbox highslide for this somewhat easily, you'd just need to tinker with the template code to parse/add in the path variables on the fly. An example of thickbox is here, on a site I threw up for a luthier friend of mine:
http://www.sherman-customs.com/ Same as any other HS and a breeze to set up. |
I am also very interested in getting this integrated. Any luck? This would made a great mod!
|
All times are GMT. The time now is 04:43 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|