Quote:
Originally Posted by Arjan
This mod works just fine with the IMG tags for me.
But with the embedded attachments it does not work for me. The embedded attachments stay the original size.
When I look in the HTML code, I see "onLoad" added to the IMG tag for the IMG BB-code but not for the embedded attachments.
Here you can see it in one post: external image is resized, attachment stays original size:
http://www.nederlandseluchtvaart.nl/....html#post4081
Tested on my other site: Same issue:
http://www.simmerspaintshop.com/foru...size-test.html
Any clue what is going wrong here?
|
Meanwhile installed the new version on the second site. and tried TCattd mode. Embedded attachments are still not downsized
Tried turning off CMPS and vbSEO, but problem is still there.
Disabled PassiveVid, no avail.
As a test and possible quick and dirty fix I tried to put onload="NcodeImageResizer.createOn(this);" into the class_bbcode.php in this line
PHP Code:
$replace[] = "<img src=\"{$this->registry->options['bburl']}/attachment.php?{$this->registry->session->vars['sessionurl']}attachmentid=\\1&d=$attachment[dateline]\" border=\"0\" alt=\""
I tried a few different ways, but the all cause errors. Can someone tell me what the line should look like with onload="NcodeImageResizer.createOn(this);" in it?