CaRP Evolution Documentation
CaRP Evolution Documentation
twitter youtube linkedin google-plus
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

Item Image

EvolutionLEKoiSE
Alln/a>=3.1n/a
Displaying the Item Image
To display the item image, include the word "image" in your iorder setting. For example:
CarpConf('iorder','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 setiimageh or setiimagew 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('iorder','image,link,desc');
CarpConf('biimage','<div style="float:left;margin-right:5px;">');
CarpConf('aiimage','</div>');
CarpConf('defiimagew',60);
CarpConf('maxiimagew',60);
The above settings will ensure that no image is displayed more than 60 pixels wide, whether the newsfeed specifies its dimensions or not.