How to disable TimThumb but still have thumbnails?

­

This solution is not an official thing yet. It uses JIG's Custom links feature. By using this method you lose the ability to custom link. Retina Ready feature will be essentially off, as it depends on TimThumb. Furthermore it's only available for images of the WordPress Media Library.

  1. Go to the Lightboxes tab > Maximum size for lightbox (the image will link to this size) and choose the smallest possible size. This will be used for thumbnail. If your desired size is not there, you need to add the name of the image size by hand to the shortcode, such as:
  2. Go to the General settings > Custom link's target and choose Lightbox: video / iframe / different image option to open the automatically custom-linked full size image in the lightbox.
  3. Go to TimThumb & CDN tab > U and choose 
  4. What actually does the magic is the following code, that you add to the functions.php of your (child) theme:
This automatically sets a custom link on every image to the full size.

Please note that this workaround is known to cause problems with PhotoSwipe lightbox, limiting the size of the photo in it.

Helpful?  Yes  No 67% found this satisfactory.
This FAQ entry was posted in Advanced use on December 10, 2017