Yeah, you could do that. Sorry, for some reason I had this vision of
you wanting the browser to render the file, as opposed to calling the
locally installed control. I really ought to think...:P
Rob Church
On 27/09/05, Con Rodi <conrodi(a)vt.edu> wrote:
Not so. You need to change $wgFileExtensions in your
localSettings.php to something like this...
$wgFileExtensions = array( 'png', 'gif', 'jpg', 'jpeg',
'ogg', 'doc',
'pdf', 'txt', 'mov', 'wav' );
That will allow you to upload pdfs. You will need to refer to them
as images, though.
[[Image:something.pdf]] will try to inline the pdf file. This may
not work well in some browsers, and may slow down page loading in all
browsers.
[[:Image:something.pdf]] will create a link to the image page that
actually holds the pdf. From there any browser can download the pdf.
Similar details apply for word documents or others.
Con
On Sep 27, 2005, at 10:47 AM, Rob Church wrote:
PDF is a document, not an image format. As far as
I know, there is
also no server-side control which would allow display of PDF files, so
I have a nasty feeling the answer to both your questions is, "no".
Rob Church
On 27/09/05, Bass, Joshua L <joshua.l.bass(a)lmco.com> wrote:
I would like to allow PDF image uploads and for
these to display as
images.
Is this possible? Is there a setting that controls this?
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)Wikimedia.org
http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)Wikimedia.org
http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)Wikimedia.org
http://mail.wikipedia.org/mailman/listinfo/mediawiki-l