MyBB Codes
nCode Image Resizer - Printable Version

+- MyBB Codes (http://www.mybbcodes.com)
+-- Forum: Mods Database (/forumdisplay.php?fid=4)
+--- Forum: Plugins for 1.4.x and 1.6.x (/forumdisplay.php?fid=5)
+--- Thread: nCode Image Resizer (/showthread.php?tid=1648)


nCode Image Resizer - Joey_Pham423 - 08-17-2010 05:54 AM

-Resize images in your posts automatically when you tag [IMG] (in case the images are too big)
Demo: http://mybbvn.com/forum/showthread.php?tid=2&pid=7

Installation
- Upload ncoderesize.php to inc/plugins
- Upload ncoderesize.lang.php to inc/languages/english
- Upload ncode_imageresizer.js to forumroot

- Go to AdminCP > Plugins > Active nCode Image Resizer

- Edit template Ungrouped Templates > headerinclude
add at the end
PHP Code:[Highlight]
{$ncoderesize_script

- Edit file inc/class_parser.php
find
PHP Code:[Highlight]
return "<img src=\"{$url}\" border=\"0\" alt=\"{$alt}\"{$css_align} />"
replace
PHP Code:[Highlight]
return "<img src=\"{$url}\" border=\"0\" alt=\"{$alt}\"{$css_align} onload=\"NcodeImageResizer.createOn(this);\" />"

Customize Settings
AdminCP > Configuration > Image Resizer (nCode)
There are 2 options, Max width/b] and [b]Max heigh


RE: nCode Image Resizer - toplez - 11-29-2010 01:10 PM

thanks


RE: nCode Image Resizer - arun9020 - 12-20-2010 03:24 AM

i like ittttt


RE: nCode Image Resizer - Sylvi - 12-26-2010 05:21 AM

Great Work - THANX !


RE: nCode Image Resizer - Fire - 01-02-2011 10:36 AM

Why would this be good to have?


RE: nCode Image Resizer - haddad287 - 01-07-2011 10:35 PM

so ppl dont post giant pics on ur forum <_<
Btw can somebody please help me? This does not work on my forum, I get this

Quote:[Highlight]Warning [2] Invalid argument supplied for foreach() - Line: 363 - File: admin/inc/class_form.php PHP 5.1.6 (Linux)

/admin/inc/class_form.php_____________363___________errorHandler->error
/admin/modules/config/settings.php_____1153__________DefaultForm->generate_select_box
/admin/index.php ____________________483___________require



RE: nCode Image Resizer - gangster - 02-16-2011 02:26 AM

This image resizer is simply awesome. It is of great use. I would like to congratulate you for scripting such a beautiful code. I tried it, and it works great. I would like to ask everyone to try this out. It is really useful. You can easily resize your image into any size you wish for.


RE: nCode Image Resizer - Lubos - 02-17-2011 05:11 AM

Thanks, this is really good.


RE: nCode Image Resizer - DzSergio - 05-28-2011 02:18 PM

thnx so much bro Wink


RE: nCode Image Resizer - vanskate - 06-25-2011 04:17 AM

hha...thanks for this plugin


RE: nCode Image Resizer - _Un!corn - 08-08-2011 08:22 AM

Really Useful Smile Thanksss Smile
Hmm.. Very Useful Wana Dwnload.. Smile


RE: nCode Image Resizer - Bapun Raz - 09-02-2011 12:38 PM

nice one dear but i like jQuery one and it is too good. Smile


RE: nCode Image Resizer - psycho.ts - 09-07-2011 05:02 PM

i like ittttt


RE: nCode Image Resizer - deradian - 10-19-2011 12:32 PM

nice man


RE: nCode Image Resizer - KillerG - 12-27-2011 06:43 AM

awesome, thanks dude will come to use


RE: nCode Image Resizer - Artic99 - 01-11-2012 05:06 PM

Hi, Danke für den Plugin ich gucke es mit genauer an

Vielen Dank


RE: nCode Image Resizer - Elvis - 01-21-2012 11:53 AM

thanks for this plugin


RE: nCode Image Resizer - syryus - 02-10-2012 08:14 AM

Hey! Very well done mate, hope you keep up the good work!


RE: nCode Image Resizer - premyou - 04-25-2012 12:10 AM

thanks man


RE: nCode Image Resizer - mr kevin - 06-07-2012 02:49 PM

thanks for this plugin