Image Script

Image Script

Our themes use a dynamic script called WordThumb (similar to TimThumb) to generate the thumbnails at any dimension on the fly. It takes the Large Image file (specified in wp-admin > Settings > Media) and generates the image at any size that you specified in the theme option panel.

If the image script is not supported by your server or you prefer to use the native image, it can be disabled at Themify > Settings > Image Script tab. If you see img.php images, check FAQ #2 about the common issues.


Once the image script is disabled, dropdown will be available for you to choose which image size to use in default index layout and single post layout modules, as well as in each post editing screen. The image sizes (Thumbnail, Medium, Large) can be set at wp-admin > Settings > Media. In other words, you can specify 250 x 250px medium size to be used in the index pages and 560 x 300px large size for single post page.

image size selection

Rebuild Thumbnails

When you adjust thumbnail dimensions under WP > Settings > Media, the new sizes are not applied to the images you have previously uploaded to your site. To make the changes affect all thumbnails on your site you need to install and run this plugin:

Modifying the URL passed to Image Script

The image function also includes a filter, themify_image_script_src, that can be used to modify the URL passed to img.php. See more details on its usage in this related document.