• Resolved kampun

    (@kampun)


    Hello @ampforwp,
    Thank you for the nice plugin.
    I have little strange error.
    I have created a separate Home page/Front page for AMP version site. This Home page has been developed using your “Custom AMP Editor”. In this page there are 4 images (2 JPG + 2 SVG).
    I get error message in two instances on the same page: AMP HTML Tag has an invalid layout specified by its attributes. After looking at those error details I can figure out that both SVG images are creating this error. I am not sure about SVG support on AMP but my priority is to use SVG images. Since my About page on the same domain uses SVG and on AMP version it doesn’t show image.
    I hope I have provided you the sufficient details. Please provide the solution.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Ahmed Kaludi

    (@ahmedkaludi)

    Do you have the SVG upload filetype allowed in the PHP configuration?

    Thread Starter kampun

    (@kampun)

    @ahmedkaludi I am not sure about the question you have raised. But read my following comments which would be relavant to your question.
    I am using a plugin to get support for SVG images. (SVG Support- plugin name)

    Thread Starter kampun

    (@kampun)

    I have found the solution. In SVG images’ dimensions I missed to include height and width. After placing them it worked nicely.
    Thank you very much AMPforWP team for wonderful work.

    Darshan.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘AMP HTML Tag has an invalid layout specified by its attributes’ is closed to new replies.