Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New to the CF scene
    Join Date
    Sep 2013
    Posts
    3
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Css no thumbnail image

    hey everyone, hoping one of y'all can help since i'm pretty new to coding.

    I created a site/blog for my photography and when i go to link my page, I don't get an image thumbnail.. and considering its a photography blog, thats rather important.

    the site is

    www.jinu-kim.com


    and the code (i'm not sure if this is even the right part of the code) is





    <?php if(have_posts()) : ?>

    <?php while(have_posts()) : the_post(); global $post; ?>
    <div <?php post_class() ?>>

    <?php if(has_post_thumbnail() && get_post_format() != 'image' && siteorigin_setting('display_featured_image')) : ?>
    <div class="featured-image">


    <?php the_post_thumbnail(null, array('class' => 'main-image desktop')) ?>
    <?php the_post_thumbnail('post-thumbnail-mobile', array('class' => 'main-image mobile')) ?>
    </div>
    <?php endif; ?>







    anyone have any ideas or thoughts?
    any input is much appreciated

  • #2
    Senior Coder
    Join Date
    Sep 2010
    Posts
    2,451
    Thanks
    17
    Thanked 275 Times in 275 Posts
    There has to be more code than that for it to work. Does the upload function even make thumbnails ? What to you want it to do, display a larger image when you click a thumb ? One problem I've come across on blog pages is people put up these large images, all the way down the page and it takes forever to load the page, even on dsl.
    Welcome to http://www.myphotowizard.net

    where you can edit images, make a photo calendar, add text to images, and do much more.


    When you know what you're doing it's called Engineering, when you don't know, it's called Research and Development. And you can always charge more for Research and Development.

  • Users who have thanked DrDOS for this post:

    mrnicesocks (09-19-2013)

  • #3
    New to the CF scene
    Join Date
    Sep 2013
    Posts
    3
    Thanks
    1
    Thanked 0 Times in 0 Posts
    thanks for your response!


    i think i may have confused you lol
    What I would like to do is to have a thumbnail image displayed when i share the link.
    for example, there is a facebook share option ont he bottom of each post.
    however, when you click the share button, no thumbnail image is displayed..

    when sharing any blog's site, there tends to be a thumbnail image that shows an example image from that post.


    would it help if i provided the entire loop.php file?

  • #4
    New to the CF scene
    Join Date
    Sep 2013
    Posts
    3
    Thanks
    1
    Thanked 0 Times in 0 Posts
    anyone?


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •