Jump to content

Timthumb thumbnails in Wordpress


ttmt

Recommended Posts

Timthumb thumbnails in Wordpress

 

Hi all

 

I'm having real problems here so any help would be really appreciated.

 

I'm using the jQuery cycle menu here to create a slideshow and thumbnails.

 

http://www.ttmt.org.uk/forum/wordpress/

 

I want to create the same thing in Wordpress

 

http://www.ttmt.org.uk/wordpress/

 

The slideshow works but thumbnails don't show.

 

I think part of the problem is creating the thumbnails in Wordpress so I'm using

timthumb to create the thumbnails - http://www.binarymoon.co.uk/projects/timthumb/

 

I have downloaded timthumb and named the file thumb.php then put it in the folder thumb

 

I'm using this to try and create the thumbnails from timthumb.

 

<script type="text/javascript">

  $(window).load(function() {
     $('#slideshow').cycle({
          fx: 'fade',
          speed: 800,
          timeout: 3000,
          pause:     1,
          next: '#next',
          prev: '#prev',
          pager:  '#thumbs', 

          pagerAnchorBuilder: function(idx, slide) { 
            return '<li><a href="#"><img src="<?php bloginfo('template_directory'); ?>thumb/thumb.php?src="' + slide.src + '"&h=50&w=50&zc=1" /></a></li>'; 
          } 
      
  });

</script>

 

 

Can anyone see why this isn't working?

 

Will this ever work? Should I stop trying?

 

Link to comment
https://forums.phpfreaks.com/topic/261656-timthumb-thumbnails-in-wordpress/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.