Difference between revisions of "Template:ScaleImage"

From Wythepedia: The George Wythe Encyclopedia
Jump to: navigation, search
Line 1: Line 1:
<includeonly>[[File:{{{imagename}}}|{{{newwidth}}}px|{{{caption}}}]]</includeonly>
+
<includeonly>[[File:{{{imagename}}}|{{#expr {{#imgw: {{{imagename}}} }} * {{{newwidth}}} / 100 round 0 }}px|{{{caption}}}]]</includeonly>

Revision as of 17:42, 1 October 2013