Quote:
Originally Posted by MissKalunji
I found it
in class_bbcode
Code:
$replace[] = "<a href=\"{$this->registry->options['bburl']}/attachment.php?{$this->registry->session->vars['sessionurl']}attachmentid=\\1&d=$attachment[dateline]\" $addtarget><img src=\"{$this->registry->options['bburl']}/attachment.php?{$this->registry->session->vars['sessionurl']}attachmentid=\\1&thumb=1&d=$attachment[thumbnail_dateline]\" class=\"thumbnail\" border=\"0\" alt=\""
Search for
and replace it with :
Code:
$replace[] = "<a href=\"{$this->registry->options['bburl']}/attachment.php?{$this->registry->session->vars['sessionurl']}attachmentid=\\1&d=$attachment[dateline]\" $addtarget class=\"highslide\" onclick=\"return hs.expand(this)\"><img src=\"{$this->registry->options['bburl']}/attachment.php?{$this->registry->session->vars['sessionurl']}attachmentid=\\1&thumb=1&d=$attachment[thumbnail_dateline]\" class=\"thumbnail\" border=\"0\" alt=\""
.
I've put in bold all i added to make it work.
Thanks!
|
Could ask a question please!
A long shot maybe, would you happen to know how to get that solution to work with 3.8.1, the lightbox that comes with 3.8 has a habit of not displaying attachments at 100% causing the images to be out of focus. This mod is fantastic when handling the img bbcode tags, I'd be over the moon if this mod could handle attached images as well.