Extension talk:Download

From Organic Design wiki

{{#security:*|Nad}}

This extension allows you to download images or files that have been uploaded to the wiki with a single click.

Action on clicking the thumbnail link causes the file to be downloaded or opened (based on server config and handling), not a jump to the article containing that image.

The normal behavior for clicking on images/files is to take you to the associated article page for that image. This tag changes that behavior. The syntax is similar to the Gallery tag used to display a gallery of images in MediaWiki.

<gallery>
Image:Wikipedesketch1.png|The Wikipede
Image:Wikipedesketch1.png|A Wikipede
Image:Wikipedesketch1.png|Wikipede working
Image:Wikipedesketch1.png|Wikipede's Habitat 
Image:Wikipedesketch1.png|A mascot for Wikipedia
Image:Wikipedesketch1.png|One logo for Wikipedia
Image:Wikipedesketch1.png|Wikipedia has bugs
Image:Wikipedesketch1.png|The mascot of Wikipedia
</gallery>
<download>
Image:Item1.pdf|An adobe document
Image:Tem2.doc|A Word Document
</document>


The extension automagically handles the thumbnailing of images/document by their type. and will render a thumbnail based on the extension type. For example, if the extension ends in .pdf, it will render a thumbnail of a pdf, etc.


Installation

  • thumbnail images are not uploaded, they need to be placed the /extensions/download/images folder
  • the file names for the extension thumb nails will be the extension.ext
  • you can supply an additional icon called default.gif which it falls back to if no matching icon
  • if there's no matching icon and no default icon either, it just displays a normal link
  • any of the icons including the default can be gif, jpg or png


Troubleshooting

  • MIME types
  • Server settings