Picture 2
   Compleat Botanica    Using the software    Specimen    Columns   
 
 
   

Basic specification
 
Visible name Picture file
(Picture 2)
Typical usage The filename of a secondary JPEG or GIF file containing an alternate picture or sketch of the plant.
Visible display type The picture filename is displayed using an unformatted text box.  The file selection button adjacent to the text box helps you to choose the correct picture file.
Data entry view Sketch view

Storage details
 
SQL name PictureFile2
Storage type A text value up to 128 characters in length.
Internal storage If the picture file is in the suggested location for pictures, only the filename and extension are stored; otherwise the full drive, directory, and filename are stored.

Import / export notes

When importing and exporting the column name for this item is PictureFile2.
When importing with the Merge option, the existing value will be completely replaced by the value in the input file.
 
Action File type Notes
Import Delimited file The filename of a GIF or JPEG picture.
XML file ditto
Export Delimited file Exported as it's stored.
XML file ditto

Publication templates

The replacement tag for the picture filename is <cb:PictureFile2>. The possible attributes for this tag are shown below. Values marked with an asterisk are used by default.
 
Attribute Possible values Notes
text on * Show this filename as it's stored.
off Replace this tag with nothing.

The replacement tag for the picture itself is <cb:Picture2>. The possible attributes for this tag are shown below. Values marked with an asterisk are used by default.
 
Attribute Possible values Notes
graphics on * Insert the picture into the HTML document.
off Show the filename instead of the picture.
thumbnail on * Place the picture using the dimensions specified in the width and height attributes.
off Place the picture full size.
width no default If only the width is specified, compress or expand the picture to that width and set the height using the correct aspect ratio.

If only the height is specified, compress or expand the picture to that height and set the width using the correct aspect ratio.

If both the width and height are specified, stretch the picture to those dimensions.

If neither are specified, set the height to 60, and compress the picture width using the correct aspect ratio.

height no default

 

For similar pages in the "Specifications" series see:

   Alphabetical index to column specifications

 

For an index to other topics see

   Specimen

 

Last reviewed March 25, 2004   

 

  Order your copy here