Points of Required Attention™
Please chime in on a proposed restructuring of the ROM hacking sections.
Views: 88,512,029
Main | FAQ | Uploader | IRC chat | Radio | Memberlist | Active users | Latest posts | Calendar | Stats | Online users | Search 05-02-24 11:01 AM
Guest: Register | Login

0 users currently in Help/Suggestions/Bug Reports | 1 guest

Main - Help/Suggestions/Bug Reports - Avatars. New thread | New reply

Pages: 1 2

Kernal
Posted on 03-27-07 01:16 AM (rev. 2 of 03-27-07 01:16 AM) Link | Quote | ID: 19704

Gone
Level: 88

Posts: 999/1881
EXP: 6465282
Next: 185382

Since: 02-20-07

Last post: 6152 days
Last view: 6143 days
The fact that the same URL is used for your avatar all the time causes old avatars to be displayed long after they're changed in some browsers. Not sure how to rectify this, maybe add an additional parameter like http://acmlm.no-ip.org/board/gfx/userpic.php?id=133& image=2 or something, updating the image number with each avatar change and storing the current number in the profile.

Acmlm
Posted on 03-27-07 01:25 AM Link | Quote | ID: 19724


Flurry
Level: 37

Posts: 165/251
EXP: 315187
Next: 23066

Since: 02-19-07
From: Mirabel, Québec, Canada

Last post: 6186 days
Last view: 1819 days




Flurry
#&postrank&
Ctrl-F5 forces the browser to reload it, otherwise I could add a random parameter to the .php but that'd reload the image everytime ...

Anything else would require new changes to the database or code to support multiple images per user, and it already works fine for me

____________________

Xkeeper
Posted on 03-27-07 03:33 AM Link | Quote | ID: 19806


Level: 105

Posts: 1056/2846
EXP: 12033994
Next: 228266

Since: 02-19-07

Last post: 6066 days
Last view: 2803 days
That's where I liked the old (well, on 1.92) implementation; avatars were still uploaded but threads used an external URL still, so:

a- Admins/other users could still have special avatars, e.g. ones that rotated or were larger
b- Uploaded avatars retained the right extension (e.g. "1.png") and didn't rely on a PHP file to determine if it existed or not
c- there could be a random string appended to an uploaded avatar, or even just changing the date of the file easily (e.g. 1_04-05-2007.png), so that they'd change but would still be cached easily



____________________
I dealt with it.

Koitenshin -∞
Posted on 03-30-07 12:04 PM Link | Quote | ID: 21038

Happy Hour!
Level: 81

Posts: 159/1556
EXP: 4851643
Next: 141206

Since: 03-25-07

Last post: 2682 days
Last view: 2680 days
How about being able to use GIFs as avatars? I'd like to see that.

____________________
Quiz Result Provided By: theOtaku.com.
What FF7: Advent Children Character Are You?

Acmlm
Posted on 03-30-07 12:21 PM Link | Quote | ID: 21039


Flurry
Level: 37

Posts: 180/251
EXP: 315187
Next: 23066

Since: 02-19-07
From: Mirabel, Québec, Canada

Last post: 6186 days
Last view: 1819 days




Flurry
#&postrank&
GIF is supported, animated ones too ... they just need to be under the size limit (100x100, 30k) to work properly

____________________

Koitenshin -∞
Posted on 03-30-07 12:45 PM Link | Quote | ID: 21042

Happy Hour!
Level: 81

Posts: 160/1556
EXP: 4851643
Next: 141206

Since: 03-25-07

Last post: 2682 days
Last view: 2680 days
I think 100x100 is too small. Especially when there's text involved. I really wanted to use this avatar too....pity.

____________________
Quiz Result Provided By: theOtaku.com.
What FF7: Advent Children Character Are You?

Kernal
Posted on 03-30-07 01:59 PM (rev. 2 of 03-30-07 01:59 PM) Link | Quote | ID: 21051

Gone
Level: 88

Posts: 1069/1881
EXP: 6465282
Next: 185382

Since: 02-20-07

Last post: 6152 days
Last view: 6143 days
Well, we can't really allow HUGE avatars very easily as that would cause the tables to stretch, and if we don't put a size limit, you know some n00b or other will put a 3000*1600 image in as their avatar. The line had to be drawn somewhere. I'm not complaining, at least avatars no longer have to be exactly 60 pixels wide (causing many freely available avatars to be unusable without ugly scaling).

