WordPress.org

Ready to get started?Download WordPress

Forums

Featured image selected from media library didnt appear on blog (18 posts)

  1. chowwg
    Member
    Posted 2 years ago #

    Hi all,

    Newbie here with my first wordpress blog
    http://www.bullioninsiders.com

    I am facing the issue mentioned on topic tittle.
    Whenever I select a image through the media library in the edit post page.
    the image will appear in it.
    Howevever the image doesnt appear on my blog.
    I have to reupload the image to troubleshoot this which will be costly in the long run considering the space i will be using for my blog.
    Any way to solve this issue?

    Btw, I'm using an external hosting service and all media storage is stored in the server.

    Please help!

  2. darrenmeehan
    Member
    Posted 2 years ago #

    I have to reupload the image to troubleshoot this which will be costly in the long run considering the space i will be using for my blog.

    Do you mean is works after uploading it again, or that you're uploading multiple files to test if this feature is working?

    You need to call this image in your theme, using something like

    if ( has_post_thumbnail() ) {
    	the_post_thumbnail();
    }

    Though it'll be more advacned as you'll need to add in code to adjust your setting etc. You can read more about it here.
    http://codex.wordpress.org/Post_Thumbnails

    If you need any help, ask away!

  3. chowwg
    Member
    Posted 2 years ago #

    Thanks for the prompt respond Darrendmeehan!

    I meant that it works after uploading it again, meaning there will be multiple same images stored in my media library.

    Where can I access to the coding as you stated?

  4. darrenmeehan
    Member
    Posted 2 years ago #

    Quickly looking through the themes code it's in functions.php

    I don't see why it shouldn't work though, the code seems ok. Are you running any plugins that interfere with this?

  5. chowwg
    Member
    Posted 2 years ago #

    no any plugins other than pre-installed ones askimet and hello dolly.

    Im equally contacting my hosting server provider to see if this is their issue, I am also having trouble installing new plugins which according to wordpress that it cant locate the directory in my server.

    here is the codes copied from functions.php

    /* Add Post Thumbnails */
    	add_theme_support( 'post-thumbnails' );
    
    	set_post_thumbnail_size( HEADER_IMAGE_WIDTH, HEADER_IMAGE_HEIGHT, true );
    
    	if ( ! function_exists( 'brunelleschi_admin_header_style' ) ) :
    
    		/* Backend Header Style */
    		function brunelleschi_admin_header_style() { ?>
    			<style type="text/css">
    			#headerimg {
    				display: block;
    				margin: 0 auto;
    				margin-bottom: 17px;
    				border-top: 1px solid #aaa;
    				border-bottom: 1px solid #aaa;
    			}
    			</style>
    		<?php }
  6. darrenmeehan
    Member
    Posted 2 years ago #

    hmm, it looks like an issue with your file permissions then. Your host should know the correct permissions needed for their hosting setup. Though I dont know why it works the second time around! Sorry I don't think I can help anymore until you talk to your host.

    The code looks fine, I think its your host that is the problem.

  7. chowwg
    Member
    Posted 2 years ago #

    Yes I appreciate your help in this issue...I'll post an update on this asap.

  8. chowwg
    Member
    Posted 1 year ago #

    Help,

    Its been 2 months, been busy, now that I get the chance to continue my work on my blog, I would love to solve this mystery.

    Apparently I have contacted my hosting provider, and everything seems to be Ok.

    But still pre-uploaded pictures does not appear on page when selected. (only newly uploaded pic appears on page)

    The site is powered by installatron.

    WordPress version 3.4.2

    Help =(

  9. chowwg
    Member
    Posted 1 year ago #

    Image link to the mentioned problem.
    By pre-uploaded, I meant pics which were uploaded and used as featured images on previous post prior to this post.

    Site url, Bullioninsiders.com

  10. chowwg
    Member
    Posted 1 year ago #

    Also, tried few themes. Problems still exist.

  11. esmi
    Forum Moderator
    Posted 1 year ago #

    Can we have a link to that page please?

  12. chowwg
    Member
    Posted 1 year ago #

  13. esmi
    Forum Moderator
    Posted 1 year ago #

    Can you point to a page (and image)?

  14. chowwg
    Member
    Posted 1 year ago #

    Yes I did provide links to my site and url of the problem.
    Just in case you missed them

    IMG
    http://i72.photobucket.com/albums/i164/uzzysmg/Untitled.png

    Site
    Bullioninsiders.com

    Thanks

  15. esmi
    Forum Moderator
    Posted 1 year ago #

    Can we have a direct link to that page,please?

  16. chowwg
    Member
    Posted 1 year ago #

    http://bullioninsiders.com/page/2/

    You can see clearly on those post without any featured images.

    I have selected pre-uploaded pics and it just doesnt work.
    Those with pics are newly uploaded images.

  17. calligrageek
    Member
    Posted 1 year ago #

    Hi all,
    I'm new too and am experiencing this same issue since having upgraded to 3.4.2
    My site is http://www.calligrageek.com, the page in question is http://calligrageek.com/panic-catching-the-big-fish/
    I can load the image I want to set, it actually shows in the little preview in the Edit post page but will not display on the page itself ( instead it shows the header from the home page).
    Oddly, it shows the image I chose to set as a thumbnail in Facebook when I shared the link.
    I have deleted the cookie wp-setting-1 in Chrome as suggested here but still no joy.
    My hosting company is HostGator.
    Please help - thank you

  18. calligrageek
    Member
    Posted 1 year ago #

    Hi all,
    Just a little update, my latest post worked fine with the featured image. Not sure if something was changed since last week but the original post I had an issue with still has it.

Topic Closed

This topic has been closed to new replies.

About this Topic