tags:

views:

38

answers:

1

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

A: 

The problem must be with

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

Try without 'full'.

nute