Active
Project:
Uberimage
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
9 Feb 2010 at 12:48 UTC
Updated:
16 Feb 2010 at 15:41 UTC
Hello,
Please add a tpl.php file in the module, which can be copied into the theme folder, to override the design the fields.
I would love to change the containers, and their order of current output:
<div class="aef-image">
<img src="http://trilogo-de.site-preview.net/beta02/system/files/imagecache/rechte_spalte/AA010027_0.jpg" alt="" title="" width="180" height="225">
<div class="aef-image-infos" style="width:180px">
<div class="aef-image-infos-title-credits">
<div class="aef-image-infos-title">
Bild One
</div>
<span class="aef-image-infos-credits">Stefan</span>
</div>
<div class="aef-image-infos-title-legend">
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa.
</div>
</div>
</div>
Comments
Comment #1
ndeschildre commentedGood idea!
Comment #2
stefan81 commentedcool, thanks for supporting me on this!
will you find some time to work on this in the near future?
Comment #3
ndeschildre commentedIn the near future, it is much less likely than the imagecache presets in Views (which is now done).
But note that you can override the current theme function (which is not a .tpl.php) :
theme_aef_image_default($nid, $fid, $data, $preset_name, $alt = '', $title = '', $attrs = array(), $image_title = '', $image_legend = '', $image_credits = '')
and
theme_aef_image_imageonly($nid, $fid, $data, $preset_name, $alt = '', $title = '', $attrs = array(), $image_title = '', $image_legend = '', $image_credits = '')
Cheers,
Nicolas