Deseprately need help ASAP, how to get gallery pic
I hope I can get someone help me to solve this problem right away:
I am using Epsilon theme, which has a slide to display pictures, in my site: http://www.crystalsignature.com , the picture can not be displayed. After spent hours on this, I believe a php file called glide.php is causing the problem, and in the file, the following code has bug:
<?php the_excerpt(); ?>
<?php $gallery = get_post_meta($post->ID, ‘gallery’, $single = true); ?>
<img src=”<?php bloginfo(‘stylesheet_directory’); ?>/timthumb.php?src=<?php echo $gallery; ?>&h=150&w=280&zc=1″ alt=””/>
The picture’s URL is
The code is supposed to retrieve the URL and generate another URL for img src:
Problem is $gallery returns nothing. What’s wrong with the code? How can I fix it?
Thank you very much.
- The topic ‘Deseprately need help ASAP, how to get gallery pic’ is closed to new replies.