i have just updated my imagehost script but now the thumbnails with bb code generated links are linking the images to the "viewer" instead of direct while the following is set:
Code:
/**
* get_thumb_bbcode
* Returns the thumb + img link as bbcode
* arg -> true : uses the full image URL
* arg -> false : uses the viewer URL
*/
function get_thumb_bbcode($full=true) {
$html_version = html_entity_decode(get_thumb_html($full));
return str_replace('<a href="', '[url=', str_replace('"><img src="', '][img]', str_replace('" border="0" /></a>', '[/img][/url]', $html_version)));
}
function show_thumb_bbcode($full=true) {
echo get_thumb_bbcode($full);
}
This is set correctly and it SHOULD link to direct images and not the viewer right?
Proud member of Frustrated Association of International Losers Failing Against the Gifted and Superior (F.A.I.L.F.A.G.S)
Signature/Avatar nuking: none (can be changed in your profile)
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum