attachment_image
Usage: array attachment_image (int attachmentid [, bool override_perms])
Purpose: Returns the HTML code for an image attachment.
Availability: IPB SDK 1.5
Purpose: Returns the HTML code for an image attachment.
Availability: IPB SDK 1.5
Returns the HTML code for image attachment attachmentid.
If the attachment attachmentid does not exist, or it is not an image FALSE will be returned.
If override_perms is set to TRUE, then the function will return the code even if the attachment is unapproved.
Information will be returned in the following array structure:
// For example, if you wanted to display attachment 32...
echo $SDK->attachment_image(32);
// If you wanted to display the unapproved attachment 61
echo $SDK->attachment_image(61,TRUE);
echo $SDK->attachment_image(32);
// If you wanted to display the unapproved attachment 61
echo $SDK->attachment_image(61,TRUE);
See Also: attachment_info,
attachment_thumb
User Contributed Notes
Documentation Generated at Sat, 16 Apr 2005 07:36:35 -0700
Find the latest version at http://ipbsdk.sourceforge.net
There are currently no user contributed notes for this page.