Hello,
Rather than uploading images to the wiki, I'd like to link directly to images on our intranet. How do I do that?
I tried appending LocalSettings.php with $wgAllowExternalImages=true; and inserting file:///s:\test.gif into a page. This results in an internal link to the image.
Thanks,
James Streeter
Optiwind
Rather than uploading images to the wiki, I'd like to link directly to images on our intranet. How do I do that?
I tried appending LocalSettings.php with $wgAllowExternalImages=true; and inserting file:///s:\test.gif into a page. This results in an internal link to the image.
Do you mean you'd like to display the image, instead of linking to it?
V/r,
Ryan Lane
Yes, I'd like to display the image. Sorry for being obtuse.
James
-----Original Message----- From: mediawiki-l-bounces@lists.wikimedia.org [mailto:mediawiki-l-bounces@lists.wikimedia.org] On Behalf Of Lane, Ryan Sent: Thursday, June 24, 2010 2:49 PM To: JStreeter@optiwind.com; MediaWiki announcements and site admin list Subject: Re: [Mediawiki-l] Displaying Intranet Images
Rather than uploading images to the wiki, I'd like to link directly to images on our intranet. How do I do that?
I tried appending LocalSettings.php with $wgAllowExternalImages=true; and inserting file:///s:\test.gif into a page. This results in an internal link to the image.
Do you mean you'd like to display the image, instead of linking to it?
V/r,
Ryan Lane
All,
As the wiki is on an intranet, I ended up setting $wgRawHtml=true. Then, I could use the following HTML to insert an image <html><img src="s:\optiwiki-logo.gif"></html>
James Streeter Optiwind
-----Original Message----- From: mediawiki-l-bounces@lists.wikimedia.org [mailto:mediawiki-l-bounces@lists.wikimedia.org] On Behalf Of Lane, Ryan Sent: Thursday, June 24, 2010 2:49 PM To: JStreeter@optiwind.com; MediaWiki announcements and site admin list Subject: Re: [Mediawiki-l] Displaying Intranet Images
Rather than uploading images to the wiki, I'd like to link directly to images on our intranet. How do I do that?
mediawiki-l@lists.wikimedia.org