Share » Forums » Setup & design » Using image object for inline...

Using image object for inline background style

Using image object for inline background style

Monday 11 February 2008 10:00:53 am - 2 replies

Author Message

Felix Laate

Monday 11 February 2008 2:07:48 pm

Hi Martin,

the attribute_view_gui function returns the presentation template of the implicated datatype.

What you need if you whant to refer to an image in CSS is the url of the image. It can be found this way:

{$node.data_map.image.content.IMAGE_VARIATION.full_path}

where IMAGE_VARIATION is "large", "medium", "articlethumbnail" or whatever you would need (assuming that it is defined in image.ini).

Felix

Publlic Relations Manager
Greater Stavanger
www.greaterstavanger.com

Martin Sanders

Monday 11 February 2008 2:16:14 pm

many thanks :)

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu