image menu using Page Image

Do something cool with CMS? Show us ...
This board is for 'Answers', and the discussion of answers... Not for questions.
Post Reply
User avatar
DIGI3
Dev Team Member
Dev Team Member
Posts: 1792
Joined: Wed Feb 25, 2009 4:25 am

image menu using Page Image

Post 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
Not getting the answer you need? CMSMS support options
User avatar
ncp911
Forum Members
Forum Members
Posts: 18
Joined: Mon Nov 17, 2008 8:06 pm

Re: image menu using Page Image

Post by ncp911 »

This is what I have been looking for. Thanks so much.
A Design Link, Web and Graphic Design with Small Business in Mind.
Post Reply

Return to “Tips and Tricks”