uh? Just have your PHP script run the function and return the new thumbnail URL, then it's easy:
$('somewhere').get('create_thumbnail.php', { url: 'http://images.com/ image.jpg' }, function(newURL){ $('<img/>').attr('src',newURL).appendTo('body'); }); (if that's any close to what you meant) On Dec 29, 8:59 am, Drako <a...@drako.it> wrote: > I love this little and flexible script. The problem i got is that i'd > like to fetch it with a PHP function instead of a plain HTNL address, > but i cannot figure out how to do this. > > to explain it better, i've a php function called tep_image() wich > supplied with an image address can create a thumbnail of the size i > need, and i'd like the script to work with this script. > > Any clue?