If you use resize mod

Support about Download MOD for phpBB 2
Antworten
helios
Beiträge: 6
Registriert: Sa 10.Nov, 2007 16:36

If you use resize mod

Beitrag 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
Dateianhänge
Resize_Posted_Images_Based_on_Max_Width.zip
(8.28 KiB) 403-mal heruntergeladen
Zuletzt geändert von helios am Mi 19.Dez, 2007 11:21, insgesamt 1-mal geändert.
Benutzeravatar
oxpus
Administrator
Beiträge: 28735
Registriert: Mo 27.Jan, 2003 22:13
Wohnort: Bad Wildungen
Kontaktdaten:

Beitrag 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...
Karsten Ude
-={ Das Mädchen für alles }=-
Kein Support per Messenger, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per Messenger, Email or PM. Each unasked message will be ignored!
Antworten