WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Images won't show up in blog posts?! (13 posts)

  1. Baileyph
    Member
    Posted 3 years ago #

    I am currently trying to post an image in my blog post (JPG), and when I preview the post, the image is inserted and everything looks perfect. When I actually publish, the image is not in the post. Anyone have any idea what is going on? Am I using the wrong file type?

  2. esmi
    Forum Moderator
    Posted 3 years ago #

    Check your uploads path in Settings->Media.

  3. Baileyph
    Member
    Posted 3 years ago #

    What exactly am I looking for? Both fields under "Uploading Files" are blank.

  4. esmi
    Forum Moderator
    Posted 3 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 specific assistance.

  5. Baileyph
    Member
    Posted 3 years ago #

    link to the blog post with no picture:
    http://willsreport.com/

    link to preview:
    http://willsreport.com/?p=24&preview=true&preview_id=24&preview_nonce=5724636a24

    link to settings page?:
    http://willsreport.com/wp-admin/options-media.php

    I'm unsure about which page I'm actually supposed to link?? Considering it's the image in the post giving me the problem and not a specific page.....

  6. esmi
    Forum Moderator
    Posted 3 years ago #

    Your theme's index.php template file appears to be using <?php the_excerpt();?> instead of <?php the_content();?> in its template files. Simply edit the file and replace <?php the_excerpt();?> with <?php the_content();?>.

  7. Baileyph
    Member
    Posted 3 years ago #

    I'm sorry, but I am looking under
    Editor->Main Index Template (index.php) and I really cannot find the section that says <?php the_excerpt();?>. Am I just not seeing it? I have looked like a million times. Am I in the wrong section under under Templates?

    Link to the page I am looking at:

    http://willsreport.com/wp-admin/theme-editor.php?file=/themes/fusion/index.php&theme=Fusion&dir=theme

  8. esmi
    Forum Moderator
    Posted 3 years ago #

    We can't see files in your Admin area. Try placing a copy of the file into the WordPress pastebin and post the pastebin url here. Perhaps someone will be able to spot the problem and suggest a solution.

  9. Baileyph
    Member
    Posted 3 years ago #

    Ok, here is my index.php file on pastebin. If anyone can spot the problem with the file that is making my images not show up in my blogposts, please let me know.

  10. Baileyph
    Member
    Posted 3 years ago #

    http://pastebin.com/BBUUmKdw

    this didn't show up in my last post for some reason

  11. Baileyph
    Member
    Posted 3 years ago #

    Ok, I inserted <?php the_content();?> at the end of line 28, and the images are showing up in the correct place. The only problem is that now, the post text is doubled. What is going on there? Did I insert the code into the wrong place?

  12. I think you need to remove <?php fusion_current_post_length(); ?>

  13. Baileyph
    Member
    Posted 3 years ago #

    That worked! :) Thanks a lot

Topic Closed

This topic has been closed to new replies.

About this Topic