Extension talk:Download

From Organic Design wiki
Revision as of 16:33, 25 August 2008 by Phalseid (talk | contribs) (Done: looks like it is working fine, i will need some changes, will discuss here shortly...)

{{#security:*|Nad}} need quote for extension that has similar functionality to the

<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>

tag will be

<download>
Image:Item1.pdf|An adobe document
Image:Tem2.doc|A Word Document
...
</document>

action on clicking the thumbnail link will cause it to be downloaded (based on server config and handling) not a jump to the article containing that image.

  • the extension will have an array that 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.
  • the file names for the extension thumb nails will be the extension.ext
  • thumbnail images hey will not be uploaded, they will be in the /extensions/download/images folder
there's no need for an array if you're using extension.ext convention. If you do use an array you may as well allow any image path for each extensionm that way you can re-use the existing icon images. --nad 09:05, 20 August 2008 (NZST)
fine. emailed you some sample images in ext.ext format. note, some are 2 characters, some are 4, etc. --Phalseid 06:30, 21 August 2008 (NZST)
  • I can do it for US$150

Done

Extension is up and running, a few notes though:

  • images must be 16x16 pixels can't use scaling, the current ones are 48x48 so don't work properly
  • 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
looks like it is working fine, i will need some changes, will discuss here shortly...--Phalseid 04:33, 26 August 2008 (NZST)