PDA

View Full Version : template / image size mod


Benj
11-19-2004, 04:49 PM
not really a hack but i need a bit of code that i can put in the post bit etc that says something like

if image size over 300 x 300 (example)

resize to 30% x 30 %

else

display normal size avatar

any ideas on the code for this if statment

Zachery
11-19-2004, 04:57 PM
not really a hack but i need a bit of code that i can put in the post bit etc that says something like

if image size over 300 x 300 (example)

resize to 30% x 30 %

else

display normal size avatar


any ideas on the code for this if statment
are you talking about the avatar or the [img] tag

Benj
11-21-2004, 07:41 AM
the avatar sorry

Benj
11-22-2004, 12:37 PM
any ideas