Author |
Topic |
|
thanh
Starting Member
4 Posts |
Posted - 18 January 2009 : 23:31:51
|
- Message no show image, but i typed [img] tag< |
Edited by - thanh on 18 January 2009 23:38:28 |
|
Classicmotorcycling
Development Team Leader
Australia
2084 Posts |
Posted - 19 January 2009 : 01:47:31
|
Did you turn on "Images in Posts" in the Admin Options? (Admin Options > Feature Configuration > Images in Posts and set to On)< |
Cheers, David Greening |
|
|
n/a
deleted
6 Posts |
|
AnonJr
Moderator
United States
5768 Posts |
Posted - 21 March 2009 : 14:33:08
|
If you do a "View Source" it looks like the ampersand (&) is getting filtered out of the image URL. |
|
|
HuwR
Forum Admin
United Kingdom
20584 Posts |
Posted - 21 March 2009 : 14:36:36
|
that is by design so that scripts can not be injected into image tags, it is a security issue, use an image service that allows you to link to the image rather than using code. |
|
|
n/a
deleted
6 Posts |
Posted - 21 March 2009 : 16:33:41
|
Actually, I've been doing more research since I posted that, and what I found is that it doesn't work here because it doesn't use the image's filename; it uses an ID instead, so there is no file extension.
I found this in a post in the Gallery forum:
"phpbb and other boards are not smart enough to detect image links that don't end with a image extension. therefore, you have to activate G2 short urls (url rewrite module) to be compatible with phpbb bbcode.
(i just changed my phpbb code such that it allows all urls as image urls)"
I can't use the short urls function because my webhost isn't equipped for it; can anyone tell me if there is some code that I can change to achieve what's in the parentheses in that quote?
Thank you! |
Edited by - n/a on 21 March 2009 16:43:11 |
|
|
n/a
deleted
6 Posts |
Posted - 21 March 2009 : 16:51:34
|
quote: Originally posted by HuwR
that is by design so that scripts can not be injected into image tags, it is a security issue, use an image service that allows you to link to the image rather than using code.
This is a gallery that I set up specifically to store images to be posted in my Snitz forum. I've asked my users not to use photobucket, because the photobucket site has a virus (and has had for over a year now), and they're not doing anything about it. There aren't a lot of image sites out there that can be used to store comments and such, and my users use a lot of those.
Is there no workaround? |
|
|
bobby131313
Senior Member
USA
1163 Posts |
Posted - 21 March 2009 : 17:21:00
|
quote: "phpbb and other boards are not smart enough to detect image links that don't end with a image extension. therefore, you have to activate G2 short urls (url rewrite module) to be compatible with phpbb bbcode.
Well sorry to sound rude, but I just spit soda all over my keyboard when I read that. This site does images for a stinkin' living and decided to use non-standard image urls to do it. To me, that's classic "not smart enough". I'll be dammed if I'd change my software to accommodate them, other than to put thier domain name in the bad word filter. |
Switch the order of your title tags |
Edited by - bobby131313 on 21 March 2009 17:22:34 |
|
|
HuwR
Forum Admin
United Kingdom
20584 Posts |
Posted - 21 March 2009 : 17:25:28
|
quote: Originally posted by shmanny
Actually, I've been doing more research since I posted that, and what I found is that it doesn't work here because it doesn't use the image's filename; it uses an ID instead, so there is no file extension.
I found this in a post in the Gallery forum:
"phpbb and other boards are not smart enough to detect image links that don't end with a image extension. therefore, you have to activate G2 short urls (url rewrite module) to be compatible with phpbb bbcode.
(i just changed my phpbb code such that it allows all urls as image urls)"
I can't use the short urls function because my webhost isn't equipped for it; can anyone tell me if there is some code that I can change to achieve what's in the parentheses in that quote?
Thank you!
I told you exactly why it doesn't work here, it is for security reasons, if you wish to open your forum to script injection attacks then feel free to change the code, but we will not help you to do it. |
|
|
|
Topic |
|