I am having issues with the fulls size image going 404 while the thumbnail works fine.
An example may be viewed at
https://www.websleuths.com/forums/sh...mage-not-found
-or-
Of course the thumbnail calls the image as an attachment, the 404'd full size image is called from
Code:
https://www.websleuths.com/forums/cache.php?img=https%3A%2F%2Fwww.websleuths.com%2Fforums%2Fattachment.php%3Fattachmentid%3D129050%26amp%3Bstc%3D1
My plugin is active using hook bbcode_img_match and is 5th in execution, the plugin code is
Code:
$link_parsed = parse_url($link);
if ($link_parsed['host'] != '[www.websleuths.com]')
{
$link = $this->registry->options['bburl'] . '/cache.php?img=' . urlencode($link);
$retval = ($fullsize ? '<div class="size_fullsize">' : '') . '<img src="' . $link . '" border="0" alt="" />' . ($fullsize ? '</div>' : '');
}
Any ideas?