Title: AMP Template inserting blank images, causing errors
Last modified: March 1, 2018

---

# AMP Template inserting blank images, causing errors

 *  Resolved [bherms](https://wordpress.org/support/users/bherms/)
 * (@bherms)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/amp-template-inserting-blank-images-causing-errors/)
 * We’re using the plugin on our blog and it’s inserting a bunch of blank amp-img
   tags into our layout that are causing AMP errors:
 * `<amp-img src="" width="" height="" layout="responsive"></amp-img>`
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Famp-template-inserting-blank-images-causing-errors%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Ahmed Kaludi](https://wordpress.org/support/users/ahmedkaludi/)
 * (@ahmedkaludi)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/amp-template-inserting-blank-images-causing-errors/#post-10034640)
 * Hi [@bherms](https://wordpress.org/support/users/bherms/)
 * Thank you for using the plugin!
 * Are you on the latest version of the plugin?
 * Also, I think that issue was coming from the swift theme, but you have switched
   to Design 3? Because as of now, I can’t see that validation issue.
 * Can you please let me know how you are adding thumbnails?
 * I’ll try my best to help you resolve this issue for you.
 *  Thread Starter [bherms](https://wordpress.org/support/users/bherms/)
 * (@bherms)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/amp-template-inserting-blank-images-causing-errors/#post-10041363)
 * It looks like you were right about the Swift theme being the issue. After I switched
   I ran the validator but I think we have Fastly cache set up so it was still getting
   the old version. Appears to be all good now. Thanks!
 *  Plugin Author [Ahmed Kaludi](https://wordpress.org/support/users/ahmedkaludi/)
 * (@ahmedkaludi)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/amp-template-inserting-blank-images-causing-errors/#post-10047850)
 * [@bherms](https://wordpress.org/support/users/bherms/)
 * Glad to hear that it was fixed.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘AMP Template inserting blank images, causing errors’ is closed to new
replies.

 * ![](https://ps.w.org/accelerated-mobile-pages/assets/icon-256x256.png?rev=1693616)
 * [AMP for WP - Accelerated Mobile Pages](https://wordpress.org/plugins/accelerated-mobile-pages/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/accelerated-mobile-pages/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/accelerated-mobile-pages/)
 * [Active Topics](https://wordpress.org/support/plugin/accelerated-mobile-pages/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/accelerated-mobile-pages/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/accelerated-mobile-pages/reviews/)

## Tags

 * [errors](https://wordpress.org/support/topic-tag/errors/)

 * 3 replies
 * 2 participants
 * Last reply from: [Ahmed Kaludi](https://wordpress.org/support/users/ahmedkaludi/)
 * Last activity: [8 years, 3 months ago](https://wordpress.org/support/topic/amp-template-inserting-blank-images-causing-errors/#post-10047850)
 * Status: resolved