Thursday 06 September 2007 8:51:08 pm
Hi Kristof What I'm trying to do is extract the first (and only the first) embedded image in the description field, for a list of items in a folder, where having it return all embedded images would break the layout. I've discovered that the following template code gets to that object, but it would be nice to be able to work out where in the object the embedded object parameters are stored. One application of this would be to be able to add a custom attribute: 'border', and to use this to add a CSS class to the image. This would allow a user to determine whether they would like a border on their image when they insert it. $object.data_map.description.object.embedded_contentobject_array.0.current.data_map
My apologies if this sounds a little confused, but I've been trying to work out where the embedded contentobject parameters get stored for a while, and my current investigation makes me think I'm getting close - but I haven't found them yet!
Paul Bolger
|