[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#703118: do not show randomly generated avatar icons if not avatar exists

On Fri, Mar 15, 2013 at 02:51:26PM -0700, Holger Levsen wrote:
> package: debbugs
> x-debbugs-cc: debian-project@lists.debian.org
> Hi,
> On Freitag, 15. März 2013, Don Armstrong wrote:
> > Finally, if someone wants an option to disable avatars in the
> > bugreport view, I'd certainly add a patch which did that, or consider
> > implementing it myself if an appropriate wishlist bug was filed with
> > enough support against the debbugs package.
> currently the BTS displays a randomly generated "icon" for a bts-user if no 
> avatar can be found. IMO the default should be not to display any icon if no 
> avatar exists.

This can be accomplished by replacing d=retro in the avatar URL, and
using the avatar image as the background of a <div> tag instead of an
actual <img> tag, so unexisting avatars returning 404 will not be
displayed by browsers as "broken image" icons (the <div> tag will just
have no background).

Antonio Terceiro <terceiro@debian.org>

Attachment: signature.asc
Description: Digital signature

Reply to: