Forums / Setup & design / Image problem

Image problem

Author Message

Kjell Inge Sandvik

Sunday 15 May 2005 1:53:39 am

Okey, this has to be a easy one for those who is not as tired as I am :-)

How do I show a image from an article?

Sandvik Web & Data

Kjell Inge Sandvik

Sunday 15 May 2005 5:03:17 am

This is my code:

{let kart=fetch(content,node,hash(node_id,$node.node_id))}
{attribute_view_gui image_class=medium attribute=$kart:item.data_map.image.content.data_map.image}
{/let}

... but no pic is shown...

Sandvik Web & Data

Trond Hjelmaas

Monday 16 May 2005 12:25:32 pm

would this work?

{attribute_view_gui image_class=medium attribute=$:kart.data_map.image}

or try this:

{attribute_view_gui image_class=medium attribute=$:kart.object.data_map.image}

notice that ":" change posistion.

Werner Klausen

Wednesday 25 May 2005 6:04:57 am

You've probably figured this out, however as I just had the same problem I'll post the solution.

The problem is to understand the structure and dig deep enough as far as I've understood :)

{attribute_view_gui attribute=$__SECTIONNAME__:item.data_map.image.content.current.data_map.pic}

Because I can!

Fabricio Guerrero

Thursday 16 February 2006 4:36:58 am

Why is this??

can somebody explain to me why there are so many different ways to show images and not all work at a given time.??

we just moved over a site from one sever to another and the images wouldn't show.. i had to recode all the places where images showed to a different syntax...

why is this :( ???

is there one way that will always work??? this is just not too friendly..

http://www.solobromasychistes.com <<Joomla Site :P
http://www.recipesforhealthyfood.com/ <<Drupal Site :P
http://www.ezforge.com/ <<future ezCommunity, Articles, forums and more...