Option Array information display entries

alttag => format string
subtitle => format string

alttag

This defines the text displayed in the images ALT and TITLE tags. The default ALT tag is set to a directory / image name. You compose it by submitting a format string with it.

subtitle

This defines the text to include under the image. What is displayed is defined by the format string you compose using the placeholders shown below.

The $format string

The format string can be used in many places. It can be used to specify alt tags, subtitles. See the docs for that function for what placeholders you can use. For example, %S will be replaced by the filesize in KB rounded off, while %t will be replaced with the title given to the image:

Example?6.2.?Examples of using the format string

Format string:   This image was named %t
Result title is:     This image was named Sunrise over my beer

Format string:    The full size version is %S KB
Result title is:      The full size version is 101.5 KB

Format string:     Image %t is %S KB.
Result title is:       Image Sunrise over my beer is 101.5 KB

Available placeholders:

%a - album name it belongs in
%A - Message Author
%c - caption for the media
%C - Message Body
%d - album description
%D - days old: returns # of days since the photo was added
%e - display owners E-Mail (as of 1.5.1)
%f - filename of the media
%h - Total number of views or hits for the media
%H - display owners web site or (H)ome page (as of 1.5.1)
%i - shows the PID of that image
%I - display owners (I)nterests (as of 1.5.1)
%l - display owners (l)ast visit (lower case L) (as of 1.5.1)
%L - display owners (L)ocation (as of 1.5.1)
%o - owner name for the media
%O - display owners occupation (as of 1.5.1)
%p - filepath of the media
%r - display owners (r)egistration date (as of 1.5.1)
%s - filesize in bytes
%S - filesize in KB rounded to one decimal place
%t - title given to the media
%v - total number of votes cast for this photo
%V - the current rating in number of stars to one decimal place
%w - when added (reformatted ctime field)
%W - raw Ctime field data (seconds)
%x - shows the photos width of image as stored on server
%y - shows the photos height of image as stored on server