• On My WordPress photo gallery i have lots of photos which i will delete. I wonder if the pictures in my blog posts will disappear if I delete photos from the photo gallery,

Viewing 3 replies - 1 through 3 (of 3 total)
  • Is the photo gallery a plugin? Is it a block in the editor? Is it a page or post?
    Define “My WordPress photo gallery”.

    Thread Starter noel1275

    (@noel1275)

    @joyously

    I mean the standard WordPress media gallery

    I don′t mean a block gallery and not a plugin gallery!

    • This reply was modified 5 years, 9 months ago by noel1275.

    OK.
    The original WP gallery is a shortcode. Without any parameters, it will show all the images attached to the post it is in. When it is inserted using the Media modal dialogs, it puts the attachment IDs into the gallery shortcode so that you can show images that are not attached to the post it is in.
    If you remove images from a gallery, they remain in the Media Library, and in whatever other posts they were used in.
    To delete an image from your site, you have to go to the Media Library and delete it. But it can still be referenced in a post (so it would be a broken image).
    To delete an image from a post, you have to go to that post to delete it. But it is still in the Media Library.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘photo gallery’ is closed to new replies.