hadi Posted September 18, 2010 Share Posted September 18, 2010 I have installed the Carousel code using tutorial at http://www.wolf-howl.com/blogs/how-to-carousel/ now i amfacing a problem that every thing is working expect images thumbnail. here is the site http://www.digpk.com/ where i am try to make carousel. you can see the featured posts at top with missing thumbnails. Thanks in advance. picture of the problem is also attached. [attachment deleted by admin] Quote Link to comment Share on other sites More sharing options...
fortnox007 Posted September 18, 2010 Share Posted September 18, 2010 I bet that if you have the images on your server your path to the image is incorrect. I don't see much code though, Maybe provide us with some code and the path to your images. Quote Link to comment Share on other sites More sharing options...
hadi Posted September 25, 2010 Author Share Posted September 25, 2010 here is the code and the thumb.php is attached. i added the code below in custom-functions.php of thesis theme. function top_carousel(){ global $post; if (is_single ()){ echo '<div id="topcarousel">'; $the_query = new WP_Query(array( 'category_name'=>'featured', 'orderby'=>'date', 'order'=>'DESC', 'showposts'=>'6' )); while ($the_query->have_posts()) : $the_query->the_post(); $do_not_duplicate = $post->ID; $image = get_post_meta($post->ID, 'thesis_post_image', $single = true); echo '<div class="carouselu">'; echo '<a href="'; echo the_permalink(); echo '" >'; echo '<img src="http://test.digpk.com/public_html/test/wp-content/themes/thesis_18/lib/scripts/thumb.php?src='.$image.'&w=140&h=140&zc=1&q=100"></a>'; echo '<a href="'; echo the_permalink(); echo '" >'; echo the_title(); echo '</a>'; echo '</div>'; endwhile; echo '<div style="clear:both"></div>'; echo '</div>'; } } add_action('thesis_hook_before_header', 'top_carousel'); and i added the code below to custom.php according to instructions at http://www.wolf-howl.com/blogs/how-to-carousel/ #topcarousel {border:1px solid #efefef; padding: 0px;padding-left:10px;} .carouselu {width:150px;float:left;padding:3px;text-align:center;} .carouselu IMG {border:2px solid #ccc;display:block;} here is the site where i have installed it. http://test.digpk.com/ waiting for your kind support. thanks in advance [attachment deleted by admin] Quote Link to comment Share on other sites More sharing options...
chintansshah Posted September 25, 2010 Share Posted September 25, 2010 I think there is a permission error, Please check folder permission where you create thumb image. Quote Link to comment Share on other sites More sharing options...
hadi Posted September 25, 2010 Author Share Posted September 25, 2010 Sorry I can't understand what you said. Please can you explain it. Quote Link to comment Share on other sites More sharing options...
chintansshah Posted September 25, 2010 Share Posted September 25, 2010 Where your thumb image store on server? Can you check the folder properties? if it's readonly then server don't allow to create an image. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.