Gallery Custom Fields
Posted: Mon Apr 11, 2011 5:50 pm
Hi,
working with gallery 1.4.4, cmsms 1.9.4.1
I tried to make my images custom field appears on my template.
i read the wiki and plenty posts here without being able to make it.
My template look like this and yeas, the field is public and under images.
My tag is
and in my complete template ...
I already have the images uploaded and add the fields later.
can someone help please?
Lp
working with gallery 1.4.4, cmsms 1.9.4.1
I tried to make my images custom field appears on my template.
i read the wiki and plenty posts here without being able to make it.
My template look like this and yeas, the field is public and under images.
My tag is
Code: Select all
{$images->fields.imagetitleenglish.value}
Code: Select all
<div id="portfolio">
<div class="portfolio-grid" id="columns">
<ul>
{foreach from=$images item=image}
<li class="col3">
<a href="{$image->file}" rel="prettyPhoto[portfolio1]">
<img src="{$image->thumb|escape:'url'|replace:'%2F':'/'}" width="300" height="180" class="shadow"/></a>
<div class="portfolio-thumbnail-info">
<h3 class="title"> {if $page_lang == "fr"}{$image->titlename} {else} {$images->fields.imagetitleenglish.value}{/if}</h3>
<p>{$image->comment}</p>
</div>
</li>
{/foreach}
</ul>
</div>
</div>
can someone help please?
Lp