WordPress.org

Ready to get started?Download WordPress

Forums

Mini Loops
Thumbnail Name (3 posts)

  1. Bart Dabek
    Member
    Posted 1 year ago #

    Hey there, come to another optimization that would be great to make it back to you... if you could replace the filename so that it doesn't use ml- that would be great...

    $new = image_resize( $file, $width, $height, true, "{$width}x{$height}" );

    standard file naming is as an example Islands3-89x88

    if wordpress already has created this thumbnail and we use your plugin then your plugin creats

    Islands3-ml-89x88 yet another copy... even if the file exists already creating duplicate content that's not needed... would you mind making the change in the core?

    http://wordpress.org/extend/plugins/mini-loops/

  2. Bart Dabek
    Member
    Posted 1 year ago #

    an update to this, this also breaks caching as w3tc doesn't upload the cropped images, u should setup a hook to upload them

  3. Frederick Townes
    Member
    Posted 1 year ago #

    You should be able to have W3TC upload files by adding a regex or wildcard to the custom file paths on the CDN settings tab. And consider switching to an origin pull CDN.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic