İyinet'e Hoşgeldiniz!

Türkiye'nin En Eski Webmaster Forum'una Hemen Kayıt Olun!

Kayıt Ol!

wp temamda thumbnail resim görünüm problemi!!!

isaakcu

0
İyinet Üyesi
Katılım
9 Ağustos 2010
Mesajlar
5
Reaction score
0
Arkadaşlar wp temamda thumbnaile tanıttığım resimler gözükürken tam olarak gözükmüyor, sadece bir kısmı gözüküyor.Mesela thumbnailin boyutları 200*100 benim eklediğim resimden bu boyutu kesip gösteriyor.Ben resmin tamamını göstermesini istiyorum.Yardımlarınızı bekliyorum....sitem : http://www.macozetizle.com/
 

cudjex

0
İyinet Üyesi
Katılım
23 Haziran 2011
Mesajlar
148
Reaction score
0
çözüm

Eğer index.php'ye koyduğun kodları yazarsan yardımcı olmaya çalışırım.

PHP:
<?php the_excerpt(); ?>
sanırım yukarıdaki kodun üstüne aşağıdaki kodları koydun?

Kod:
<?php $values = get_post_custom_values("Image"); if (isset($values[[COLOR="Red"][B]1[/B][/COLOR]])) { ?> <a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title(); ?>"> <img src="<?php echo bloginfo('template_url'); 
?>/scripts/timthumb.php?src=<?php echo get_option('home'); ?>/
<?php $values = get_post_custom_values("Image"); echo $values[[COLOR="Red"][B]1[/B][/COLOR]]; ?>&w=150&h=150&zc=1&q=100" alt="<?php the_title(); ?>" width="0px" height="0px" /></a> <?php } ?>

koymadıysan bir dene.
koyduktan sonra o da olmazsa kırmızı renkli 1 değerini 0(sıfır) yapıp da bir dene.
 

isaakcu

0
İyinet Üyesi
Katılım
9 Ağustos 2010
Mesajlar
5
Reaction score
0
hocam indexin hepsini yolladım bi baarsan senin dediğin yeri bulamadım ben :S

PHP:
<?php get_header();  ?>

<?php if (is_home()) add_filter('img_caption_shortcode', create_function('$a, $b, $c','return $c;'), 10, 3); ?> 

<div id="leftwrapper">
	<?php include('left-sidebar.php'); ?>
	<div id="column2">
		<?php if (get_theme_mod('featured') == 'Yes') { ?>

		<div id="slider">
			<div id="featured" >
			  <?php $recent = new WP_Query("cat=".get_theme_mod('featuredcat')."&showposts=6"); while($recent->have_posts()) : $recent->the_post();?>
			  <div id="post-<?php the_ID(); ?>" class="ui-tabs-panel ui-tabs-hide"><a href="<?php the_permalink() ?>" rel="bookmark"><img src="<?php get_thumbnail($post->ID, 'full'); ?>" height="336" width="373" alt="<?php the_title(); ?>" /></a>
			    <div class="info" >
				    <h2><a href="<?php the_permalink(); ?>" rel="bookmark">
				      <?php the_title(); ?>
				      </a></h2>
			    </div>

			  </div>

			  <?php endwhile; ?>
			  <ul class="ui-tabs-nav">
			    <?php $recent = new WP_Query("cat=".get_theme_mod('featuredcat')."&showposts=6"); while($recent->have_posts()) : $recent->the_post();?>
			    <li class="ui-tabs-nav-item ui-tabs-selected" id="nav-post-<?php the_ID(); ?>"><a href="#post-<?php the_ID(); ?>"><img src="<?php get_thumbnail($post->ID, 'full'); ?>" height="44" width="80" alt="<?php the_title(); ?>" /></a></li>
			    <?php endwhile; ?>
			  </ul>
			</div> <!--end: featured-->
		</div> <!--end: slider-->	
		<?php } ?>	
    	<?php if (get_theme_mod('box1') == 'Enable') { ?>
		<div class="postbox left">
		<h1><a href="<?php echo get_category_link(get_theme_mod('boxcat1')); ?>"><?php echo cat_id_to_name(get_theme_mod('boxcat1')); ?></a></h1>
			<div class="boxcontent">
		    <?php $recent = new WP_Query("cat=".get_theme_mod('boxcat1')."&showposts=1"); while($recent->have_posts()) : $recent->the_post();?>
		    <div class="thumb">
      			<?php tj_thumbnail('boxthumbw', 'boxthumbh'); ?>
		    </div> <!--end: thumb-->
		    <h5><?php the_author_posts_link(); ?> // <?php the_time('M jS, Y') ?></h5>
			<h2><a href="<?php the_permalink(); ?>" rel="bookmark"><?php the_title(); ?></a></h2>
	      	<?php endwhile; ?> 
	      	<div class="more"><div class="more">Devamı »</div></div>   
	      	<ul>
	      		<?php $recent = new WP_Query("cat=".get_theme_mod('boxcat1')."&offset=1&showposts=".get_theme_mod('boxlist')); while($recent->have_posts()) : $recent->the_post();?>
	      		<li><a href="<?php the_permalink(); ?>" rel="bookmark"><?php the_title(); ?></a></li>
	      		<?php endwhile; ?>   
	      	</ul>
	      	</div> <!--end: boxcontent-->
		</div> <!--end: postbox-->
		<?php } ?>
		<?php if (get_theme_mod('box2') == 'Enable') { ?>
		<div class="postbox right">
		<h1><a href="<?php echo get_category_link(get_theme_mod('boxcat2')); ?>"><?php echo cat_id_to_name(get_theme_mod('boxcat2')); ?></a></h1>
			<div class="boxcontent">
		    <?php $recent = new WP_Query("cat=".get_theme_mod('boxcat2')."&showposts=1"); while($recent->have_posts()) : $recent->the_post();?>
		    <div class="thumb">
					<?php tj_thumbnail('boxthumbw', 'boxthumbh'); ?>
		    </div> <!--end: thumb-->
		    <h5><?php the_author_posts_link(); ?> // <?php the_time('M jS, Y') ?></h5>
			<h2><a href="<?php the_permalink(); ?>" rel="bookmark"><?php the_title(); ?></a></h2>
		  	<?php endwhile; ?>    
	      	<div class="more">Devamı »</div>   		  	
		  	<ul>
		  		<?php $recent = new WP_Query("cat=".get_theme_mod('boxcat2')."&offset=1&showposts=".get_theme_mod('boxlist')); while($recent->have_posts()) : $recent->the_post();?>
		  		<li><a href="<?php the_permalink(); ?>" rel="bookmark"><?php the_title(); ?></a></li>
		  		<?php endwhile; ?>   
		  	</ul>
		  	</div> <!--end: boxcontent-->
		</div> <!--end: postbox-->
		<?php } ?>
        
		<div class="clear"></div>
		
		<?php if (get_theme_mod('box3') == 'Enable') { ?>
		<div class="postbox left">
		<h1><a href="<?php echo get_category_link(get_theme_mod('boxcat3')); ?>"><?php echo cat_id_to_name(get_theme_mod('boxcat3')); ?></a></h1>
			<div class="boxcontent">
		    <?php $recent = new WP_Query("cat=".get_theme_mod('boxcat3')."&showposts=1"); while($recent->have_posts()) : $recent->the_post();?>
		    <div class="thumb">
					<?php tj_thumbnail('boxthumbw', 'boxthumbh'); ?>
		    </div> <!--end: thumb-->
		    <h5><?php the_author_posts_link(); ?> // <?php the_time('M jS, Y') ?></h5>
			<h2><a href="<?php the_permalink(); ?>" rel="bookmark"><?php the_title(); ?></a></h2>
		  	<?php endwhile; ?>  
	      	<div class="more">Devamı »</div>
		  	<ul>
		  		<?php $recent = new WP_Query("cat=".get_theme_mod('boxcat3')."&offset=1&showposts=".get_theme_mod('boxlist')); while($recent->have_posts()) : $recent->the_post();?>
		  		<li><a href="<?php the_permalink(); ?>" rel="bookmark"><?php the_title(); ?></a></li>
		  		<?php endwhile; ?>   
		  	</ul>
		  	</div> <!--end: boxcontent-->
		</div> <!--end: postbox-->
		<?php } ?>
		
		<?php if (get_theme_mod('box4') == 'Enable') { ?>
		<div class="postbox right">
		<h1><a href="<?php echo get_category_link(get_theme_mod('boxcat4')); ?>"><?php echo cat_id_to_name(get_theme_mod('boxcat4')); ?></a></h1>
			<div class="boxcontent">
		    <?php $recent = new WP_Query("cat=".get_theme_mod('boxcat4')."&showposts=1"); while($recent->have_posts()) : $recent->the_post();?>
		    <div class="thumb">
				<?php tj_thumbnail('boxthumbw', 'boxthumbh'); ?>
		    </div> <!--end: thumb-->
		    <h5><?php the_author_posts_link(); ?> // <?php the_time('M jS, Y') ?></h5>
			<h2><a href="<?php the_permalink(); ?>" rel="bookmark"><?php the_title(); ?></a></h2>
		  	<?php endwhile; ?>  
	      	<div class="more">Devamı »</div>   
		  	<ul>
		  		<?php $recent = new WP_Query("cat=".get_theme_mod('boxcat4')."&offset=1&showposts=".get_theme_mod('boxlist')); while($recent->have_posts()) : $recent->the_post();?>
		  		<li><a href="<?php the_permalink(); ?>" rel="bookmark"><?php the_title(); ?></a></li>
		  		<?php endwhile; ?>   
		  	</ul>
		  	</div> <!--end: boxcontent-->
		</div> <!--end: postbox-->
		<?php } ?>
		
		<div class="clear"></div>
		
		<?php if (get_theme_mod('box5') == 'Enable') { ?>
		<div class="postbox left">
		<h1><a href="<?php echo get_category_link(get_theme_mod('boxcat5')); ?>"><?php echo cat_id_to_name(get_theme_mod('boxcat5')); ?></a></h1>
			<div class="boxcontent">
		    <?php $recent = new WP_Query("cat=".get_theme_mod('boxcat5')."&showposts=1"); while($recent->have_posts()) : $recent->the_post();?>
		    <div class="thumb">
				<?php tj_thumbnail('boxthumbw', 'boxthumbh'); ?>
		    </div> <!--end: thumb-->
		    <h5><?php the_author_posts_link(); ?> // <?php the_time('M jS, Y') ?></h5>
			<h2><a href="<?php the_permalink(); ?>" rel="bookmark"><?php the_title(); ?></a></h2>
		  	<?php endwhile; ?> 
	      	<div class="more">Devamı »</div>   
		  	<ul>
		  		<?php $recent = new WP_Query("cat=".get_theme_mod('boxcat5')."&offset=1&showposts=".get_theme_mod('boxlist')); while($recent->have_posts()) : $recent->the_post();?>
		  		<li><a href="<?php the_permalink(); ?>" rel="bookmark"><?php the_title(); ?></a></li>
		  		<?php endwhile; ?>   
		  	</ul>
		  	</div> <!--end: boxcontent-->
		</div> <!--end: postbox-->
		<?php } ?>
		
		<?php if (get_theme_mod('box6') == 'Enable') { ?>
		<div class="postbox right">
		<h1><a href="<?php echo get_category_link(get_theme_mod('boxcat6')); ?>"><?php echo cat_id_to_name(get_theme_mod('boxcat6')); ?></a></h1>
			<div class="boxcontent">
		    <?php $recent = new WP_Query("cat=".get_theme_mod('boxcat6')."&showposts=1"); while($recent->have_posts()) : $recent->the_post();?>
		    <div class="thumb">
				<?php tj_thumbnail('boxthumbw', 'boxthumbh'); ?>
		    </div> <!--end: thumb-->
		    <h5><?php the_author_posts_link(); ?> // <?php the_time('M jS, Y') ?></h5>
			<h2><a href="<?php the_permalink(); ?>" rel="bookmark"><?php the_title(); ?></a></h2>
		  	<?php endwhile; ?>    
	      	<div class="more">Devamı »</div>   
		  	<ul>
		  		<?php $recent = new WP_Query("cat=".get_theme_mod('boxcat6')."&offset=1&showposts=".get_theme_mod('boxlist')); while($recent->have_posts()) : $recent->the_post();?>
		  		<li><a href="<?php the_permalink(); ?>" rel="bookmark"><?php the_title(); ?></a></li>
		  		<?php endwhile; ?>   
		  	</ul>
		  	</div> <!--end: boxcontent-->
		</div> <!--end: postbox-->
		<?php } ?>	
		<div class="clear"></div>
		
		<?php if (get_theme_mod('box7') == 'Enable') { ?>
		<div class="postbox left">
		<h1><a href="<?php echo get_category_link(get_theme_mod('boxcat7')); ?>"><?php echo cat_id_to_name(get_theme_mod('boxcat7')); ?></a></h1>
			<div class="boxcontent">
		    <?php $recent = new WP_Query("cat=".get_theme_mod('boxcat7')."&showposts=1"); while($recent->have_posts()) : $recent->the_post();?>
		    <div class="thumb">
				<?php tj_thumbnail('boxthumbw', 'boxthumbh'); ?>
		    </div> <!--end: thumb-->
		    <h5><?php the_author_posts_link(); ?> // <?php the_time('M jS, Y') ?></h5>
			<h2><a href="<?php the_permalink(); ?>" rel="bookmark"><?php the_title(); ?></a></h2>
		  	<?php endwhile; ?> 
		  	<div class="more">Devamı »</div>   
		  	<ul>
		  		<?php $recent = new WP_Query("cat=".get_theme_mod('boxcat7')."&offset=1&showposts=".get_theme_mod('boxlist')); while($recent->have_posts()) : $recent->the_post();?>
		  		<li><a href="<?php the_permalink(); ?>" rel="bookmark"><?php the_title(); ?></a></li>
		  		<?php endwhile; ?>   
		  	</ul>
		  	</div> <!--end: boxcontent-->
		</div> <!--end: postbox-->
		<?php } ?>
		
		<?php if (get_theme_mod('box8') == 'Enable') { ?>
		<div class="postbox right">
		<h1><a href="<?php echo get_category_link(get_theme_mod('boxcat8')); ?>"><?php echo cat_id_to_name(get_theme_mod('boxcat8')); ?></a></h1>
			<div class="boxcontent">
		    <?php $recent = new WP_Query("cat=".get_theme_mod('boxcat8')."&showposts=1"); while($recent->have_posts()) : $recent->the_post();?>
		    <div class="thumb">
				<?php tj_thumbnail('boxthumbw', 'boxthumbh'); ?>
		    </div> <!--end: thumb-->
		    <h5><?php the_author_posts_link(); ?> // <?php the_time('M jS, Y') ?></h5>
			<h2><a href="<?php the_permalink(); ?>" rel="bookmark"><?php the_title(); ?></a></h2>
		  	<?php endwhile; ?>    
		  	<div class="more">Devamı »</div>   
		  	<ul>
		  		<?php $recent = new WP_Query("cat=".get_theme_mod('boxcat8')."&offset=1&showposts=".get_theme_mod('boxlist')); while($recent->have_posts()) : $recent->the_post();?>
		  		<li><a href="<?php the_permalink(); ?>" rel="bookmark"><?php the_title(); ?></a></li>
		  		<?php endwhile; ?>   
		  	</ul>
		  	</div> <!--end: boxcontent-->
		</div> <!--end: postbox-->
		<?php } ?>	
		<div class="clear"></div>
			
	</div> <!--end: column2-->
 

cudjex

0
İyinet Üyesi
Katılım
23 Haziran 2011
Mesajlar
148
Reaction score
0
ben o kadar php bilen birisi değilim.forumdaki wp cilerden birisi yetişirse iyi olur.
 

Türkiye’nin ilk webmaster forum sitesi iyinet.com'da forum üyeleri tarafından yapılan tüm paylaşımlardan; Türk Ceza Kanunu’nun 20. Maddesinin, 5651 Sayılı Kanununun 4. maddesinin 2. fıkrasına göre, paylaşım yapan üyeler sorumludur.

Backlink ve Tanıtım Yazısı için iletişime geçmek için Skype Adresimiz: .cid.1580508955483fe5

Üst