Custom images sizes are not uploading to the CDN
-
We are seeing that custom images sizes are not being uploaded to the CDN… So in functions.php we register a new image size as follows:
add_image_size( ‘el-img-medium’, 720, 9999, false );
This will create an image that might be as follows:
wp-content/uploads/2015/02/my-image-720-308.jpgThis images does not sync to the CDN. Other custom image sizes do sync to the CDN e.g.
add_image_size( ‘el-img-square-medium’, 720, 720, true );Is there a way to sync images that have an “auto height” i.e. have a height according to their aspect ratio. Or is the only way to do this via the custom file list pattern matching?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Custom images sizes are not uploading to the CDN’ is closed to new replies.