HTML png wrapper

For reporting forum bugs, feature requests and the like.

Moderator: Moderators

Locked
ShadowCaster
Frequent Poster
Posts: 93
Joined: Tue Sep 23, 2003 10:07 am
Location: France

HTML png wrapper

Post by ShadowCaster »

Here's a very easy to implement suggestion :

IE users that do not have Quicktime plugin can't see png when there's a url link to them : when clicking on the link, they get the Save dialog box that normally comes wit octet/stream mime type.
A solution to that is to point to an HTML wrapper :

Code: Select all

<html><body><img src=www.somehere.com/image.png></body></html>
But creating and uploading that wrapper is usually too much an effort just to point to an image in a post.
What I suggest is to add a small php script to the forum directory for this purpouse : it would just take the image url as parameter, check that it's correct an not some malicious javascript code and output the wrapper.
Link to images would just be specified by nice users as

Code: Select all

&#91;url&#93;wraper/www.somewhere.com/image.png&#91;/url&#93;
instead of

Code: Select all

&#91;url&#93;www.somewhere.com/image.png&#91;/url&#93;
User avatar
Greg Stephens
Forum Founder
Posts: 3862
Joined: Sat Apr 14, 2001 7:00 pm
Location: Los Angeles, California, USA
Contact:

Post by Greg Stephens »

That's a nice idea, but I don't see it as a forum issue. It's true of any link to a .png file from any site when using MSIE. In my opinion, the best solution is for those who encounter this problem and find it bothersome enough to want to do something about it to get a browser that does have proper .png support. It's not difficult and it doesn't have to cost anything.
Good morning! That's a nice tnetennba.
Locked