Title: Alt attribute error
Last modified: November 15, 2023

---

# Alt attribute error

 *  Resolved [rynd2it](https://wordpress.org/support/users/rynd2it/)
 * (@rynd2it)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/alt-attribute-error/)
 * On this page I see no image and the message “this image has a missing alt attribute”
   I understand that it is expecting to see alt=”something”, however I have looked
   at the HTML code and I find other images on other pages (see Broadland) have 
   itdentical HTML and those images display
 *     ```wp-block-code
       <figure class="wp-block-image size-full"><img src="https://broadlandmodelrailwayclub.co.uk/wp-content/uploads/2023/10/broadland_wherry.jpg" alt="" class="wp-image-1431"/></figure>
   
       <figure class="wp-block-image"><img src="http://broadlandmodelrailwayclub.co.uk/wp-content/uploads/2023/04/Broad-Oak-9.19a-300x225.jpg" alt="" class="wp-image-666"/></figure>
       ```
   
 * The first one displays, the second does not – what is causing this please?
    -  This topic was modified 2 years, 4 months ago by [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Falt-attribute-error%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Moderator [threadi](https://wordpress.org/support/users/threadi/)
 * (@threadi)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/alt-attribute-error/#post-17204891)
 * The thumbnail image file referenced in the 2nd code does not exist. See: [http://broadlandmodelrailwayclub.co.uk/wp-content/uploads/2023/04/Broad-Oak-9.19a-300×225.jpg](http://broadlandmodelrailwayclub.co.uk/wp-content/uploads/2023/04/Broad-Oak-9.19a-300×225.jpg)
 * The message you see in the block editor indicates exactly this error. If you 
   click on the message, you should also see the block options for images, including
   where you can replace the file. Try to find the image you want to see and set
   it again.
 * It is also possible that the original image file exists, but not the smaller 
   thumbnail that is referenced here. With plugins such as [https://wordpress.org/plugins/regenerate-thumbnails/](https://wordpress.org/plugins/regenerate-thumbnails/)
   you can regenerate these thumbnails and possibly solve the problem. If you do
   this, pay attention to the displayed dimensions to see if they match what is 
   currently not available.
 *  Thread Starter [rynd2it](https://wordpress.org/support/users/rynd2it/)
 * (@rynd2it)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/alt-attribute-error/#post-17206521)
 * THANK YOU VERY MUCH!
 * You have saved the day and the website is now up & running 🙂
 *  Moderator [threadi](https://wordpress.org/support/users/threadi/)
 * (@threadi)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/alt-attribute-error/#post-17206572)
 * Nice if I could help. You are welcome to set the topic to solved.
 *  Thread Starter [rynd2it](https://wordpress.org/support/users/rynd2it/)
 * (@rynd2it)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/alt-attribute-error/#post-17206605)
 * Solved 🙂

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

The topic ‘Alt attribute error’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 2 participants
 * Last reply from: [rynd2it](https://wordpress.org/support/users/rynd2it/)
 * Last activity: [2 years, 4 months ago](https://wordpress.org/support/topic/alt-attribute-error/#post-17206605)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
