Project

General

Profile

Actions

Bug #70220

closed

Remove default background if avatar image is assigned

Added by Malte Koitka about 9 years ago. Updated about 7 years ago.

Status:
Closed
Priority:
Should have
Category:
Backend User Interface
Target version:
Start date:
2015-09-30
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

If a transparent avatar image is assigned the default avatar shines through (see example image).

This might be fixed by just using an <img>-Tag for including the default avatar SVG and removing the CSS background and :after pseudo element. If a custom avatar is uploaded its path is assigned to the src attribute, otherwise the SVG default one is.

Another solution would be to add a CSS class modifier if a custom avatar is assigned and then just override the needed CSS rules.


Files

avatar.jpg (1.01 KB) avatar.jpg Example Malte Koitka, 2015-09-30 15:13
Actions #1

Updated by Frans Saris about 9 years ago

  • Status changed from New to Accepted

We should go for the svg as default image solution and drop the background image

Actions #2

Updated by Riccardo De Contardi almost 9 years ago

  • Target version set to Candidate for patchlevel
Actions #3

Updated by Gerrit Code Review almost 9 years ago

  • Status changed from Accepted to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/45191

Actions #4

Updated by Michael Oehlhof almost 9 years ago

  • Assignee set to Michael Oehlhof
  • Target version changed from Candidate for patchlevel to 7.6.1
Actions #5

Updated by Gerrit Code Review almost 9 years ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/45191

Actions #6

Updated by Michael Oehlhof almost 9 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #7

Updated by Riccardo De Contardi about 7 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF