• Hi – this is a great idea, but it doesn’t seem to work for the WooCommerce image sizes. I had an image named ORT8660.jpg. I tried changing the title of the image to “Open Rope Twist Baluster ORT8660” and the renamer changed the file name to “open-rope-twist-baluster-ort8660.jpg” – this is good but WooCommerce is still looking for ORT8660.jpg. I looked at the metadata and it didn’t all get changed. I’m thinking that maybe because we are trying to use the same sizes for multiple things??

    a:6:{s:5:”width”;i:800;s:6:”height”;i:800;s:4:”file”;s:60:”products/wood balusters/open-rope-twist-baluster-ort8660.jpg”;s:5:”sizes”;a:14:{s:9:”thumbnail”;a:4:{s:4:”file”;s:44:”open-rope-twist-baluster-ort8660-150×150.jpg”;s:5:”width”;i:150;s:6:”height”;i:150;s:9:”mime-type”;s:10:”image/jpeg”;}s:6:”medium”;a:4:{s:4:”file”;s:44:”open-rope-twist-baluster-ort8660-300×300.jpg”;s:5:”width”;i:300;s:6:”height”;i:300;s:9:”mime-type”;s:10:”image/jpeg”;}s:15:”fwt_shop_single”;a:4:{s:4:”file”;s:19:”ORT8660-300×300.jpg”;s:5:”width”;i:300;s:6:”height”;i:300;s:9:”mime-type”;s:10:”image/jpeg”;}s:14:”shop_thumbnail”;a:4:{s:4:”file”;s:44:”open-rope-twist-baluster-ort8660-134×134.jpg”;s:5:”width”;i:134;s:6:”height”;i:134;s:9:”mime-type”;s:10:”image/jpeg”;}s:12:”shop_catalog”;a:4:{s:4:”file”;s:19:”ORT8660-150×150.jpg”;s:5:”width”;i:150;s:6:”height”;i:150;s:9:”mime-type”;s:10:”image/jpeg”;}s:11:”shop_single”;a:4:{s:4:”file”;s:19:”ORT8660-300×300.jpg”;s:5:”width”;i:300;s:6:”height”;i:300;s:9:”mime-type”;s:10:”image/jpeg”;}s:12:”mosaic-thumb”;a:4:{s:4:”file”;s:42:”open-rope-twist-baluster-ort8660-96×96.jpg”;s:5:”width”;i:96;s:6:”height”;i:96;s:9:”mime-type”;s:10:”image/jpeg”;}s:13:”gallery-thumb”;a:4:{s:4:”file”;s:17:”ORT8660-96×96.jpg”;s:5:”width”;i:96;s:6:”height”;i:96;s:9:”mime-type”;s:10:”image/jpeg”;}s:9:”widget-24″;a:4:{s:4:”file”;s:42:”open-rope-twist-baluster-ort8660-24×24.jpg”;s:5:”width”;i:24;s:6:”height”;i:24;s:9:”mime-type”;s:10:”image/jpeg”;}s:9:”widget-32″;a:4:{s:4:”file”;s:42:”open-rope-twist-baluster-ort8660-36×36.jpg”;s:5:”width”;i:36;s:6:”height”;i:36;s:9:”mime-type”;s:10:”image/jpeg”;}s:9:”widget-48″;a:4:{s:4:”file”;s:42:”open-rope-twist-baluster-ort8660-48×48.jpg”;s:5:”width”;i:48;s:6:”height”;i:48;s:9:”mime-type”;s:10:”image/jpeg”;}s:9:”widget-64″;a:4:{s:4:”file”;s:42:”open-rope-twist-baluster-ort8660-64×64.jpg”;s:5:”width”;i:64;s:6:”height”;i:64;s:9:”mime-type”;s:10:”image/jpeg”;}s:9:”widget-96″;a:4:{s:4:”file”;s:17:”ORT8660-96×96.jpg”;s:5:”width”;i:96;s:6:”height”;i:96;s:9:”mime-type”;s:10:”image/jpeg”;}s:19:”swatches_image_size”;a:4:{s:4:”file”;s:17:”ORT8660-64×64.jpg”;s:5:”width”;i:64;s:6:”height”;i:64;s:9:”mime-type”;s:10:”image/jpeg”;}}s:10:”image_meta”;a:11:{s:8:”aperture”;i:0;s:6:”credit”;s:0:””;s:6:”camera”;s:0:””;s:7:”caption”;s:0:””;s:17:”created_timestamp”;i:0;s:9:”copyright”;s:0:””;s:12:”focal_length”;i:0;s:3:”iso”;i:0;s:13:”shutter_speed”;i:0;s:5:”title”;s:0:””;s:11:”orientation”;i:1;}s:3:”url”;s:36:”open-rope-twist-baluster-ort8660.jpg”;}

    https://wordpress.org/plugins/media-file-renamer/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter wputler

    (@wputler)

    Any ideas about making it work with WooCommerce product images?

    Thread Starter wputler

    (@wputler)

    Do you need more information to help figure out why all the sizes aren’t getting updated? I can give you a login to our staging environment.

    Plugin Author Jordy Meow

    (@tigroumeow)

    Hello,

    Mmm, testing and supporting WooCommerce would take some time for me, I actually never used it… Not sure how to do that quick.

    Yeah, it seems everything was renamed properly except WooCommerce. However, I am looping through all the image sizes in this metadata and update everything, wherever they are coming from, WooCommerce included. So why this has not been updated? I don’t know, and that’s weird, it actually makes no sense. Now I wonder if WooCommerce doesn’t override those values with its own values coming from somewhere else, and it would be also wrong.

    Can you do more testing and see if its like this with everything? Could you also kindly ask them if they have a particular process with image sizes they create and that could make a “renaming plugin” to fail?

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘WooCommerce Problem’ is closed to new replies.