Another quick fix, now for albums.
Create a new plugin in this hook:
parse_templates
Put this for plugin content:
PHP Code:
if (THIS_SCRIPT == 'album') {
$vbulletin->templatecache['album_pictureview'] = str_replace('\" alt=\"', '\" onload=\"NcodeImageResizer.createOn(this);\" alt=\"', $vbulletin->templatecache['album_pictureview']);
}
if (THIS_SCRIPT == 'group') {
$vbulletin->templatecache['socialgroups_picture'] = str_replace('\" alt=\"', '\" onload=\"NcodeImageResizer.createOn(this);\" alt=\"', $vbulletin->templatecache['socialgroups_picture']);
}
In that way, the img tag in album pictures is successful modified and the ncode part is added.
I think, again, that this could be added in some part of the original plugins to alter based in a this_script conditional. But, again, i'm too lazy to keep testing.
And, again, feel free to use this ideas-code, Jase2.
Benefits: you now can setup a high limit for width and height to album pictures, and not deform your website layout when show those big images. And allow members to click to see the full image, and keep them... wallpapers, for example.
Greetings