Koitenshin -∞
Posted on 04-08-07 05:15 AM Link | Quote | ID: 24552

Happy Hour!
Level: 81

Posts: 443/1556
EXP: 4851643
Next: 141206

Since: 03-25-07

Last post: 2682 days
Last view: 2680 days
I know I'm bumping an old topic but this must be said. Can you please allow BMP's to be used? I have a few awesome avatars I've edited myself but JPEG screws them up completely.

____________________
Quiz Result Provided By: theOtaku.com.
What FF7: Advent Children Character Are You?

NightKev
Posted on 04-08-07 05:21 AM Link | Quote | ID: 24557


Cape Luigi
Level: 131

Posts: 320/4792
EXP: 26242622
Next: 181998

Since: 03-15-07

Last post: 3740 days
Last view: 3652 days
Posted by Koitenshin +∞
I know I'm bumping an old topic but this must be said. Can you please allow BMP's to be used? I have a few awesome avatars I've edited myself but JPEG screws them up completely.
Convert them to PNG. It's about the same size as .jpg but higher quality.

____________________

Koitenshin -∞
Posted on 04-08-07 05:29 AM Link | Quote | ID: 24562

Happy Hour!
Level: 81

Posts: 444/1556
EXP: 4851643
Next: 141206

Since: 03-25-07

Last post: 2682 days
Last view: 2680 days
Sweet, they look the EXACT same as the original bitmaps do. Not a single pixel was screwed over. Thanks NightKev

____________________
Quiz Result Provided By: theOtaku.com.
What FF7: Advent Children Character Are You?

NightKev
Posted on 04-08-07 05:36 AM Link | Quote | ID: 24572


Cape Luigi
Level: 131

Posts: 321/4792
EXP: 26242622
Next: 181998

Since: 03-15-07

Last post: 3740 days
Last view: 3652 days
Posted by Koitenshin +∞
Sweet, they look the EXACT same as the original bitmaps do. Not a single pixel was screwed over. Thanks NightKev
I had that problem a while ago, I couldn't use BMPs because of the size, but JPGs looked horrible. Then I stumbled upon this site and he mentioned using PNGs instead of JPGs and voila, solution get!

____________________

HyperHacker
Posted on 04-08-07 06:18 AM Link | Quote | ID: 24601

...
Level: 73

Posts: 266/1220
EXP: 3368404
Next: 117464

Since: 03-25-07
From: no

Last post: 6097 days
Last view: 6081 days
The problem with BMPs is size:


PNG tends to be a fair bit bigger than JPEG, since it's lossless, but this also means your images don't lose any quality. It's still a buttload smaller than BMP though.

Koitenshin -∞
Posted on 04-08-07 06:32 AM Link | Quote | ID: 24606

Happy Hour!
Level: 81

Posts: 453/1556
EXP: 4851643
Next: 141206

Since: 03-25-07

Last post: 2682 days
Last view: 2680 days
It also determines what size you're going for. I was talking about a 100x100 avatar. Not a desktop background sized image.

____________________
Quiz Result Provided By: theOtaku.com.
What FF7: Advent Children Character Are You?

HyperHacker
Posted on 04-08-07 06:38 AM (rev. 2 of 04-08-07 06:40 AM) Link | Quote | ID: 24612

...
Level: 73

Posts: 271/1220
EXP: 3368404
Next: 117464

Since: 03-25-07
From: no

Last post: 6097 days
Last view: 6081 days
Hm, I was going to compare your images as PNG versus BMP, but it seems your first image is in fact a BMP file with the extension ".jpg". In the second, you're still saving 6.1KB, and a program like Pngcrush could probably shrink it more. (Also, Firefox for some reason reports this image is 0KB, and views it as plain text. I suspect the server isn't sending a content-type header or something.


+++GET 842+++
GET /board/gfx/userpic.php?id=319 HTTP/1.1
Host: acmlm.no-ip.org
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.11) Gecko/20070312 Firefox/1.5.0.11
Accept: application/x-shockwave-flash,text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip, deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Cookie: ***snip***
Connection: keep-alive

