I'm trying to use timthumb to dynamically resize an image using jQuery ajax:
load_link = "/images/timthumb.php&src=" + link + "&h=194&w=263";
/* /images/timthumb.php&src=http://farm4.static.flickr.com/3631/5836439169_2230db5e6d_m.jpg&h=194&w=263 */
$.get(load_link, updateLink);
function updateLink(data) {
$('#flickr-first-photo').attr('src',data);
}
But I'm getting no response back from the ajax call. Does anyone know if this is even possible with timthumb?