I used this as reference.
https://wpml.org/forums/topic/no-featured-images-in-other-language/
aq_resizer-1x.php & aq_resizer-2x.php
comment out this code
//check if $img_url is local
if(strpos( $url, home_url() ) === false) {
$image = array (
0 => $url,
1 => $width,
2 => $height
);
return $image;
}
and then
second language is natural:140px x 140px too.
<img src="https://www.exsample.jp/wp-content/uploads/2014/08/2911399_B_2_500.min_-140x140.jpg" width="140" height="140" alt="2911399_B_2_500.min" pagespeed_url_hash="1992197444">
Is this all right?
Should I edit anything sf-products.php too?
if ( has_post_thumbnail() ) {
$image_title = esc_attr( get_the_title( get_post_thumbnail_id() ) );
$image_link = wp_get_attachment_url( get_post_thumbnail_id() );
if ($image_link == "") {
$image_link = "default";
}
$image = sf_aq_resize( $image_link, 70, 70, true, false);
if ($image) {
$image_html = '<img src="'.$image[0].'" width="'.$image[1].'" height="'.$image[2].'" alt="'.$image_title.'" />';
}
}
Or,
Do you have better solution?