Home>Support>Image scrset is unkown

Image scrset is unkown

Hi!
I have SiteOrigin Widgets Bundle v:1.8.2 and WordPress 4.7.3.
I am gettint an html validator error saying that scrset is invalid, and really! :)
I have tried to inactiveta and activate the plugin, uploaded to tzhe latest version, and regenared all tha image thumbnails, and still the image scrset is unknown.
Could you help me with this?
Of course I have emptied the cache before each check.
The website is:

Főoldal

The error is in the footer, where the webstar logo is.
Thank you!

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 7 years, 6 months ago Alex S
    Hi, I Work Here

    Hi Molnareva,

    Can you please clarify what the validator says? I don’t see anything wrong with your srcset.

  2. 7 years, 6 months ago molnareva05

    Hi Alex!

    The validator says:
    “Error: Bad value for attribute srcset on element img: Must contain one or more image candidate strings.””

    Check the logo at the bottom of the page, the problem is there.
    Basically I have realised that the whole page is using elements of this widget, and the scrsets are ok everywhere else, except there. That part is a SiteOrigin Image widget.

  3. 7 years, 6 months ago Alex S
    Hi, I Work Here

    Hi Molnareva,

    I just checked and that image doesn’t actually have a srcset present. Did you remove it?
    What are you using to validate your HTML?

  4. 7 years, 6 months ago molnareva05

    Hi Alex!

    Yes, I have modified it, as this is a live site and we would like to optimize is I could not wait for this part of the widget to be fixed, so I have changed SiteOrigin Image widget to SiteOrigin Editor and inserted the image src code, this way I could walk around the problem.
    I have found the github repo of the widget budle, I have added a new issue about it, if I have time maybe I will have closer look at it as well.
    Thanks for your support anyway, I really appreciate your quick responses, this plugin has a much better support than many others!

  5. 7 years, 6 months ago Alex S
    Hi, I Work Here

    Hi Molnareva,

    So, to clarify, what did you do to replicate this issue? I ask as I can’t seem to replicate this issue and we need to be able to replicate it to be able resolve this issue. If you could provide the exact steps to take to replicate this issue that would be much appreciated.

  6. 7 years, 6 months ago molnareva05

    Hi Alex!
    Sure!
    I am using a template with a header and footer widget area.
    I have installed SiteOrigin Widget Bundle.
    On the adminpanel I went to Appeareance and selected Widgets.
    I dragged and dropped SiteOrigin Image element to the footer widget area and selected a .svg image as a logo.
    I have saved the widget area.
    After refreshing the page I saw an empty srcset attribute in the img tags of the logo.
    I hope it helped.

  7. 7 years, 6 months ago Alex S
    Hi, I Work Here

    Hi Molnareva,

    An SVG? I suspect that’s the reason for this. Does this issue occur when using any other format for you?

  8. 7 years, 5 months ago molnareva05

    Hi Alex,
    Yes, it does happen with .png image also.

  9. 7 years, 5 months ago Alex S
    Hi, I Work Here

    Hi Molnareva,

    Unfortunately, I can’t seem to replicate this issue. Are you able to replicate this issue when all non-SiteOrigin plugins are disabled?

Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More