Just Resize

Developer

Isaac Raway - Airways

3rd Party (Commercial)
Current Version: 1.3
Release Date: Jun 17, 2013

Timed License

Duration: 6 months
Renewal Price: $12.00
What's this?

License Agreement

Buy Now!

$12.00
Qty:

EE Version Support

  • ExpressionEngine 2

Compatibility

If an item is crossed out, it might be untested, not applicable or incompatible. Contact the developer to be sure.

  • Updater
  • Multi Site Manager
  • Stand Alone Entry Form
  • Low Variables
  • Content Elements
  • Better Workflow
  • Matrix
  • Grid
  • Webservice
  • Publisher

Requirements

  • jQuery for the Control Panel

Add-On Type(s)

Module

Tags

Just Resize does one thing - it just resizes images. It does not fetch remote images, it doesn't do sepia tone effects, it just resizes and returns a URL to the saved image. This combined with copious amounts of debug output make it the best choice for simple image resizing tasks - it Just works.

Given either a full local path to a file, or a full URL to a file on your site, Just Resize will resize that image and return a cached URL:


<img src="{exp:just:resize src='{file1:path}' 
            width='400'}" />

That’s it.

This works with a few required configuration settings in your config.php to make things simple and obvious:

$config['just_resize_output_subdir'] = '_thumbs';
$config['just_resize_default_file'] = '/var/www/docs/public/assets/images/default.png';
$config['just_resize_fallback_url'] = 'http://example.com/assets/images/fallback.png';
$config['just_resize_server_path'] = '/var/www/docs/public/';
$config['just_resize_server_url'] = 'http://example.com/';
$config['just_resize_scream'] = false;

Finally, here is an example of the very detailed debug output provided by the plugin:

Tag: {exp:just:resize src=’/var/www/docs/public/uploads/images/arrakeen11080p_533189.jpg’ width=‘400’}

Just Resize: output_subdir -> _thumbs
Just Resize: default -> /var/www/docs/public/assets/images/default.png
Just Resize: fallback -> http://example.com/assets/images/default.png
Just Resize: server_path -> /var/www/docs/public/
Just Resize: server_url -> http://example.com/
Just Resize: src -> /var/www/docs/public/uploads/images/arrakeen11080p_533189.jpg
(0.256179 / 30.38MB) Just Resize: Final input source -> /var/www/docs/public/uploads/images/arrakeen11080p_533189.jpg
Just Resize: Source width -> 1920
Just Resize: Source height -> 1080
Just Resize: Calcualted target height from provided width -> Array ( [p_width] => 400 [height] => 225 )
Just Resize: Target width -> 400
Just Resize: Target height -> 225
Just Resize: Final output target -> /var/www/docs/public/uploads/images/_thumbs/arrakeen11080p_533189-400x225.jpg
Just Resize: Result URL -> http://example.com/uploads/images/_thumbs/arrakeen11080p_533189-400x225.jpg

This entry was created June 14, 2013, 9:14 am.
This entry was last updated March 31, 2015, 8:23 am.

Disclaimer: Information about ExpressionEngine add-ons is provided as a service to you, the user, and every member of the ExpressionEngine community. devot:ee is not responsible if you hose, mangle, wreck, or otherwise destroy your EE website by installing an add-on that you found out about at this site, regardless of its rating, Favorites status, commercial or free status, or general popularity. Caveat EEmptor!

Returns: devot:ee has a 30-day return policy on all commercial add-ons sold through devot-ee.com. If you need to return an add-on, do not go to the developer or the developer's site, but rather visit our returns page at https://devot-ee.com/returns to initiate your return. If you have questions, email support@devot-ee.com.

There are no reviews for this add-on yet.

What are you waiting for? Rate it and review it!