Get Post Image can easily resize, adjust, flip, and make a lot of operations in the uploaded images right into the code. Site visitors can’t actually make HTTP requests to generate the images because phpThumb was adjusted to allow only WordPress to do it. The image will be saved in the same directory of the converted image and will never be processed again.
For example, to display a post thumbnail in a 200×100 format, you can simply do:
Or as a shortcode in the post content:
If the picture is a little bit dark, you can increase brightness in 20% with:
And the shortcode:
There’s many more options. Please visit the plugin page for configuration, usage, examples and other information.
- Allow any location in filesystem for the image to be converted
- Adjusting rules to get the proper post_id
- Adjusting rules to get the proper image_id
- Removing get_the_image dependency
- Converting images on the server side
- Adding the security password
- Improving the calling method
- phpThumb update to fix security issues;
- Displaying nice error messages instead of breaking execution.
- Minor changes to make it work properly on Windows servers.
- Changed the way of calling the plugin, now it’s done via an array of options. See the documentation for more info;
- Now it works with multisite. There’s no absolute way of make it work. Some servers and websites will need a different parse to get the images path;
- There’s a verification to check if “get-the-image” is also installed.
- Plugin released. Don’t expect multisite to work.