
Tuesday, September 13, 2005
Wrapping text around images
CarpConf('biimage','<div style="float:left;margin-right:8px;">');
CarpConf('aiimage','</div>');
When doing this, it's a good idea to clear floats at the end of each item, in case the text isn't long enough to get past the image, like this:
CarpConf('ai','<br clear="left" />');
NOTE: All versions of CaRP can display images pointed to by the HTML <img> tag in the description by adding "img" to the "descriptiontags" using the code show below. CaRP's image configuration settings do not affect these images--only those from the <enclosure> and <image< elements. Here's the code to display images embedded in the description:
CarpConfAdd('descriptiontags','|img');
3 Comments:
By Anonymous, at October 05, 2005 2:12 AM
Very useful tip this one. Always wondered how to incorporate images from within a feed description tag.
I wonder if this will work with Google Maps?
By Anonymous, at November 04, 2005 4:02 AM
Excellent. Just started using CaRP Evolution and have been impressed with the online documentation. Was surprised not to see a dedicated forum for developers/support issues. Bookmarked this site though. Very handy :-) and the Amazon example code works a treat!
By Antone Roundy, at November 04, 2005 7:32 AM
There is a support forum at http://forums.geckotribe.com/. It was created just recently to replace an old one hosted off site.