![]() |
highslide for IMG BBCODE
Anyone have a hack for using the highslide stuff with IMG tags?
|
yeah this would be cool to :)
|
bump
|
From my post in the Highslide thread:
https://vborg.vbsupport.ru/showpost....&postcount=392 You can add an additional [img] tag in BBCode, and it will get parsed in place of your regular img code. Once you have Highslide installed and working for Attachments, here is what I did (not pretty, very rudamentary, but working!): In AdminCP>Custom BB Codes> BBCode Manager, scroll to bottom and click Add New. Title: Image Tag: img Replacement: HTML Code:
<a href="{param}" class="highslide" onclick="return hs.expand(this,{slideshowGroup:'$post[postid]'})" target="_blank"><img src="{param}" width="100"></a> Description: (Whatever you want) Note: I added another BBCode called imgsmall which does NOT use highslide. I use this for instructions, etc, where the image itself is smaller than 100px, so it would make no sense to have a thumbnail for it. I use the following replacement code: HTML Code:
<img src={param} border=0> |
<a href="https://vborg.vbsupport.ru/showthread.php?t=150491&page=47" target="_blank">https://vborg.vbsupport.ru/showt...150491&page=47</a>
|
Quote:
|
Quote:
|
Did you guys check that link I sent? The mod I'm working on there does images with highslide also.
|
I am following this with much interest. I hope you find a way to make it less rudamentary.
|
Elenna, this works like a dream.:up: Thanx for your assistance in this one.:D
-PB |
All times are GMT. The time now is 02:49 PM. |
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:
|