Forum Replies Created

Viewing 1 replies (of 1 total)
  • I know the site has been going well now. But I had the same issue and was not able to find the solution over the internet. Finally, I got the solution and want to share if anybody is running into this same problem. The problem is this variable $customfields[‘paddimage’][0] is returning the path of image including the domain name and the function get_bloginfo(‘wpurl’) is returning the URL(domain) of the site. So the result will be something similar to this http://domainhttp://domain/pathtoimage/image.ext&w=83&h=83&zc=1. By using this URL the tt-scripts/timthumb.php is not able to resolve the URL to regenerate the thumbnail image. The solution is simply remove the get_bloginfo(‘wpurl’) from this line $imgpath = $scrp . ‘src=’ . get_bloginfo(‘wpurl’) . $customfields[‘paddimage’][0] . ‘&w=83&h=83&zc=1’;

    Don’t remove from the line after if condition.

    Cheers

Viewing 1 replies (of 1 total)