If you have trouble getting thumbnailing to work, you can disable the
server-side resizing by setting in LocalSettings.php:

  $wgUseImageResize = false;

This isn't ideal if your images are large photos because they'll be
downloaded at full size to the web browser, but if your images are roughly
screen-sized that should get you working for now.

-- brion

On Wed, Feb 4, 2015 at 2:47 PM, Brenton Horne <[email protected]>
wrote:

> Thanks, Arcane it worked perfectly. Do you know of any similar extension
> for JPGs and other bitmap image formats as my Wiki is having similar
> problems with these image formats too?
>
> PS I've made some inquiries about the Jmol extension with the author
> (NicoV) mentioning your and my difficulties (
> https://www.mediawiki.org/wiki/Extension_talk:Jmol).
>
> On 5 February 2015 at 08:17, Arcane 21 <[email protected]> wrote:
>
> > If you just need quick and dirty clientside SVG rendering, try this
> > extension:
> >
> > https://www.mediawiki.org/wiki/Extension:NativeSvgHandler
> >
> > Even if you don't have any other SVG renderer enabled, it pipes the
> output
> > through your browser's SVG renderer as a middleman, which, unless you
> have
> > a browser that belongs in a museum, will work fine 100% of the time.
> >
> > > Date: Thu, 5 Feb 2015 05:04:16 +1000
> > > From: [email protected]
> > > To: [email protected]
> > > Subject: [MediaWiki-l] Inkscape for SVG thumbnailing
> > >
> > > Hi,
> > >
> > > I'd like to know how I can use Inkscape for SVG thumbnailing on my
> > Windows
> > > 7 OS with a MediaWiki installation. Inkscape's files are located at
> > > C:\Program Files (x86)\Inkscape. My efforts to date (mostly based on
> > > Manual:$wgSVGConverters and other MediaWiki manual pages) have failed.
> > > Currently my LocalSettings.php file's SVG-related settings are:
> > >
> > > # Image Converter
> > > > $wgSVGConverter = 'Inkscape';
> > > > $wgSVGConverters = array(
> > > >     'Inkscape' => '"$path/inkscape.exe" -z -w $width -f $input -e
> > $output',
> > > > );
> > > > # Image converter path
> > > > $wgSVGConverterPath = '/Program Files (x86)/Inkscape';
> > >
> > >
> > > This gives the following error (which appears in the thumbnail's
> place):
> > >
> > > > Error creating thumbnail: '""' is not recognized as an internal or
> > > > external command,
> > > > operable program or batch file.
> > >
> > >
> > > The reason I'd like Inkscape as my SVG thumbnailer in particular is
> > because
> > > I sometimes use SVGs that are only correctly rendered by Inkscape (I
> know
> > > that Wikia's thumbnailer (whatever it might be) frequently makes
> > rendering
> > > errors with these SVGs, e.g., see
> > >
> >
> http://health-and-medicine.wikia.com/wiki/File:Symptoms_of_Hodgkin_lymphoma.svg
> > > and all the black spots that appear in it.
> > >
> > > Thanks for your time,
> > > Brenton
> > > _______________________________________________
> > > MediaWiki-l mailing list
> > > To unsubscribe, go to:
> > > https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
> >
> > _______________________________________________
> > MediaWiki-l mailing list
> > To unsubscribe, go to:
> > https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
> >
> _______________________________________________
> MediaWiki-l mailing list
> To unsubscribe, go to:
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>
_______________________________________________
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Reply via email to