Форумы / Cotonti / Support / Forum images

Twiebie
#1 05.08.2010 15:19
When on my website I post an image with the image tags, it works fine.
However when I post 2 images in the same post both images don't show up anymore!

What is going on?
pieter
#2 05.08.2010 16:25
go to: 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="$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="$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.
... can we help you ...
Twiebie
#3 05.08.2010 16:42
I've tried replacing it with your patterns but it didn't work..

I upgraded from the latest Seditio, does that have something to do with it maybe?
pieter
#4 05.08.2010 16:45
both items changed.

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
... can we help you ...
Twiebie
#5 05.08.2010 16:47
Yep, did that. Didn't work..
pieter
#6 05.08.2010 17:07
go Admin > Others > BBcode and Clear HTML cache see if that works

Added 21 seconds later:

Add the bottom
... can we help you ...
Twiebie
#7 05.08.2010 17:12
Cleared the HTML cache, nothing changed.. :(
pieter
#8 05.08.2010 17:12


This is how mine is:

Added 51 seconds later:

don't put the class=resizeimage
... can we help you ...
Twiebie
#9 05.08.2010 17:14
I've tried putting that in with my own class but nothing changed..

(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="$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="$1"><img src="$2" alt="" class="scale" /></a>
Отредактировано: Twiebie (05.08.2010 17:41, 14 лет назад)