Aller au contenu
FR

Crop / Resize images in WordPress templates

Version audio de cet article

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

Crop / Resize images

Crop / Resize WordPress images