Support » Plugin: wp-flickr-press » some image in Woocommerce not rendered

  • Resolved miem

    (@miem)


    I hate to bother you again, but there seems to be a conflict with woocommerce and this wonderful plugin. Some images on the product pages are not rendered by the code and the images are not visible any more. If I disable wp-flickrpress, they reappear.

Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Author tatsuya

    (@tatsuya)

    Hi,

    Can you show me something error messages?

    Thank you

    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 2 years ago by  miem.
    Plugin Author tatsuya

    (@tatsuya)

    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.

    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!!

    Plugin Author tatsuya

    (@tatsuya)

    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 2 years ago by  tatsuya.
    miem

    (@miem)

    You are amazing, it works!!

    miem

    (@miem)

    To early, it doesn’t work. I forgot to refresh my screen.

    Plugin Author tatsuya

    (@tatsuya)

    Oh…

    Show same error messages?

    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.

    Plugin Author tatsuya

    (@tatsuya)

    ah do you mean can’t testing also your environment?

    Plugin Author tatsuya

    (@tatsuya)

    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 2 years ago by  tatsuya.
    miem

    (@miem)

    Thank you so much for all you work!!

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘some image in Woocommerce not rendered’ is closed to new replies.