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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.