Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Black background for transparent PNG avatars

edited July 2010 in Vanilla 2.0 - 2.8
I observed it because my avatar has transparent background. Here is a patch to fix this issue:
http://pastebin.com/5sBaHZ4C

I'd like to add a request about uploaded pictures, why do you convert PNG to JPG systematically ? I think keeping PNG format would be a best choice.
My request reason is just about look and feel, I'd like to keep my transparency for my personal thumbnail :-)

Comments

  • Nobody is interested by this patch ? or maybe I should post it to github (but where ?)
  • edited July 2010
    You just replace it?
  • This patch just uses a white background instead of a black background when the uploaded photo uses transparency (PNG for example). If the uploaded photo is opaque (JPEG for example), it doesn't change anything.
  • TimTim Operations Vanilla Staff
    GitHUB is definitely the best way to submit code.
    This tutorial should help clear things up for you: http://help.github.com/forking/

    Vanilla Forums COO [GitHub, Twitter, About.me]

Sign In or Register to comment.