1 (edited by gil 2005-12-14 21:28)

Topic: Search [img], and img display troubleshooting

Hello, 2 questions about [img]:

1. Is it possible to use punbb search function to find all [img] used in post?

2. Sometimes, a "[img]url[/img]" string in a post is displayed only as the "url" text, and not replaced by the image itself; Why ? If I use directly the 'url' as an adress in another window, the image is seen and OK (and the post can be view by somebody else, with the image, from another site). What can be the reason?

Thanks,

Re: Search [img], and img display troubleshooting

1. I don't think so
2. That means the image couldn't be loaded
http://punbb.org/forums/test.jpg
like here. Just a timeout on the user's end

3 (edited by gil 2005-12-14 22:16)

Re: Search [img], and img display troubleshooting

Thanks for the quick answer,

Smartys wrote:

1. I don't think so

too bad

2. That means the image couldn't be loaded
http://punbb.org/forums/test.jpg
like here. Just a timeout on the user's end

Ok, I see the 'alt' attribute of the img; I'm using firefox in place of IE since some weeks, and as ff doesn't display a red cross before the alt text, I didn't understand what exactly is this displayed url.

So the question is now a little bit different: why always a timeout on my side with punbb, and never a timeout without it?

>> [Edit] No, sorry, if the test html file is on my computer, it works, if the test html file is on my provider's server, it doesn't work. Not a punbb troubleshooting wink

4 (edited by gil 2007-11-20 22:03)

Re: Search [img], and img display troubleshooting

gil wrote:

Is it possible to use punbb search function to find all [img] used in post?

Smartys wrote:

1. I don't think so

too bad

And does somebody know if it will be possible with the 1.3 version?

Re: Search [img], and img display troubleshooting

gil wrote:
gil wrote:

Is it possible to use punbb search function to find all [url]used in post?

Smartys wrote:

1. I don't think so

too bad

And does somebody know if it will be possible with the 1.3 version?

The [ img] BBCode tag references the <img> HTML tag. Because all search input is escaped, you won't even be able to search for "<img>."

So, in short, no.

6

Re: Search [img], and img display troubleshooting

orlandu63 wrote:
gil wrote:

And does somebody know if it will be possible with the 1.3 version?

The [ img] BBCode tag references the <img> HTML tag.

Yes, I know.

Because all search input is escaped, you won't even be able to search for "<img>."
So, in short, no.

What I would say is not to search exactly the "[img]" pattern, but all the post using an image. Not possible indeed?

Or the name of an image: with or without "*", it seems it doesn't work. Why?

Re: Search [img], and img display troubleshooting

gil wrote:
orlandu63 wrote:
gil wrote:

And does somebody know if it will be possible with the 1.3 version?

The [ img] BBCode tag references the <img> HTML tag.

Yes, I know.

Because all search input is escaped, you won't even be able to search for "<img>."
So, in short, no.

What I would say is not to search exactly the "[url]" pattern, but all the post using an image. Not possible indeed?

Possible.

gil wrote:

Or the name of an image: with or without "*", it seems it doesn't work. Why?

Huh?

8

Re: Search [img], and img display troubleshooting

orlandu63 wrote:
gil wrote:

What I would say is not to search exactly the "[url]" pattern, but all the post using an image. Not possible indeed?

Possible.

How?

gil wrote:

Or the name of an image: with or without "*", it seems it doesn't work. Why?

Huh?

What I wanted to say: an image neo88.jpg is used in an [img] tag. I cannot find pattern "neo88.jpg" nor "*neo88*"...