Author Topic

Sandeep Kadam

Tuesday 09 March 2010 4:16:33 am

Comment57563

Hi Damien,

Really thanx for your reply....

<img src="/{$promo.data_map.image.content['original'].url}" alt="my picture" />

but still there was an issue when i used code given by you i get image as

<img src=/var/plain_site/storage/images/media/images/a/image1/1837-1-eng-US/image1.jpg alt="my picture" />

but it's not showing the image,
image src is missing "mysite" name like

src=/mysite/var/plain_site/storage/images/media/images/a/image1/1837-1-eng-US/image1.jpg

so i have made some modification in your code like below:

<img src={$promo.data_map.image.content['original'].full_path|ezroot()}  alt="my picture" />

and now it works fine for me thank's to you ...

Thank You,
Sandeep