NB: Make sure you do a back up of your theme, files and database before attempting the tutorials
---- Last modified : Sep 09 2022
Estimated reading time : 0 minutes, 28 seconds - 94 words
This tutorial will set up something similar of TimThumb where you can efficiently crop and resize WordPress images.
It allows us to avoid using primary WordPress functions such as adding add_image_size. We also need to develop the way we will display thumbnail images and image attached to WordPress queries.
Here are the 3 files included with Crop / Resize images:
thumb.php – Crop and resize function
functions.php – Requires thumb.php
results.php – Displays Thumbnails and WordPress attachments in various formats.
No known conflicts