Page 1 of 1

image menu using Page Image

Posted: Mon May 25, 2009 4:37 pm
by DIGI3
To make a thumbnail image style navigation, I used the following in menumanager:

Code: Select all

<a href="{$node->url}" class="current"{if $node->target ne ""} target="{$node->target}"{/if}><img src='{$gCms->config.image_uploads_url}/{$node->image}' alt="thumbnail"/></a>
It uses the Page Image as defined in the content editor. Unfortunately at this time you can't have the images in a subdirectory.

You can get fairly creative with formatting, here's an example: http://www.ianhanke.ca/index.php?page=bookbinding

Re: image menu using Page Image

Posted: Wed Jun 16, 2010 5:26 pm
by ncp911
This is what I have been looking for. Thanks so much.