Hey, > $file = wfFindFile( 'Foobar.jpg' ); > $thumb = $file->transform( array( 'width' => 200 ) ); > if ( $mto && !$mto->isError() ) { $url = $mto->getURL(); } else { /* Handle error */ }
I tried your code, and now all my images are "FOOBAR". It does not work! More seriously though: I updated my code to use this indeed better way to get the thumb ( http://dpaste.org/XIr5W/ ), but the problem appears to be completely unaffected :/ Cheers -- Jeroen De Dauw http://www.bn2vs.com Don't panic. Don't be evil. -- _______________________________________________ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l