On Fri, Oct 7, 2011 at 6:49 AM, Rowe, Dolores A
<[email protected]>wrote:

> We would like to use the capability of $wgAllowExternalImages from
> http://www.mediawiki.org/wiki/Manual:Linked_images#External_image_syntax
>
> however, some of the images we would like to display do not have an
> extension in
> the filename, even though they are *.jpg.  So for example, the *.jpg might
> simply
> be named "StacyPic".
>
> Can you think of any clever way to get around this issue ?  We are using MW
> 1.15.3.
>

You may be able to hack something like sticking '?.jpg' on the end of the
URL -- the ? adds a query string which the server (hopefully) will ignore
but the old $wgAllowExternalImages code will think is an extension.

Better though would be a proper extension for embedding external images,
which could also do nice things like let you set size...

-- brion
_______________________________________________
MediaWiki-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Reply via email to