Seite 1 von 1

If you use resize mod

Verfasst: Mi 19.Dez, 2007 11:20
von helios
Resize Posted Images Based on Max Width 245, mod author spooky2280
open your-theme/dl_mod/tpl/view_dl_body.tpl
find:

Code: Alles auswählen

<!-- BEGIN thumbnail -->
	<td width="20%" class="{ROW_CLASS2}" rowspan="{ROWSPAN}" align="center"><img src="{downloads.thumbnail.THUMBNAIL}" border="0" alt="" title="" /></td>
<!-- END thumbnail -->
replace by:

Code: Alles auswählen

<!-- BEGIN thumbnail -->
	<td width="20%" class="{ROW_CLASS2}" rowspan="{ROWSPAN}" align="center"><img resizemod="on" onload="rmw_img_loaded(this)" src="{downloads.thumbnail.THUMBNAIL}" border="0" alt="" title="" /></td>
<!-- END thumbnail -->
If you want the mod download attachment

Verfasst: Mi 19.Dez, 2007 13:22
von oxpus
THX, but a litte hint about this:
The thumbnail size can be set in the mod configuration, so if an admin will choose small dimensions, the thumbnail muss be small too to upload...