WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Publishing a post with an image causes the image to disappear (5 posts)

  1. Julius0range
    Member
    Posted 2 years ago #

    When I create a new post and upload/attach an image the image disappears after publish. The post remains, but image is gone from the post. The image is on the server and registered as media, but are not attached to the post.

    Anyone know what could be causing this?

  2. esmi
    Forum Moderator
    Posted 2 years ago #

    Unless you provide a link to a page demonstrating the problem, no one will be able to offer much in the way of assistance.

  3. B_Dark
    Member
    Posted 2 years ago #

    if you say about the "set featured image", maybe your theme they don't support default way of wordpress with "featured image", and have someone els way to show a main image for every post.

  4. Julius0range
    Member
    Posted 2 years ago #

    I can't give you a link to the page without making you an admin to the live site. This occurs when creating a new post as an admin.

    I could probably bandaid something to work by using the featured image instead. What I'd prefer is to just be able to create a post with an image (no text). The image appears on the front page like so:

  5. Julius0range
    Member
    Posted 2 years ago #

    ...and I forgot the image. Whoops!

    I ended up replacing the admin post-new.php file with a new copy and it seems to have fixed the problem.

    Very strange considering the file was unchanged, but hey.. it works!

Topic Closed

This topic has been closed to new replies.

About this Topic