On Wed, Mar 28, 2012 at 10:33 AM, Daniel Renfro <[email protected]>wrote:
> $img = wfLocalFile( $title ); > $params = array( > 'width' => 100, > 'height' => 100, > ); > $thumb = $img->transform( $params ); > > // dump some output to test things > var_dump( > $img->createThumb( 100 ), # /w/images/a/a9/Example.jpg > $thumb->getUrl(), # > /w/images/a/a9/Example.jpg > $thumb->getPath() # > /home/wiki/wiki/images/a/a9/Example.jpg > ); > By any chance do you not have image scaling enabled? It might well be giving you the original image and scaling client-side. -- brion _______________________________________________ Wikitech-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikitech-l
