Search for Plugins: Advanced
Please Sign in, Register or Resend Activation Email


  e107 :: Forums :: E107 Plugins :: Suggest a Plugin
<< Previous thread | Next thread >>  
Image resizer          
Author Post
Tue Sep 04 2007, 09:13PM
Registered Member #72752
Joined: Wed Jan 31 2007, 06:05PM
Location: UK
Posts: 13
I could do with a plugin that resizes images my members upload to there forum posts.
Abit like when you puload an image to ebay thats to big it resizes it to a more managable size.
Fri Sep 07 2007, 10:52AM

Registered Member #36887
Joined: Wed Nov 23 2005, 10:20AM
Location: Italy
Posts: 11
Ok! i'm tried myself and its work!

If you want auto resize any posted image go to the e107_folder\e107_files\bbcode\

open the

replace this line:
$imgParms['style']="vertical-align:middle; border:0";

with this:
$imgParms['style']="vertical-align:middle; border:0; height:100px";

Changing the height the image automatically change size maintaining it's proportion! ;D

obviously change the height to feet your site needs!

PS: before the changes take effect, you must post a news with an attached image! ;D

hope this trick help you! byZ!

[ Edited Fri Sep 07 2007, 11:53AM ]
Back to top

Jump:     Back to top

Syndicate this thread: rss 0.92 Syndicate this thread: rss 2.0 Syndicate this thread: RDF
Powered by e107 Forum System
Render time: 0.1363 sec, 0.0868 of that for queries. DB queries: 29.