Hi all,
I'm considering replacing the Has-many File Manager module on my site with the DataObject Manager. Has anyone else done this?
On my company site I am currently displaying images using this code:
<% if AttachedFiles(MyImages) %>
<div id="imgGallery">
<% control AttachedFiles(MyImages) %>
<% if First %><a href="$URL" title="$Title" rel="lightbox" class="storbild">$SetWidth(370)</a><% end_if %>
<a href="$URL" title="$Title" class="miniatyr">$SetWidth(80)</a>
<% end_control %>
</div>
<% end_if %>
This shows the first image attached to the page as a large preview, and the following images as miniatures beneath it.
How would one accomplish the same thing using the DataObject Manager?
Yours,
Måns