Thread Rating:
  • 1 Vote(s) - 1 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[For 1.6] nCode Image Resizer
#1
Photo 
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: 218)
  • 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
Reply


Messages In This Thread
nCode Image Resizer - by bomfile - 2010-11-15, 09:52 PM
RE: nCode Image Resizer - by Omar G. - 2012-12-10, 01:40 AM
RE: nCode Image Resizer - by martec - 2012-12-10, 02:48 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)