MyBB Community Forums
[For 1.6] nCode Image Resizer - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: Extensions (https://community.mybb.com/forum-201.html)
+--- Forum: Plugins (https://community.mybb.com/forum-73.html)
+---- Forum: Plugin Releases (https://community.mybb.com/forum-102.html)
+---- Thread: [For 1.6] nCode Image Resizer (/thread-82261.html)



nCode Image Resizer - bomfile - 2010-11-15

Plugin Name: nCode Image Resizer
Plugin Description: This plugin enables you to automatically resize every user-posted image which is larger than given dimensions.
Plugin Author: Bomfile

Installation

.zip   nCode Image Resizer.zip (Size: 7.54 KB / Downloads: 163)
  • Download the attached files.
    ncode> home directory.
    inc> home directory.

  • inc/class_parser.php edit:
    Find:
    <img src=\"{$url}\" border=\"0\" alt=\"{$alt}\"{$css_align} />
    Change:
    return "<img src=\"{$url}\" border=\"0\" alt=\"{$alt}\"{$css_align} onload=\"NcodeImageResizer.createOn(this);\"/>";

    Find:
    return "<img src=\"{$url}\" width=\"{$dimensions[0]}\" height=\"{$dimensions[1]}\" border=\"0\" alt=\"{$alt}\"{$css_align} />";
    Change:
    return "<img src=\"{$url}\" width=\"{$dimensions[0]}\" height=\"{$dimensions[1]}\" border=\"0\" alt=\"{$alt}\"{$css_align} onload=\"NcodeImageResizer.createOn(this);\" />";

    Find:
    $nestable_mycode['align']['replacement'] = "<div style=\"text-align: $1;\">$2</div>";
    Change:
    $nestable_mycode['align']['replacement'] = "<div align=\"$1\">$2</div>";

  • Admin Cp>Configuration>Plugins>nCode Image Resizer>Activate.
  • Admin Cp>Configuration>Settings>nCode Image Resizer Settings.

[Image: 71780403.png]
[Image: 69949250.png]

DOWNLOAD:
http://mods.mybb.com/view/ncode-image-resizer


RE: nCode Image Resizer - Omar G. - 2012-12-10

Thread approved.


RE: nCode Image Resizer - martec - 2012-12-10

(2010-11-15, 09:52 PM)bomfile Wrote: [*]inc/class_parser.php edit:
Find:
<img src=\"{$url}\" border=\"0\" alt=\"{$alt}\"{$css_align} />
Change:
return "<img src=\"{$url}\" border=\"0\" alt=\"{$alt}\"{$css_align} onload=\"NcodeImageResizer.createOn(this);\"/>";

this is correct?

not will be
<img src=\"{$url}\" border=\"0\" alt=\"{$alt}\"{$css_align} onload=\"NcodeImageResizer.createOn(this);\"/>
?


RE: nCode Image Resizer - edusuliano - 2012-12-10

i',ve installed and unnistalled this plugin... i've deleted all files in filezilla... but still apearing in

Admin Cp>Configuration>Settings>nCode Image Resizer Settings.


how i can fix it???

thx!