Ile görüntü hatası wordpress ve php

1 Cevap php

Bu aptalca bir soru gibi görünebilir, ama ben ciddi bir sorun var ...

if you could check out orcik.net the thumbnail images does not appear. I figured out the reason but I don't know how to solve..

http://orcik.net/projects/thumb/orcikthumb.php?src=http://orcik.net/wp-content/uploads/2010/05/mac-safari-search-cache.png

If you go to the above link you will get page not found error. However, if you go to the link below you'll get the thumbnail version of the image...

http://orcik.net/projects/thumb/orcikthumb.php?src=/wp-content/uploads/2010/05/mac-safari-search-cache.png

Ben wordpress kod bu parça kullanıyorum ve hat gibi görünür

<a href="<?php the_permalink() ?>" rel="bookmark"> <img src="<?php bloginfo('template_directory'); ?>/includes/orcikthumb.php?src=<?php get_thumbnail($post->ID, 'full'); ?>&amp;h=<?php echo get_theme_mod($height); ?>&amp;w=<?php echo get_theme_mod($width); ?>&amp;zc=1" alt="<?php the_title(); ?>" /> </a>

Dolayısıyla, ben resmin dizin değiştiremezsiniz inanıyorum. Ben sayfa bulunamadı hatası alıyorum neden ama ben çözemedim. Bu CHMOD'es olabilir mi?? veya başka bir şey?

Teşekkürler

1 Cevap

Sorun olmalı

<?php get_thumbnail($post->ID, 'full'); ?>

It generates a full URL instead of a path from the root. Maybe something to do with the word "full" that appears in there? I'm not familiar with how this function works, but it sounds like that's where the problem comes from ...

Where did you get this function from? Maybe a documentation somewhere ...

'Tam' olmadan deneyin.