+++RESP 842+++
HTTP/1.1 302 Found
Date: Sun, 08 Apr 2007 04:39:14 GMT
Server: Apache/2.2.3 (Debian) DAV/2 SVN/1.4.2 PHP/5.2.0-8
X-Powered-By: PHP/5.2.0-8
Location: ../userpic/319
Content-Length: 0
Content-Type: text/html; charset=UTF-8
+++CLOSE 842+++
Tsk tsk tsk.

Koitenshin -∞
Posted on 04-08-07 06:41 AM Link | Quote | ID: 24613

Happy Hour!
Level: 81

Posts: 454/1556
EXP: 4851643
Next: 141206

Since: 03-25-07

Last post: 2682 days
Last view: 2680 days
Yes the first one is a Bitmap image but upon uploading to photobucket, said culprit changes the extension to ".jpg" without losing any quality. Strange isn't it?

____________________
Quiz Result Provided By: theOtaku.com.
What FF7: Advent Children Character Are You?

NightKev
Posted on 04-08-07 07:29 AM Link | Quote | ID: 24640


Cape Luigi
Level: 131

Posts: 326/4792
EXP: 26242622
Next: 181998

Since: 03-15-07

Last post: 3740 days
Last view: 3652 days
Posted by HyperHacker
bad bad bad bad bad bad
bad bad bad bad bad bad
Yes, .bmp is "bad".

____________________

Kernal
Posted on 04-08-07 02:33 PM (rev. 2 of 04-08-07 02:33 PM) Link | Quote | ID: 24698

Gone
Level: 88

Posts: 1243/1881
EXP: 6465282
Next: 185382

Since: 02-20-07

Last post: 6152 days
Last view: 6143 days
The reason for .bmp being bad is that the files are very large, even small images like avatars, speaking as someone who had dialup until late 2006. Some people still have slow connections, and your avatar would take a very long time to load.

What I never understood is why .bmp files are apparently stored backwards. If you see one load really slowly (as I have many times), the bottom pixels load first, implying that they're at the beginning of the file. Wouldn't it make sense to store a bitmap starting at the top left and moving right and down?

Koitenshin -∞
Posted on 04-08-07 07:10 PM Link | Quote | ID: 24763

Happy Hour!
Level: 81

Posts: 466/1556
EXP: 4851643
Next: 141206

Since: 03-25-07

Last post: 2682 days
Last view: 2680 days
Well the bitmap of my second image (the really pale Sephiroth image) is 23 KB as a bitmap and 16.9 KB as a PNG image. That's not much of a difference so why does it matter?

____________________
Quiz Result Provided By: theOtaku.com.
What FF7: Advent Children Character Are You?

Xkeeper
Posted on 04-08-07 11:02 PM Link | Quote | ID: 24866


Level: 105

Posts: 1271/2846
EXP: 12033994
Next: 228266

Since: 02-19-07

Last post: 6066 days
Last view: 2803 days
PNG is good for things like videogame screenshots or pixel work.

Your avatar falls more into the "photographic-like" category; use JPG instead. (Quality can be set to 80-90.)



HyperHacker: The board stores avatars as "ava/0". No extension or anything. Hence why it sends as nothing (and also occasionally falls apart in Opera)

Believe me, I want to change it. I want to go back to the older solution, where avatars were still uploaded but they actually kept their extensions and could be changed by administrators to go offsite.

____________________
I dealt with it.

HyperHacker
Posted on 04-09-07 01:01 AM Link | Quote | ID: 24918

...
Level: 73

Posts: 282/1220
EXP: 3368404
Next: 117464

Since: 03-25-07
From: no

Last post: 6097 days
Last view: 6081 days
Generally JPEG is suitable unless you need pixel-perfect quality. Paint may make them look like crap, but the format allows for varying compression quality (better-looking images versus smaller files).

As for BMP being backward, it's a Microsoft format. Windows even stores images upside-down in memory, but you can use negative heights to read them right-side-up.
Pages: 1 2


Main - Help/Suggestions/Bug Reports - Avatars. New thread | New reply

Acmlmboard 2.1+4δ (2023-01-15)
© 2005-2023 Acmlm, blackhole89, Xkeeper et al.

Page rendered in 0.070 seconds. (322KB of memory used)
MySQL - queries: 57, rows: 85/86, time: 0.045 seconds.