Forums / Setup & design / Retrieve url data and image path

Retrieve url data and image path

Author Message

Daniel Guerrier

Saturday 23 April 2005 12:35:00 pm

Hi

I have a content class with an image and url field.
I want to pull out the actual url in the url field and the absolute path to the image to use an xml file.

The attribute_view_gui creates and displays an href and creates an image tag. How do I pull out the urls.

Thanks

Saturday 23 April 2005 2:16:41 pm

Hi,

Maybe this is what you're after:

{$node.data_map.image.content[original].url

You could also try

{$node.data_map.image|attribute(show)}

Daniel Guerrier

Saturday 23 April 2005 3:09:04 pm

Great, that works for the image field.
But how do I get the url from the url field?

Daniel Guerrier

Saturday 23 April 2005 3:46:32 pm

Solved.

Thanks for the help the previous answer help solve this one. :)

Sunday 24 April 2005 11:19:35 pm

No problem :)