In detail template:
Code: Select all
<div id="imagebox">
<ul class="img">
<li><div>
<a href="{$entry->file_location}/{$entry->fields.photo1->value}" ><img src="{$entry->file_location}/{$entry->fields.photo1->thumbnail}"></a></div></li>
... through to
<li><div>
<a href="{$entry->file_location}/{$entry->fields.photo10->value}"><img src="{$entry->file_location}/{$entry->fields.photo10->thumbnail}"></a></div></li>
</ul>
</div>Would appreciate some advice.
Thanks
I've experimented with :
Code: Select all
{if $entry->fields.photo10->value}<li><div>
<a href="{$entry->file_location}/{$entry->fields.photo10->value}"><img src="{$entry->file_location}/{$entry->fields.photo10->thumbnail}"></a></div></li>{/if}Thanks

