A stupid question about wordpress and php

Posted by bubdada on Stack Overflow See other posts from Stack Overflow or by bubdada
Published on 2010-05-28T18:45:58Z Indexed on 2010/05/28 18:52 UTC
Read the original article Hit count: 172

Filed under:
|

It may seem stupid question, but i've a serious problem...

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

I'm using this piece of code on wordpress and the line appears like

<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>

Thus, I believe I can't change the directory of image. But I could not figure out why I am getting page not found error. Is that might be CHMOD'es??? or something else??

Thanks

© Stack Overflow or respective owner

Related posts about php

Related posts about Wordpress