Hi,
Can you show me something error messages?
Thank you
Thread Starter
miem
(@miem)
This is the error message:
Notice: Undefined index: shop_catalog in /wp/wp-content/plugins/wp-flickr-press/FlickrPress.php on line 387
-
This reply was modified 8 years, 4 months ago by
miem.
Hi,
Can you change getThumbnailSizeSuffix method in FlickrPress.php ?
public static function getThumbnailSizeSuffix($size='') {
if ( $size ) {
if ( array_key_exists($size, self::$SIZE_TO_SUFFIX_MAPS) ) {
return self::$SIZE_TO_SUFFIX_MAPS[ $size ];
} else {
return $size;
}
} else {
return self::$SIZE_TO_SUFFIX_MAPS[ self::getThumbnailSize() ];
}
}
if can’t modify file I will release new version.
Thread Starter
miem
(@miem)
It would be great if you can update the plugin. That way more people will prophet from the change.
Thank you for all your help!!
Hi,
I just want to test wp-flickr-press with woocommerce because difficult setup woocommerce on my environment.
if resolved problem by this patch I will release new version.
I think no problem currently environments so I will release as new version with include this patch.
Thank you.
-
This reply was modified 8 years, 4 months ago by
tatsuya.
Thread Starter
miem
(@miem)
You are amazing, it works!!
Thread Starter
miem
(@miem)
To early, it doesn’t work. I forgot to refresh my screen.
Oh…
Show same error messages?
Thread Starter
miem
(@miem)
I will activate the plugin if I need it so you won’t have to search for something you can’t recreate on your server.
ah do you mean can’t testing also your environment?
I tested flickr image in woocommerse product content with wp-flickr-press.
WooCommerse specify thumbnail size is shop_xxx so when not flickr thumbnail sizes specified use default thumbnail size.
I was released v2.4.5 so please test on your environment.
-
This reply was modified 8 years, 4 months ago by
tatsuya.
Thread Starter
miem
(@miem)
Thank you so much for all you work!!