Tuesday 29 November 2016

On The Fly Image Processing Causes More Problems Than It Fixes


Images are the bread and butter of the web. Without images and other media the web would be quite different and not nearly as enriching; they are like a rug that really ties the room together. However, there is a concerning trend in the WordPress community to use on the fly (OTF) image processing libraries. Avoidable compatibility issues arise when themes and plugins forego WordPress’ built-in image resizing functionality in favor of OTF processing libraries. In this article I’ll be going over the implications of OTF processing in WordPress, the benefits of following image standards, and how to get along with images (and subsequently other developers) in a WordPress environment.
What Is On The Fly Image Processing
Before we dive too deep, I should briefly explain what OTF image processing is, how to spot it, and where you can typically find it within WordPress projects. OTF image processing, also known as on-the-fly cropping, enables developers to reshape, crop, and filter images through the use of URL parameters (old school) or manipulation classes (more common approach nowadays). Using OTF processing enables the developer to define one-off, custom dimensions and manipulation
Source: https://managewp.org/articles/13917/on-the-fly-image-processing-causes-more-problems-than-it-fixes




source https://williechiu40.wordpress.com/2016/11/29/on-the-fly-image-processing-causes-more-problems-than-it-fixes/

No comments:

Post a Comment