cotonti.com : Forum images https://www.cotonti.com Последние сообщения в теме Cotonti en Tue, 24 Nov 2026 01:13:27 -0000 Twiebie
(I see you signed up, join the chat if you have time, it's a bit easier)

Added 25 minutes later:

It's working now.

Now I have the following code:

1:
\[img\]((?:http://|https://|ftp://)?[^"\';\?\[]+\.(?:jpg|jpeg|gif|png))\[/img\]
<a href=https://www.cotonti.com/"$1"><img src="$1" alt="" class="scale" /></a>

2:
\[img=((?:http://|https://|ftp://)?[^\]"';\?]+\.(?:jpg|jpeg|gif|png))\]((?:http://|https://|ftp://)?[^\]"';\?]+\.(?:jpg|jpeg|gif|png))\[/img\]
<a href=https://www.cotonti.com/"$1"><img src="$2" alt="" class="scale" /></a>
]]>
чт, 05 авг 2010 17:14:43 -0000
pieter

This is how mine is:

Added 51 seconds later:

don't put the class=resizeimage]]>
чт, 05 авг 2010 17:12:35 -0000
Twiebie ]]> чт, 05 авг 2010 17:12:06 -0000 pieter
Added 21 seconds later:

Add the bottom]]>
чт, 05 авг 2010 17:07:43 -0000
Twiebie чт, 05 авг 2010 16:47:12 -0000 pieter
1st img: you need to change the pattern ANd the replacement with the first 2 lines
2nd img: you need to change the pattern ANd the replacement with the last 2 lines]]>
чт, 05 авг 2010 16:45:06 -0000
Twiebie
I upgraded from the latest Seditio, does that have something to do with it maybe?]]>
чт, 05 авг 2010 16:42:56 -0000
pieter http://www.dev-enter.net/admin.php?m=bbcode

Search for img (2nd page for me)
There are 2

I know there was a problem, but I can't find it anymore in the forums.

These are mine, and they work for me:
Pattern(2nd column):
\[img\]((?:http://|https://|ftp://)?[^"\';:\?]+\.(?:jpg|jpeg|gif|png))\[/img\]
Replacement(3th column):
<a href=https://www.cotonti.com/"$1"><img src="$1" alt="" class="resizeimage" /></a>

Pattern(2nd column):
\[img=((?:http://|https://|ftp://)?[^\]"';:\?]+\.(?:jpg|jpeg|gif|png))\]((?:http://|https://|ftp://)?[^\]"';:\?]+\.(?:jpg|jpeg|gif|png))\[/img\]
Replacement(3th column):
<a href=https://www.cotonti.com/"$1"><img src="$2" alt="" class="resizeimage" /></a>


Added 1 minute later:

EDIT: Have you done a fresh install?? Maybe me need to check if it is OK in the source.

Most of us that had the problem changed it, and this is not changed if you do an upgrade.]]>
чт, 05 авг 2010 16:25:51 -0000
Twiebie However when I post 2 images in the same post both images don't show up anymore!

What is going on?]]>
чт, 05 авг 2010 15:19:26 -0000