Correct URL to display Thumb in WP MU
http://www.binarymoon.co.uk/2009/10/timthumb-wordpress-mu/
Copy this code and paste it in your HTML
$theImageSrc = 'path/To/Image.jpg';
global $blog_id;
if (isset($blog_id) && $blog_id > 0) { $imageParts = explode('/files/', $theImageSrc); if (isset($imageParts[1])) { $theImageSrc = '/blogs.dir/' . $blog_id . '/files/' . $imageParts[1];
}
}
Report this snippet
Comments
Subscribe to comments