WSN Links
Featuresspacer Showcasespacer Reviewsspacer Demosspacer Purchasespacer Manualspacer Support

Register | Forgot Password
Attachment variables
Attachment variables
By Paul

{ATTACHFILENAME} - The filename on disk of the attached file.
{ATTACHFILETITLE} - The readable submitted file name of the attachment, suitable for display.
{ATTACHDOWNLOADS} - The number of times the attached file has been downloaded.
{ATTACHKB} - Size of attachment in KB.
{ATTACHWIDTH} - The width of image attachments in pixels.
{ATTACHHEIGHT} - The height of image attachements in pixels.
{ATTACHISIMAGE} - Tells if it's an image or not, for use in conditionals.
{ATTACHTHUMBURL} - The location of the thumbnail for an attached image, for use within an <img src> tag to display a thumbnail.
{ATTACHDOWNLOADURL} - The URL to click to download the attachment, for use within an <a href> tag.
-- Optional parameter: direct. {ATTACHDOWNLOADURL[direct]} will give the actual URL of the source image on disk instead of the download.php version.
{ATTACHDATE} - The date/time of the attachment. Accepts usual date parameter.
{ATTACHEXTENSION} - The file extension of the attachment.
{ATTACHFILEPATH} - The path to the file.

Note that attachment variables can be used either in toplists of attachments or within <!-- BEGIN LINK ATTACHMENTS --> areas.

Rating:


0/5 based on 0 votes. The median rating is 0.

Submitted: 03/04/06 (Edited 12/10/07)

Description: Template variables for use with attachments.

Views: 732 views. Averaging 1 per day.
In the most recent 30 day period, there've been 0 views.

Previous Article | Next Article

Home    |    Features    |    Showcase    |    Reviews    |    Demos    |    Purchase    |    Manual    |    Support