21.11.2010, 06:35
(Dieser Beitrag wurde zuletzt bearbeitet: 26.08.2014, 09:53 von MyBB.de Bot.)
Eine neue Erweiterung wurde veröffentlicht: nCode Image Resizer
Zitat:ncode> home directory.
inc> home directory.
[*]inc/class_parser.php edit:
Find:
Change:Code:<img src=\"{$url}\" border=\"0\" alt=\"{$alt}\"{$css_align} />
Code:return "<img src=\"{$url}\" border=\"0\" alt=\"{$alt}\"{$css_align} onload=\"NcodeImageResizer.createOn(this);\"/>";
Find:
Change:Code:return "<img src=\"{$url}\" width=\"{$dimensions[0]}\" height=\"{$dimensions[1]}\" border=\"0\" alt=\"{$alt}\"{$css_align} />";
Code:return "<img src=\"{$url}\" width=\"{$dimensions[0]}\" height=\"{$dimensions[1]}\" border=\"0\" alt=\"{$alt}\"{$css_align} onload=\"NcodeImageResizer.createOn(this);\" />";
Find:
Change:Code:$nestable_mycode['align']['replacement'] = "<div style=\"text-align: $1;\">$2</div>";
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.