Results 1 to 1 of 1

Thread: Foggy thumbnail in sidebar

  1. #1
    Thread Starter
    Junior Member andrea_s's Avatar
    Join Date
    Oct 2011
    Posts
    40
    Thanks
    25
    Thanked 1 Time in 1 Post

    Foggy thumbnail in sidebar

    Have a foggy thumbnail in the right sidebar on this link...


    Don't know if it is an inherited error after I made these changes in the featured slider:
    1. Installed plugin Ajax thumbnail rebuild
    2. Changed settings media on 120x120px and checked "Crop thumbnail"
    3. Rebuilt the thumbnails under Tools/Rebuild thumbnails
    4. Search in the file featured.php
    Code:
    <?php if(get_option('cp_ad_images') == 'yes') cp_ad_featured_thumbnail(); ?>
    and replaced it with
    Code:
    <a href="<?php the_permalink(); ?>" title="<?php the_title_attribute(); ?>" <?php if ((get_option('cp_ad_image_preview') == 'yes') && (cp_get_image_url_raw($post->ID, 'medium', 1) == true)) { ?>class="preview" rel="<?php echo cp_get_image_url_raw($post->ID, 'medium', 1); ?>" <?php } ?>><?php if(get_post_meta($post->ID, 'images', true)) cp_single_image_legacy($post->ID, get_option('thumbnail_size_w'), get_option('thumbnail_size_h'), 'preview'); else cp_get_image_url_feat($post->ID, 'thumbnail', 'preview', 1); ?></a>
    I think the foggy sidebar pic is about this code:
    Code:
    			
    <div class="post-thumb">
    <?php if (has_post_thumbnail()) { echo get_the_post_thumbnail($post->ID,'sidebar-thumbnail'); } ?>
    </div>
    In one of these files:
    sidebar-blog-posts.php line 20
    sidebar-popular.php line 41

    How should I change the code?

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Foggy slider pics after resize...
    By andrea_s in forum ClassiPress General Discussion
    Replies: 3
    Last Post: December 9th, 2011, 12:54 AM
  2. Foggy slider pics after resize...
    By andrea_s in forum Help Using ClassiPress
    Replies: 1
    Last Post: December 8th, 2011, 11:43 AM
  3. Display thumbnail in sidebar top ads widget
    By thuara in forum ClassiPress General Discussion
    Replies: 1
    Last Post: April 29th, 2011, 10:21 AM