Skip to content

Bright Start – Delete an Image from a Post/Page

Believe it or not deleting an image from a WordPress post/page is harder than adding an image. It is important to only delete the code that you want to delete. There are three or four different styles of image code that you should look out for when deleting. Most important thing is the start and end of the image code just highlight from start to end and delete. Use the cases below as reference.

Case 1: Plain Image

This one is pretty east starts with <img and then ends with />.


Case 2: Image with a Caption

This code set will be a little bit longer, but the same rules apply. Starts with [caption and then ends with [/caption]

[caption id="attachment_219" align="aligncenter" width="500" 
caption="This is a Caption!"]<img src="https://www.groverweb.com
/wp-content/uploads/2011/11/wordpress-add-images-1.png" alt="Word
Tutorials for Bright Start" title="Grover Web Design Add Images to 
WordPress" width="500" height="500" class="size-medium wp-image-
219" />[/caption]

Case 3: Image Wrapped in a Link (a tag)

This case is when your image is clickable into a larger image, there will be an “a” tag wrapping the image code. This one will start with <a and then end with </a>.

<a href="https://www.groverwebdesign.com/wp-content/uploads/2011/11/
wordpress-add-images-1.png?x24218"><img src="https://www.groverweb
.com/wp-content/uploads/2011/11/wordpress-add-images-1.png" alt="
Tutorials for Bright Start" title="Grover Web Design Add Images to 
WordPress" width="500" height="500" class="size-medium wp-image-219" 
/></a>

Case 4: Image Wrapped in Center Tag

Occasionally, you will see images wrapped in centered tags. These will start with <center> and end with </center>

<center>any type of image from above</center>
Grover Web Design
Grover Web Design
60 Google reviews
Adam Ruffin
Adam Ruffin
2024-04-02
Fantastic service! Donny was very patient with our changes during the process and we would highly recommend his company !
Craig Williams
Craig Williams
2024-04-02
Donny has been hosting and handling our website for years. I would highly recommend Grover Web Design!
Amanda Bigger
Amanda Bigger
2024-04-02
As a small business owner it is extremely difficult to find a website builder and designer that is willing to cater to your needs, regardless of your budget. In the four years we have been with Grover Web Design we continue to be impressed with their knowledge, attention to detail, prompt response time, and professionalism. Thank you Grover Web Design for continuing to provide us at Bigger Glass Company with the best all-around website support!
Teri Todd
Teri Todd
2023-10-20
We have always received compliments on our website design! Donny was understanding of what we needed and created a site that was truly reflective of who we are and what we do!
Beth Bunge
Beth Bunge
2023-10-20
GWD is the Best in the industry. They designed our website and listened to our input and gave great ideas and expertise. We get tons of compliments on our website and that has increased business for us! In addition, they manage our website and taught us how to do some changes ourselves. If we ask they immediately update and makes changes as needed. They are responsive and so professional and fun to work with. Highly recommend!
Clare Hungiville
Clare Hungiville
2023-10-19
I cannot say enough good things about Donny Grover and his team at Grover Web Design ! I contacted Grover Web Design to do a series of web pages for various companies. They are fast, cost efficient and super creative !! Their customer service followup is simply the BEST. Never going to another designer again ! Donny, thank you for all you do, Clare Hungiville.
Tanner Renken
Tanner Renken
2023-10-13
I’ve been working with GWD for a few years now and have nothing negative to say. Donny and his team do awesome work! They are quick to respond and help out whenever they can! 10/10 recommend!
Ron Norris
Ron Norris
2023-06-22
We have been fortunate to have Grover Web Design as our website developer for the past 8 years. Their service and support have been exceptional throughout our partnership. What sets them apart is their ability to assist us with any IT related question or project. We highly recommend Grover Web Design for their expertise and dedication to their clients.
Denada Jackson
Denada Jackson
2023-05-10
It is always a pleasure to work with Donny and Team. I appreciate their prompt responses and always capturing our client's vision.
Womens Health Action
Womens Health Action
2023-05-08
As a small team based in New Zealand, we've used Grover Web Design to help with the running/maintenance of the Global Big Latch On website. We've always found Donny to be easy to communicate with, professional, and responsive (despite our time zone differences). We would recommend GWD to others.
Contact Us

We can’t solve your problem if you don’t tell us about it!

Free Consultation