Forums / Cotonti / Support / BBcode Thumb is not working

once OK, but twice NOT

foxhound
#11749 2009-04-23 08:01
I have some troubles too on my test website. The new thumb creation from the PFS works, but on all my old pages the thumbs seem to show completely random if they even do show.
Sometimes it shows the thumb but most of the time it does not and than the link is completely fubar'ed.

For example check this page where none of the thumb show (created with the old seditio site):
http://www.armaholic.com/testers/armaholictest/page.php?id=5398

Now check this page, all of a sudden only one image decided to (this page too was created with the old seditio site):
http://www.armaholic.com/testers/armaholictest/page.php?id=5396


The code in the seditio compatibality plugin looks like this:
sed_bbcode_add('thumb', 'pcre', '\[thumb=((?:http://|https://|ftp://)?[^"\';:\?]+\.(?:jpg|jpeg|gif|png))\]([^"\';:\?]+\.(?:jpg|jpeg|gif|png))\[/thumb\]','<a href="pfs.php?m=view&amp;v=$2"><img src="$1" alt="" /></a>', true, 128, 'seditio');
<img src="http://www.armaholic.com/datas/thumbs/green-sea-battalion-uniforms-version-03-preview_4.jpg" alt="green-sea-battalion-uniforms-version-03-" />