Current time: 11-22-2024, 12:44 PM Hello There, Guest! (LoginRegister)


Announcement
We have the biggest collection of MyBB Plugins here on the Net. We have currently 175+ MyBB Exclusive Plugins, 80+ MyBB Compatible MyCodes and 16+ MyBB 1.4.x Themes (Some are still under construction...) Thus, we provide you the largest MyBB Stuff on the net including tutorials. Stay with us, you will find out some more to come.
Now you can easily create your own buttons set for MyBB! Click here to have a look...
*** You cannot do your registration behind any Proxies anymore! ***
Welcome Guest[18.119.106.66], connected from Cambridge, Massachusetts United States
Post Reply 
 
Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
nCode Image Resizer
08-17-2010, 05:54 AM
Post: #1
nCode Image Resizer
-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


Attached File(s)
.zip  nCodeImageResizer.zip (Size: 5.78 KB / Downloads: 9)
Downloaded by :roumy, Icaros, asgard, haddad287, Anoop17, _Un!corn, deradian

Joey_Pham423's signature >>> Get All MyBBCodes.Com's Plugins From Here <<<
Visit this user's website Find all posts by this user
Quote this message in a reply
11-29-2010, 01:10 PM
Post: #2
RE: nCode Image Resizer
thanks

toplez's signature
Visit this user's website Find all posts by this user
Quote this message in a reply
12-20-2010, 03:24 AM
Post: #3
RE: nCode Image Resizer
i like ittttt

arun9020's signature
Visit this user's website Find all posts by this user
Quote this message in a reply
12-26-2010, 05:21 AM
Post: #4
RE: nCode Image Resizer
Great Work - THANX !

Sylvi's signature
Visit this user's website Find all posts by this user
Quote this message in a reply
01-02-2011, 10:36 AM
Post: #5
RE: nCode Image Resizer
Why would this be good to have?

Fire's signature
Visit this user's website Find all posts by this user
Quote this message in a reply
01-07-2011, 10:35 PM (This post was last modified: 01-07-2011 10:49 PM by haddad287.)
Post: #6
RE: nCode Image Resizer
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

haddad287's signature
Visit this user's website Find all posts by this user
Quote this message in a reply
02-16-2011, 02:26 AM
Post: #7
RE: nCode Image Resizer
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.

gangster's signature read more
Visit this user's website Find all posts by this user
Quote this message in a reply
02-17-2011, 05:11 AM
Post: #8
RE: nCode Image Resizer
Thanks, this is really good.

Lubos's signature
Visit this user's website Find all posts by this user
Quote this message in a reply
05-28-2011, 02:18 PM
Post: #9
RE: nCode Image Resizer
thnx so much bro Wink

DzSergio's signature
Visit this user's website Find all posts by this user
Quote this message in a reply
06-25-2011, 04:17 AM
Post: #10
RE: nCode Image Resizer
hha...thanks for this plugin

vanskate's signature
Visit this user's website Find all posts by this user
Quote this message in a reply
0 member(s) viewed this thread in the last 365 days :
Post Reply 


Was This Thread Useful ?
Please Link To Us
URL
BBCode
HTML

Forum Jump:

 
New To Site ?
Some Useful Links
  • Help

  • You Might Need To Register

  • Forum Statistics

  • Mark All Forums Read

  • Forum Staff

  • Log Out
  • Contact Us

  • Mybbcodes

  • Return to Top

  • Return to Content

  • Lite (Archive) Mode

  • RSS Syndication
  • Powered By MyBB, © 2002-2024 MyBB Group.
    Golden Crown - Designed and Published by ghazal & exdiogene of MyBBCodes.
    Hosting provided by WWWHostingServer.com