[img] and local image

Discussion of general topics related to the new version and its place in the world. Don't discuss new features, report bugs, ask for support, et cetera. Don't use this to spam for other boards or attack those boards!
Forum rules
Discussion of general topics related to the new release and its place in the world. Don't discuss new features, report bugs, ask for support, et cetera. Don't use this to spam for other boards or attack those boards!
Post Reply
BossDK
Registered User
Posts: 8
Joined: Sun Jan 11, 2004 6:34 pm

[img] and local image

Post by BossDK »

Hi all,

I hope one of you might be able to help me out. In phpbb 2.0.18 you were able to link to a local server path with in the bbcode [img] tag, and the parsing of the tag would turn out fine.

Code: Select all

[img]/images/smilies/icon_question.gif[/img]
In my copy of Olympus beta 5, however the parsing bypasses the tag, redering a lot of converted posts image less.... does anyone have a solution for this??

[img]/images/smilies/icon_question.gif[/img] <-- neither on this board :(

Thanks!
Last edited by BossDK on Sun Feb 18, 2007 10:39 am, edited 1 time in total.
test

User avatar
b3rx
Registered User
Posts: 77
Joined: Mon Dec 27, 2004 5:11 am
Location: Cebu City, Ph
Contact:

Re: [img] and local image

Post by b3rx »

Image <-- works for me.. maybe because you are trying to access a forbidden area of your forum. try checking on your .htaccess
b3rx.com

"The only real mistake is the one from which we learn nothing..."

Image Image Image

battye
Extension Customisations
Extension Customisations
Posts: 177
Joined: Fri Jul 09, 2004 11:53 am
Location: Australia
Contact:

Re: [img] and local image

Post by battye »

As a last resort, I suppose you could get around this by using the word filter to turn common paths (eg /images/smilies/) into http://domain.com/images/smilies/

I haven't used the word filter recently on Olympus and maybe things are different now, but it should work.
Customisations Team

APTX
Registered User
Posts: 680
Joined: Thu Apr 24, 2003 12:07 pm

Re: [img] and local image

Post by APTX »

The "word filter" can be disabled by users (if the admin allows it) so some people would have broken paths. :|
Don't give me my freedom out of pity!

User avatar
Highway of Life
Registered User
Posts: 1399
Joined: Tue Feb 08, 2005 10:18 pm
Location: I'd love to change the World, but they won't give me the Source Code
Contact:

Re: [img] and local image

Post by Highway of Life »

battye wrote: As a last resort, I suppose you could get around this by using the word filter to turn common paths (eg /images/smilies/) into http://domain.com/images/smilies/

I haven't used the word filter recently on Olympus and maybe things are different now, but it should work.

That won't work,
For example, a post that contains:

Code: Select all

/path/to/images/image.gif
/path/to/another/image/image.gif
/path/to/gallery/image.gif
If we setup three new word filters:

Code: Select all

/path/to/images/    --> http://domain.com/path/to/images/
/path/to/another/image/* --> http://domain.com/path/to/another/image/
/path/to/gallery/*             --> http://domain.com/path/to/gallery/*
Those will output as:

Code: Select all

/path/to/images/image.gif
http://domain.com/path/to/another/image/.gif
http://domain.com/path/to/gallery/*.gif
So using the word filter will not work.

But let me test something here...
[img]/styles/subSilver/imageset/site_logo.gif[/img]
test2
[img]styles/subSilver/imageset/site_logo.gif[/img]
Hmm, yep, that won't work.
Image

battye
Extension Customisations
Extension Customisations
Posts: 177
Joined: Fri Jul 09, 2004 11:53 am
Location: Australia
Contact:

Re: [img] and local image

Post by battye »

Highway of Life wrote:
battye wrote: As a last resort, I suppose you could get around this by using the word filter to turn common paths (eg /images/smilies/) into http://domain.com/images/smilies/

I haven't used the word filter recently on Olympus and maybe things are different now, but it should work.

That won't work,
For example, a post that contains:

Code: Select all

/path/to/images/image.gif
/path/to/another/image/image.gif
/path/to/gallery/image.gif
If we setup three new word filters:

Code: Select all

/path/to/images/    --> http://domain.com/path/to/images/
/path/to/another/image/* --> http://domain.com/path/to/another/image/
/path/to/gallery/*             --> http://domain.com/path/to/gallery/*
Those will output as:

Code: Select all

/path/to/images/image.gif
http://domain.com/path/to/another/image/.gif
http://domain.com/path/to/gallery/*.gif
So using the word filter will not work.

But let me test something here...
[img]/styles/subSilver/imageset/site_logo.gif[/img]
test2
[img]styles/subSilver/imageset/site_logo.gif[/img]
Hmm, yep, that won't work.


I suppose in the end, you have to consider what you want more; posts containing

Code: Select all

/path/to/images/image.gif
/path/to/another/image/image.gif
/path/to/gallery/image.gif
to stay as is, or converting the images.
Customisations Team

BossDK
Registered User
Posts: 8
Joined: Sun Jan 11, 2004 6:34 pm

Re: [img] and local image

Post by BossDK »

So, the only thing i can do is edit all the existing posts coutaining local posts... That's not going to be pretty and im sure a lot of phpbb2 user will get very annoyed about this, once Olympus is released ...

(editing my own post, that is not the initial thread one 5 minutes after original post time, do I recieve a post edited tag??)
test

Post Reply