Add a Download Link v1.4: Documentation

Anycontent on Home page only

What's this?

This plugin will add a button for vistors to download the full-size picture.

Install

Install through plugin manager. No extra steps are needed.

Uninstall

Uninstall via plugin manager

Configuration

  1. Show download link in categories that match this regular expression

    If the download link should not be shown in all categories but only in some, you can achieve this with this setting: Set it to a regular expression to match the categories where you want the download link to be shown. In other categories it will not be shown. If you are not familiar with regular expressions, use /.*/ for all, or something like /^(Cat 1|Cat 2|Another Cat)$/ to list a couple of categories.
  2. Show download link to logged users only

    Set to yes if you do not want unregistered visitors to see the Download link. Default is all vistors.
  3. Place the download link at what position in the picture page?

    Determine where you want the download link to be placed within the picture page. Options are:
  4. HTML attributes for surrounding <span> element

    Add the specified text to the <span> element which surrounds the download link. This can be used to add CSS properties for customizing the layout, e.g.: style="display: block; padding-top: 0.1em; text-align: center;"
  5. Link for what picture size?

    Determine what picture size the download link is supposed to download to the user. Options are:
  6. Use Content-Disposition to Save As

    Set to yes if you want the link to suggest the browser to save the file. In the background this works via a header called Content-Disposition and should woth with any modern browser. Set to no if you want the link to open the full size picture in a new browser window.
  7. Credits

    To do