316 posts
  • Has referred 10+ members
  • Has sold $10,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Has been part of the Envato Community for over 3 years
+2 more
SyamilMJ says

Hey guys,

Just a heads up on this new script I developed to resize/crop/scale images uploaded through WordPress.

It uses WordPress built-in functions so it’s completely native.

Some of the features:

  • Completely native – uses WP’s built-in functions
  • Works both on single or multisite install
  • Easy to use, just feed in the URL
  • Lightweight – can be minified down to +/- 50 lines of code
  • Only process image once, then return the URL if the image already resized
  • Options to crop, soft-crop, array return etc.

I have supplied a little write-up about it on WPExplorer.

The script now lives on Github and licensed with WTFPL .

Cheers :)

401 posts
  • Located in United States
  • Power Elite Author: Sold more than $1M on Envato Market
  • Has sold $1M+ on Envato Market and is now a Power Elite Author
  • Made it to the Authors' Hall of Fame
+4 more
WPExplorer says

It works beautifully! ;)

812 posts
  • Has been part of the Envato Community for over 4 years
  • Has collected 10+ items on Envato Market
  • Sells items exclusively on Envato Market
iamthwee says

Genius! Well … not quite… but useful.

162 posts
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $75,000+ on Envato Market and is now an Elite Author
  • Won a Most Wanted contest
  • Has been part of the Envato Community for over 3 years
+4 more
anariel7 says

Great,thanks a lot :)

2468 posts
  • Has been part of the Envato Community for over 5 years
  • Has sold $100+ on Envato Market
  • Has referred 100+ members
  • Has been a beta tester for an Envato feature
+3 more
digitalimpact says

Great job man! \m/

438 posts
  • Has been part of the Envato Community for over 2 years
  • Has sold $5,000+ on Envato Market
  • Has collected 50+ items on Envato Market
  • Located in Europe
+1 more
Pixelous says

Thanks!!!

316 posts
  • Has referred 10+ members
  • Has sold $10,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Has been part of the Envato Community for over 3 years
+2 more
SyamilMJ says

Thanks guys.

I really hope WP authors will find it useful and adopt it into their themes.

With the script resizing it’s so simple and straightforward, e.g.:

<img src="<?php echo aq_resize($image_url, $width, $height) ?>"/>

It gets saved to the uploads directory and will just retrieve the url if the cropped image is already there = fast + easy + secure and overall just plain efficient. :)

More examples here – https://github.com/sy4mil/Aqua-Resizer/wiki/Examples

194 posts Dreams Money Can Buy
  • Has sold $1M+ on Envato Market and is now a Power Elite Author
  • Power Elite Author: Sold more than $1M on Envato Market
  • Has referred 200+ members
  • Has collected 10+ items on Envato Market
+5 more
SwiftIdeas says

Looks bloody good!

Will definitely have to try this out in the next project, thanks for sharing! :)

- Ed

1272 posts
  • Has been part of the Envato Community for over 4 years
  • Has sold $40,000+ on Envato Market
  • Has been a beta tester for an Envato feature
  • Has collected 50+ items on Envato Market
+5 more
Smartik says

Thank you very much for SMOF and for this. :)

29 posts
  • Has collected 10+ items on Envato Market
  • Located in Argentina
  • Sells items exclusively on Envato Market
  • Has been part of the Envato Community for over 4 years
aprjnet says

Thanks a lot! Wow, incrideble! :P Muchas gracias!

Helpful Information

  • Please read our community guidelines. Self promotion and discussion of piracy is not allowed.
  • Open a support ticket if you would like specific help with your account, deposits or purchases.
  • Item Support by authors is optional and may vary. Please see the Support tab on each item page.

Most of all, enjoy your time here. Thank you for being a valued Envato community member.

Post Reply

Format your entry with some basic HTML. Read the Full Details, or here is a refresher:

<strong></strong> to make things bold
<em></em> to emphasize
<ul><li> or <ol><li> to make lists
<h3> or <h4> to make headings
<pre></pre> for code blocks
<code></code> for a few words of code
<a></a> for links
<img> to paste in an image (it'll need to be hosted somewhere else though)
<blockquote></blockquote> to quote somebody

:grin: :shocked: :cry: Complete List of Smiley Codes

by
by
by
by
by
by