![]() |
Using the template mod with:
<a target="_blank" href="attachment.php?$session[sessionurl]attachmentid=$attachment[attachmentid]&stc=1&d=$attachment[dateline]" rel="lytebox"> <img class="attach" src="attachment.php?$session[sessionurl]attachmentid=$attachment[attachmentid]&stc=1&d=$attachment[dateline]" border="0" alt="" /> </a> that mod RULEZ! Can I have the img in PSD or similar to translate it in italian? Just a lil suggest, can you add a code to resize image that are linked and are more big then a specified size? to see it in full size just click on it to show it in Lytebox |
Ok i do it!
Follow that instructions to enable the autoresieze of images that are linked directly: follow that instructions ONLY AFTER installed "Image Resize using Lytebox" and edit file includes/class_bbcode.php Edit file clientscript/lytebox.js and ADD at end of file: Code:
/* Code:
return '<a target="_blank" href="' . $link . '" rel="lytebox"><img src="' . $link . '" border="0" alt="" /></a>'; Code:
return '<a target="_blank" href="' . $link . '" rel="lytebox"><img onload="rfrs(this, 200, 200)" src="' . $link . '" border="0" alt="" /></a>'; Note: to change max width and max height for resize, just change the value in includes/class_bbcode.php at rfrs(this, 200, 200) |
sorry... i do an useless work...
BTW i see that if i've an image with a link, the link doesn't goes anymore Like i've: [ url=http://www.domain.com/my/home/page.html][img ]http://www.domain.com/img.jpg[/img][/url] with that plugin that link is replaced with the Lytebox link |
I have a problem with this modification on a clients website. If I have it on, it alters a gif that I manually placed into his postbit template for an ad after the first post. Any ideas on a way around this?
|
I noticed, that this isn't working for me with IE6 ? Only in Firefox, Opera and IE7. Also my users have the same problem with the IE6. Can someone confirm that this is not running with IE6 ? Someone knows a solution for this ??
|
works great, maybe little slow but works! and looks good!
|
thanks is this very beatiful hacks :)
|
No one has Problems with IE6 ? For me it does not resize the images, but adds the link on the image and I also can click on it and it shows again the image in original size.
|
@Lost Heaven: Demo gì mà die vậy trời? Chơi vbseo bản quyền ko vậy? hehe
This mod quite good. |
very nice mod. Is there a way to show the fullsize image (not resized by this mod) if the user uses the [ATTACH] tags? Otherwise, this mod is perfect.
|
All times are GMT. The time now is 03:51 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:
|