MyBB.de Forum

Normale Version: nCode Image Resizer
Du siehst gerade eine vereinfachte Darstellung unserer Inhalte. Normale Ansicht mit richtiger Formatierung.
Eine neue Erweiterung wurde veröffentlicht: nCode Image Resizer

Zitat:ncode> home directory.
inc> home directory.

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

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

Find:
Code:
$nestable_mycode['align']['replacement'] = "<div style=\"text-align: $1;\">$2</div>";
Change:
Code:
$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.