XBorder Properties
Each simple XBorder filter consists of a series of properties that control
the appearance of the generated frame. Please see the XBorder
overview for more information.
The table below lists each of the XBorder properties, grouped by category
and linked to the detailed information in the property list
that follows. The category headings are linked to more information about
the property category.
Note: The ‘closeups’ and ‘thumbnails’ properties have no effect
in .xbp files!
Setup Properties
Setup properties apply to the filter as a whole. Setup properties are specified
on the BluPlusPlus-General
tab in BPP; when used in a skin
that does not directly support XBorder via its user interface these parameters
must be used in a uservariable ‘filterN’ set on the JAlbum
Advanced-User Variables tab. In this case the class parameter must
be used (‘class=XBorderFilter’).
Background Properties
Background properties specify color, external file, and offsets for backgrounds.
| Property: |
bgFile |
 |
| Purpose: |
Specifies the path to a background file intended
to appear within a frame, or behind a shadow, clipped border, or
clipped frame |
| Values: |
URL or path on a computer to a jpeg, png, or gif image file to be
used as a background |
| Default: |
no background |
| Notes: |
Frames are considered to be opaque, and the
default color is white; to be able to see a background file,
the frame must be made transparent using the frTrans property
The path to a background file must be relative to the BluPlusPlus-->borders
folder. |
| Example: |
bgFile=(relative path to wood.jpg)
frTrans=100,0
frWidth=20,5
frCol=white |
 |
Both
frames are white, but the outer 20-pixel frame was made transparent so
that the wood shows through |
Border Properties
Border properties create bands of color on the inside of images.
When multiple border bands are specified, the bands are created from the
outside in; that is, the first band specified is the outermost band.
| Property: |
boBlend |
 |
| Purpose: |
Blends colors and transparencies between subsequent bands of
borders |
| Values: |
true|false |
| Default: |
false |
| Notes: |
Important: The boCol property must contain
one element more than boWidth; otherwise, the last value is repeated. |
| Example: |
boBlend
boWidth=10,10 boCol=blue,white,red |
 |
Note the requirement that the boCol must contain one more
value than the boWidth |
| Property: |
boClip |
 |
