Background Filtering

Prev Next

Rather watch a video than read a document ?

A movie tutorial accompanies this article.

One video, three uses

Although the above video talks about background filtering with image orientation, the concepts are the same when applied to filtering for folder or by conditions.

Background filtering

When backgrounds are offered for online ordering, the default behavior is to display all the uploaded backgrounds.

By using specific codes in either the background names or their paths, the user can control the circumstances under which certain backgrounds are displayed.

  • Image orientation: Backgrounds are offered depending on the orientation of the selected image

  • Folder: Backgrounds are displayed according to folder names or tags

  • Conditions: Control which backgrounds to display according to conditions

Image orientation

When an entity has images in both portrait and landscape orientations, it may be desirable to offer different backgrounds depending on the image orientation.

%O{V} or %O{P} - for vertical (portrait) images

%O{H} or %O{L} - for horizontal (landscape) images

Example

%O{V}blue.jpg

Offers the background blue.jpg only to vertical images

%O{H}sunset.jpg

Offers the background sunset.jpg only to horizontal images

flag%{H}.jpg

Offers the background flag.jpg only to horizontal images

T:\Timestone\Backgrounds\%O{V}VertBkgs

Backgrounds in this folder will only be offered to vertical images

white.jpg

No code. Background will be available regardless of image orientation

Folder name or tag

There may be occasions where different backgrounds need to be offered depending on the Home Folder of the subject. This can be achieved by embedding the folder names or tags into the code.

%F{folder} - where folder can be either the folder name or tag

Example

/%F{Y12}grad.jpg

The background grad.jpg will only be displayed for subjects in a folder with the name or tag Y12

T:\Timestone\Backgrounds\%F{siblings}grps

Backgrounds in this folder will only be offered to subjects in a folder with the name or tag siblings

Conditional backgrounds

For ultimate control, the appearance (or not) of backgrounds can be controlled through conditions.

%C{condition} - where condition is the condition code

Example

/%C{XMAS}xmascard1.jpg

The background xmascard1.jpg will only be available when the condition XMAS is true

bonusbkg5%C{HOTDEALS}.jpg

The background bonusbkg5.jpg will only be available when the condition HOTDEALS is true

T:\Timestone\Backgrounds\%C{SPRING}SpringBackgrounds

The backgrounds inside the folder SpringBackgrounds will only be offered when the condition SPRING is true

Combining Filters

The different background filters can be combined either within a filename or by nesting files within a folder.

NOTE

Background filters can be combined with chargeable backgrounds as well.

Further Reading: Chargeable Backgrounds

When offering background choices in IOS, it is possible to make some or all of the backgrounds chargeable.

Charging for backgrounds in IOS

Example

bonusbkg5%C{HOTDEALS}%F{Grad}.jpg

The background bonusbkg5.jpg will only be available when the condition HOTDEALS is true and the Subject is in a folder with the name or tag Grad

T:\Timestone\Backgrounds\BackgroundsChargeable${charge}\%C{XMAS}xmascard1.jpg

The background xmascard1.jpg will only be available when the condition XMAS is true and will be a chargeable option

T:\Timestone\Backgrounds\@<offercode>\%C{SPRING}SpringBackgrounds\%F{siblings}grps%O{H}.jpg

The Background grps.jpg will only be available for a given offer when the Condition Spring is active, the subject(s) are in a folder with the name or tag siblings, and horizontal image orientation are all true


FAQ

What is background filtering?

Background filtering allows users to control which backgrounds are displayed based on image orientation, folder names, folder tags, or specific conditions.

Can I combine different background filters?

Yes, different background filters can be combined by listing each filter code within a filename or by nesting files within a folder.

Can I make filtered backgrounds chargeable?

Yes, it is possible to make some or all backgrounds chargeable when offering background choices in iOS, regardless of the other background filters applied to them.

What happens if no code is used for a background?

If no code is used, the background will be available regardless of image orientation.