CaRP Evolution Box
Web This Site

CaRP: Caching RSS Parser - Documentation


CaRP Interactive FAQ
Getting Started: Free Download | Purchase | Install
Reference: Functions | Plugins | Themes | Full Index
Etc.: Display Formatting | Example Code | Affiliates

Channel Image

EvolutionLEKoiSE
Alln/a>=3.1n/a
Displaying the Channel Image
To display the channel image, include the word "image" in your cborder or caorder setting. For example:
CarpConf('cborder','image,link,desc');
IMPORTANT NOTE
The settings described on this page apply only to images that the feed points to using <enclosure> and <image> elements. If the feed points to the images using HTML <img> tags, they must be displayed using the descriptiontags setting.

Display formatting options

If setcimageh or setcimagew is specified, the default and maximum size settings are ignored. The default and maximum size settings, on the other hand, may be used together.

Example
CarpConf('cborder','image,link,desc');
CarpConf('bcimage','<div style="float:left;margin-right:5px;">');
CarpConf('acimage','</div>');
CarpConf('defcimagew',60);
CarpConf('maxcimagew',60);
The above settings will ensure that no image is displayed more than 60 pixels wide, whether the newsfeed specifies its dimensions or not.