Hi all,
Into Content / Pages / Edit Page:
I see two new fields "Image" and "Thumbnail"
How can I use ?
Thanks
[Solved]fields Image -Thumbnail in Edit Page
-
- Support Guru
- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
Re: fields Image -Thumbnail in Edit Pag
MenuManager can use them directly as $node->image and $node->thumbnail (you'll have to prepend the path to that)
i.e: config['image_uploads_path']}{$node->thumbnail}"/>
In your page content try: {$content_obj->GetPropertyValue('image')} or {$content_obj->GetPropertyValue('thumbnail')}
i.e: config['image_uploads_path']}{$node->thumbnail}"/>
In your page content try: {$content_obj->GetPropertyValue('image')} or {$content_obj->GetPropertyValue('thumbnail')}
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Re: [Solved]fields Image -Thumbnail in Edit Page
Hi there,
can I somehow use that in the template itself? I would like to design a template for which you can select an image in the page editor and the template sticks it in the proper position.
can I somehow use that in the template itself? I would like to design a template for which you can select an image in the page editor and the template sticks it in the proper position.
- chuckienorton
- Forum Members
- Posts: 68
- Joined: Wed Feb 14, 2007 6:58 pm
Re: [Solved]fields Image -Thumbnail in Edit Page
@ Eth8505 - it already works in the templates. Once you choose the image in the page manager, simply add something like this to the template where you want it to go: GetPropertyValue('image')}"/>.eth8505 wrote: can I somehow use that in the template itself?
@ calguy1000 - 2 questions:
How can I change the folder for the images... so that it can read from a sub folder (images/interiors-images/)?
Can I add more of these for each page? Or additional fields besides image? (like another html content box w/in options tab) This is one of the best features I've seen in any CMS and it could make CMSMS the best package ever.
Thanks in advance!
Chuck
Re: [Solved]fields Image -Thumbnail in Edit Page
There is the tag {content_image} which you can call in the template, as often as you want.
The image and thumbnail, are in there once, and have the possibilty to be called from MenuManager, making it possible to create an imagemenu.
To get the name of the property, you can use {page_image} or {page_attr}.
So for multiple pictures in the page, you can use {content_image}.
Ronny
The image and thumbnail, are in there once, and have the possibilty to be called from MenuManager, making it possible to create an imagemenu.
To get the name of the property, you can use {page_image} or {page_attr}.
So for multiple pictures in the page, you can use {content_image}.
Ronny
- chuckienorton
- Forum Members
- Posts: 68
- Joined: Wed Feb 14, 2007 6:58 pm
Re: [Solved]fields Image -Thumbnail in Edit Page
@Ronny - thanks for quick response. Hmm... I guess what I mean is to see multiple DROP downs from the admin content/pages menu so that there can be "header-image:" and then "left-side-image" and then (the best feature would be) "flash-header-script:" (so that text can be added in admin page).RonnyK wrote: So for multiple pictures in the page, you can use {content_image}.
Does that make sense? Maybe that's what you mean - not sure?
Thanks!
C
Re: [Solved]fields Image -Thumbnail in Edit Page
I meant that like multiple content-blocks, you can call
This is a default tag, you can check its help under Extensions -> content_image -> help
ROnny
multiple times in the template. When you create/edit a page that is attached to that template, you see that many different image-selections. As you can put every call in a div/class, you can style it whatever/wherever you want.{content_image block='image1' dir='images'}
This is a default tag, you can check its help under Extensions -> content_image -> help
ROnny
Re: [Solved]fields Image -Thumbnail in Edit Page
@chuckienorton: Thanks, for some reason it didnt work for me before, I just c&p'd it again and now it works 

Re: fields Image -Thumbnail in Edit Pag
this does not work anymore in cmsms1.7calguy1000 wrote: MenuManager can use them directly as $node->image and $node->thumbnail (you'll have to prepend the path to that)
i.e: config['image_uploads_path']}{$node->thumbnail}"/>
In your page content try: {$content_obj->GetPropertyValue('image')} or {$content_obj->GetPropertyValue('thumbnail')}

how to access thumbnail of a node in menumanager or even better: every content_obj?