Weird bug [Archive] - Team17 Forum

PDA

View Full Version : Weird bug

Muzer
18 Feb 2007, 10:10
When I post an oversized PNG image, not only does it resize it, it turns it into a JPG, which gives crap quality. You can see an example of this in the W...T...F... thread and "Just so you know" in the beta forum (I posted 2 images, on got changed, the other didn't.

thomasp
18 Feb 2007, 11:10
That's not a bug, that's a feature.
vBulletin has size restrictions on attachments (both file size and dimensions). Like with avatars, if you post an image that has too many pixels it'll automatically downsize it for your convenience, but it can only save them as a JPEG (hence why some animated avatars also become static).
Best thing to do is to use the [IMG] tags.
Looking at the "Manage attachments" window, the max file size is 100Kb and max dimensions for all images are 468x468 pixels.

Muzer
18 Feb 2007, 12:30
Well, it would be nice if it could save it as some other format as the whole JPG format counts as a bug :p. It would be better if it was possible to make a hack to turn them into PNGs or something.

thomasp
18 Feb 2007, 12:45
Well, it would be nice if it could save it as some other format as the whole JPG format counts as a bug :p. It would be better if it was possible to make a hack to turn them into PNGs or something.
I imagine you'll have to take that up with the vBulletin developers.
If having an image downsize is a problem, why not just host it on Imageshack and make use of the IMG tags? It seems a bit pointless making hacks like that to the attachment system when you could just host the image on another hosting website.

franpa
19 Feb 2007, 04:12
or you could zip it up or something.

thomasp
19 Feb 2007, 08:52
or you could zip it up or something.
How would that resolve things? That's not really an alternative to attaching a slightly-too-large PNG and having the forum software squash it down to a JPEG, is it? Since the viewer of the image has to download it to their computer, expand the file AND THEN view the image.

MtlAngelus
19 Feb 2007, 10:12
Or if you don't want the forum resizing it and turning it into jpeg, then resize it yourself, and save it as png, and make sure the file size is under 100kb. Problem solved!

thomasp
19 Feb 2007, 10:16
Or if you don't want the forum resizing it and turning it into jpeg, then resize it yourself, and save it as png, and make sure the file size is under 100kb. Problem solved!
Or just do what I said initially and use Imageshack/Photobucket to host it and link it here using the good ole' [IMG] code.

Muzer
19 Feb 2007, 15:46
Well, that's about double the amount of clicks and a lot more typing.

Liketyspli
19 Feb 2007, 20:59
Well, that's about double the amount of clicks and a lot more typing.
But otherwise you use valuable Team17 webspace.

SupSuper
19 Feb 2007, 22:56
Well, that's about double the amount of clicks and a lot more typing.For double the quality.

MtlAngelus
20 Feb 2007, 07:16
Or just do what I said initially and use Imageshack/Photobucket to host it and link it here using the good ole' [IMG] code.
Yes I know, I read your post, I was just pointing out another solution.

franpa
20 Feb 2007, 14:41
How would that resolve things? That's not really an alternative to attaching a slightly-too-large PNG and having the forum software squash it down to a JPEG, is it? Since the viewer of the image has to download it to their computer, expand the file AND THEN view the image.
the person making the post containing the images makes roughly the same number of clicks to do what i suggested if compared with using 3rd party web space.

thomasp
20 Feb 2007, 14:46
the person making the post containing the images makes roughly the same number of clicks to do what i suggested if compared with using 3rd party web space.
But what about the person viewing the post? I rarely download zips from forums because its too much effort to unstuff them then find where the file's gone, then delete the original ZIP and the new files from my hard drive.
Plus, zipping stuff does cause minor losses in all files.

SupSuper
21 Feb 2007, 19:16
But what about the person viewing the post? I rarely download zips from forums because its too much effort to unstuff them then find where the file's gone, then delete the original ZIP and the new files from my hard drive.
Plus, zipping stuff does cause minor losses in all files.Most browsers / archivers have an "Open" option for downloads which does half of that for you:
1. Click link and select "Open"
*Browser downloads it to a temporary folder and opens it for you*
2. Double-click on file in archiver to "Open".
*Archiver extracts it to a temporary folder and opens it for you*
3. View files and close relevant programs when done.
*All files that were opened and thus on temporary folders are cleared on exit*
Not that I'm knocking your opinion, I don't like ZIP attachments much either, I'm just saying. :p

thomasp
21 Feb 2007, 19:31
Most browsers / archivers have an "Open" option for downloads which does half of that for you:
1. Click link and select "Open"
*Browser downloads it to a temporary folder and opens it for you*
2. Double-click on file in archiver to "Open".
*Archiver extracts it to a temporary folder and opens it for you*
3. View files and close relevant programs when done.
*All files that were opened and thus on temporary folders are cleared on exit*
Not that I'm knocking your opinion, I don't like ZIP attachments much either, I'm just saying. :p
Note: I am also not knocking your post - while it was a very valid post I do have the following comment to make :p
Anyone who leaves "Open/Run after downloaded" turned on by default is just asking for trouble, be it on Mac, Windows or whatever. You download a relatively innocent looking file but it has been disguised and upon running proceeds to do something nasty to your computer.

Muzer
21 Feb 2007, 20:40
But it will do exactly the same thing, possibly worse if you forget to delete it afterwards, if you save it and then open it.

SupSuper
22 Feb 2007, 15:55
Anyone who leaves "Open/Run after downloaded" turned on by default is just asking for trouble, be it on Mac, Windows or whatever. You download a relatively innocent looking file but it has been disguised and upon running proceeds to do something nasty to your computer.I don't. When I get a download window, I have a button that says Open and a button that says Save, and I pick. Hurrah for Opera. :)

Muzer
22 Feb 2007, 16:40
ditto .

franpa
26 Feb 2007, 05:10
I don't. When I get a download window, I have a button that says Open and a button that says Save, and I pick. Hurrah for Opera. :)
internet explorer and firefox both give you that choice as well.

Metal Alex
1 Mar 2007, 12:38
That's not a bug, that's a feature.
That deserves some kind of award.

GrimOswald
1 Mar 2007, 12:49
That deserves some kind of award.
http://i177.photobucket.com/albums/w220/GrimOswald/THOMASPWARNING.png

Cisken1
1 Mar 2007, 18:32
LOL! That's a keeper!

thomasp
1 Mar 2007, 19:04
http://i177.photobucket.com/albums/w220/GrimOswald/THOMASPWARNING.png
I am so tempted to make an OSX version of that :p
And then ban you :p ;)

Muzer
1 Mar 2007, 19:49
Lol :p
Do it.
(Both would be nice!)

GrimOswald
2 Mar 2007, 00:06
I am so tempted to make an OSX version of that :p
Yes, do. ;)
And then ban you :p ;)
A great honour I'm sure. :p
(Both would be nice!)
*Cries*

vBulletin® v3.8.6, Copyright ©2000-2013, Jelsoft Enterprises Ltd.