New Landing How can we help? Atelier srcset of woocommerce product images not updating to CDN with wp total cache

Viewing 6 posts - 1 through 6 (of 6 total)
  • Posted in: Atelier
  • #264301
    Buysmartuk
    Member
    Post count: 22

    Hi guys,

    Not sure if doing something wrong but im investigating why I can’t get my watermarks to work on product images of the site.

    Part of that I have started digging into the markup to hunt the issue. One of the problems is that the srcset of product galleries is not updating to the CDN domain. Its remaining the main site.

    <li itemprop="image" data-thumb="https://fake.cloudfront.net/assets/uploads/2016/04/product-image-name_x.jpg" class="lslide active" style="height: 700px; margin-bottom: 0px;">
    <img width="500" height="375" src="https://fake.cloudfront.net/assets/uploads/2016/04/product-image-name_x.jpg" class="product-slider-image" alt="product-image-name_x" data-zoom-image="https://fake.cloudfront.net/assets/uploads/2016/04/product-image-name_x.jpg" srcset="https://fake.cloudfront.net/assets/uploads/2016/04/product-image-name_x.jpg 500w, https://fakedomain.com/assets/uploads/2016/04/product-image-name_x-300x225.jpg 300w, https://fakedomain.com/assets/uploads/2016/04/product-image-name_x-94x70.jpg 94w" sizes="(max-width: 500px) 100vw, 500px"><a href="https://fake.cloudfront.net/assets/uploads/2016/04/product-image-name_x.jpg" itemprop="image" class="woocommerce-main-image zoom lightbox ilightbox-enabled" data-rel="ilightbox[product]" data-caption="" title="product-image-name_x" alt=""><i class="fa-search-plus"></i></a></li>

    These should really be swapping to the cloudfront.net CDN domain instead of the original.

    Thanks.

    #264798
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    Hi @Buysmartuk

    Please can you check this with the default WordPress theme – we don’t do anything different to WooCommerce in providing that img tag with srcset, so I can’t think anything in the theme would be causing this.

    Let us know.

    – Ed

    #265619
    Buysmartuk
    Member
    Post count: 22

    No its just the same with default so its not the theme as such.

    Also noticed that on the lightbox its forces to the full original image so if you run a watermark plugin for instance it does not get applied.

    Thanks for getting back to me and sorry for the delay in replying.

    #265934
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    No problem. In that situation it’s better to check with woocommerce support maybe it’s something that they are aware.

    -Rui

    #265950
    Buysmartuk
    Member
    Post count: 22

    Ive posted it up on the wordpress plugin support forum. Not sure how active they are on that mind.

    Thanks.

    #266132
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    I Guess they have a decent support for a free plugin.

    -Rui

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register