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 4 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 :)

415 posts
  • Located in United States
  • Power Elite Author: Sold more than $1M on Envato Market
  • Had an item that was trending
  • Became a Top 20 Author of the Month
+8 more
WPExplorer
says

It works beautifully! ;)

812 posts
  • Has been part of the Envato Community for over 5 years
  • Has collected 10+ items on Envato Market
  • Achieved the monthly Community Superstar Award
  • Sells items exclusively on Envato Market
iamthwee
says

Genius! Well … not quite… but useful.

165 posts
  • Had an item that was trending
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $125,000+ on Envato Market
  • Won a Most Wanted contest
+4 more
AnarielDesign
says

Great,thanks a lot :)

2468 posts
  • Has been part of the Envato Community for over 6 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 3 years
  • Has sold $5,000+ on Envato Market
  • Has collected 50+ items on Envato Market
  • Sells items exclusively on Envato Market
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 4 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

198 posts Dreams Money Can Buy
  • Became a Top 20 Author of the Month
  • Had an item that was trending
  • Had an item that became a weekly top seller
  • Has sold $1M+ on Envato Market and is now a Power Elite Author
+8 more
SwiftIdeas
says

Looks bloody good!

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

- Ed

1362 posts
  • Had an item that became a weekly top seller
  • 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
+5 more
Smartik
says

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

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

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

by
by
by
by
by
by