| Purpose: |
Specifies the border clip radius |
| Values: |
A single value or a series of values, separated by commas, one for
each frame band. The
values can be a valid HTML color name or color specified in hex format
(e.g. #ff00cc) |
| Default: |
0 (no clipping) |
| Notes: |
The border may have rounded corners. The value
becomes the clip radius |
| Example: |
boClip=30
boWidth=7
boCol=white
boMargin=5 |
 |
The radius of the inner edge of the border band has a radius
of 30 pixels. The outer radius will be 37 pixels in this example. |
| Property: |
boCol |
 |
| Purpose: |
Specifies the color of a border |
| Values: |
A series of values, separated by commas, one for each border band. The
values can be a valid HTML color name or color specified in hex format
(e.g. #ff00cc). The quotation marks are not necessary |
| Default: |
white |
| Notes: |
If the number of colors specified is less than the number of
bands specified in boWidth, the last color specified is repeated as many
times as necessary |
| Example: |
boCol=blue,white,red boWidth=2,5,2
boClip=20
boMargin=5
boTrans=0,60,0 |
 |
Note that the blue band, specified first, is the outermost
band, followed by transparent white, and red |
| Property: |
boMargin |
 |
| Purpose: |
Specifies the space betweenthe border and outer edges of the
image |
| Values: |
Integer (in pixels) |
| Default: |
0 (no margin) |
| Notes: |
|
| Example: |
boMargin=5
boClip=30
boWidth=7
boCol=white |
 |
The border margin is the distance between the outer edge of
the border and the edge of the image. In this case, it is 5 pixels. |
| Property: |
boTrans |
 |
| Purpose: |
Specifies the degree of transparency of a border |
| Values: |
0 is opaque, 100 fully transparent (invisible) |
| Default: |
50% |
| Notes: |
As transparency increases, you see more of the
underlying image through the colored border; background files do not work
with borders. |
| Example: |
boTrans=0
boWidth=2
boMargin=5
boCol=red
boClip=20 |
 |
Note that even with boTrans set to zero, the border still
retains some transparency |
| Property: |
boWidth |
 |
| Purpose: |
Specifies the width of the border |
| Values: |
Integer representing border width in pixels |
| Default: |
0 (no border) |
| Notes: |
This may be listed as a single value or a series of values,
separated by commas, one for
each border band |
| Example: |
boWidth=2,5,2
boClip=20
boMargin=5 boTrans=0,60,0 boCol=blue,white,red |
 |
This image includes a 5-pixel margin, 2-pixel blue border,
5-pixel transparent white border, and a 2-pixel red border |
| Property: |
boWidthN boWidthE boWidthS
boWidthW |
 |
| Purpose: |
Specifies the width of the border, allowing for
different widths on each edge of the image |
| Values: |
Integer representing border width in pixels |
| Default: |
0 (no border) |
| Notes: |
This may be listed as a single value or a series of values,
separated by commas, one for
each border band |
| Example: |
boWidthW=2,2,2 boWidthE=2,2,2 boWidth=2,5,2 boClip=20
boMargin=5 boTrans=0,60,0 boCol=blue,white,red |
 |
Clip was included here only to show what happens when the
border widths are not all the same. One normally would not use clip in
this situation. |
Bracket Properties
Bracket properties create brackets in the corners of frames. Brackets require
a frame around an image on which the brackets are placed.
Frame Properties
Frame properties create bands of color on the outside of images.
| Property: |
frBlend |
 |
| Purpose: |
Blends colors and transparencies between
subsequent frame bands |
| Values: |
true | false |
| Default: |
false |
| Notes: |
Important: The frCol property must contain
one element more than frWidth; otherwise, the last value is repeated. |
| Example: |
frBlend
frWidth=5,15 frCol=black,black,white |
 |
Note the requirement that the frCol must contain one more
value than the frWidth. Here, the blending extends most of the way through
the outer frame - note the frWidth and frCol settings |
frBlend
frWidth=10,10 frCol=black,black,white |
 |
Here, the frame widths were the same - note the frWidth and
frCol settings |
frBlend
frWidth=10,10 frCol=black,white |
 |
Here, the frame widths were the same - note the frWidth and
frCol settings |
| Property: |
frCol |
 |
| Purpose: |
Specifies the color of a frame |
| Values: |
A single value or a series of values, separated by commas, one for each
frame band. The
values can be a valid HTML color name or color specified in hex format
(e.g. #ff00cc) |
| Default: |
white |
| Notes: |
If the number of colors specified is less than the number of
bands specified in frWidth, the last color specified is repeated as many
times as necessary |
| Example: |
frCol=#820000,white |
 |
Note that the maroon band (#820000), specified first, is
the outermost band |
| Property: |
frTrans |
 |
| Purpose: |
Specifies the transparency of the frame |
| Values: |
Integer. 0 is opaque, 100 fully transparent (invisible) |
| Default: |
0 (opaque) |
| Notes: |
Frames are considered to be opaque, and the
default color is white. To be able to see a background file,
the frame must be made transparent using the frTrans property. |
| Example: |
frTrans=100,0 frWidth=20,5
frCol=white bgFile=(relative path to wood.jpg) |
 |
Both frames are white, but the outer 20-pixel frame
was made transparent so that the wood background file shows through |
| Property: |
frWidth |
 |
| Purpose: |
Specifies the width of a frame |
| Values: |
Integer. A single value (in pixels) or a series of values, separated
by commas; one for each frame band |
| Default: |
0 (no frame) |
| Notes: |
All directions are set to the same value. If more
than one value, first is band closest to outer edge. |
| Example: |
frWidth=15,5 |
 |
In this example, the outer maroon band is 15-pixels wide;
the inner white band is 5-pixels wide. |
| Property: |
frWidthN, frWidthE,
frWidthS, frWidthW |
 |
| Purpose: |
Specifies the width of a frame in only the
direction indicated (N, E, S, or W) |
| Values: |
A single value (in pixels) or a series of values, separated by commas;
one for each frame band. |
| Default: |
0 (no frame) |
| Notes: |
These directional frame width properties may only
be used along with an accompanying frWidth property. If used alone,
nothing will happen. If you wish a frame element only on one side, you can
specify, for example frWidth=0 frWidthS=20 |
| Example: |
frWidth=15,5 frWidthS=30,5 |
 |
In this example, the outer maroon band in the southerly
direction is 30-pixels wide, and the inner white band is 5- pixels wide.
In all other directions, the outer band is 15 pixels, and the inner band
is 5 pixels. |
Miscellaneous Properties
| Property: |
clip |
 |
| Purpose: |
Allows for clipping images and frames into curve segments |
| Values: |
Integer. Clip radius in pixels |
| Default: |
0 (no clipping) |
| Notes: |
You can enter a large number, such as 1000, as the value for
clip and the image will be clipped into an oval or circle, depending upon
whether the image is rectangular or square. Smaller clip values clip out a
corner of the frame or image by the indicated radius of curve segment. |
| Example: |
clip=1000
frWidth=4,8,2 frCol=maroon,#faf6ea,#e97522
shWidth=15
shCol=#646060
shTrans=30
shDrop=soft bgCol=white
|
 |
Increasing the clip radius more than 1/2 the width or height of the image
does not further increase the clip radius. Therefore, it is safe to use
any large number for the clip radius to achieve a circle or oval shape,
as seen here applied to a thumbnail. |
clip=500
bgCol=#fff8dc
shDrop=soft
frWidth=7,7 frCol=maroon,#fff8dc |
 |
After clipping the image into an oval, the background color shows. Here,
both the clip background and the inside band of the frame are colored cornsilk
(#fff8dc). |
Shadow Properties
|