Hello everyone.
I have to use the tags {content_image} but do not understand how to insert it into the structure of the page
<a class="page-box__picture" href="uploads/images/content/prog03-g.jpg" data-rel="prettyPhoto" title="Content image">
<img width="360" height="240" src="uploads/images/content/prog03-g.jpg" alt="Content Image" />
</a>
thanks for your help
[SOLVED] how to use the tag {content_image}
[SOLVED] how to use the tag {content_image}
Last edited by giapippo on Thu May 07, 2015 12:46 pm, edited 1 time in total.
Re: how to use the tag {content_image}
Might help a bit http://www.cmscanbesimple.org/blog/assi ... e-per-page
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Re: how to use the tag {content_image}
hallo i have used this
<a class="page-box__picture" href="{content_image block='header_image' label='Header Image' dir='images'}" data-rel="prettyPhoto" title="Content image">
<img width="360" height="240" src="{content_image block='header_image2' label='Header Image' dir='images'}" alt="Content Image" />
</a>
but when I view the page by obtaining this error which I enclose
<a class="page-box__picture" href="{content_image block='header_image' label='Header Image' dir='images'}" data-rel="prettyPhoto" title="Content image">
<img width="360" height="240" src="{content_image block='header_image2' label='Header Image' dir='images'}" alt="Content Image" />
</a>
but when I view the page by obtaining this error which I enclose
Re: how to use the tag {content_image}
Please read the tag help page. There is plenty of info about how to use it:
use this parameter in your case urlonly="1"content_image help wrote:(optional) urlonly='' - output only the url to the image, ignoring all parameters like id, name, width, height, etc.
"There are 10 types of people in this world, those who understand binary... and those who don't."
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
Re: how to use the tag {content_image}
great !!!
<a class="page-box__picture" href="{content_image block='header_image' label='Header Image' urlonly="1" dir='images'}" data-rel="prettyPhoto" title="Content image">
<img width="360" height="240" src="{content_image block='header_image2' label='Header Image' dir='images' urlonly="1"}" alt="Content Image" />
</a>
work perfect !!!
thanks
<a class="page-box__picture" href="{content_image block='header_image' label='Header Image' urlonly="1" dir='images'}" data-rel="prettyPhoto" title="Content image">
<img width="360" height="240" src="{content_image block='header_image2' label='Header Image' dir='images' urlonly="1"}" alt="Content Image" />
</a>
work perfect !!!
thanks



