zikula-modules/Profile

blank avatar still displays something

Closed this issue · 11 comments

screen shot 2017-07-22 at 7 45 06 am

when I choose 'blank' I shouldn't see a gravatar placeholder

@Guite

also would prefer to to have the

Avatar blank.jpg

to show either

screen shot 2017-07-22 at 7 53 13 am

it isn't just a placeholder... here I changed my email to an gravatar-associated email address

Guite commented

See #84

looks good

Guite commented

Avatar blank.jpg

Added to #84

This still isn't working quite right

Kaik commented

I will use this issue with my problem - when path is set in settings it has to be global
https://github.com/zikula-modules/Profile/blob/master/Controller/ConfigController.php#L86
while in https://github.com/zikula-modules/Profile/blob/master/Bridge/ProfileModuleBridge.php#L140
it is used as relative path to base path.

Unless you have any other ideas this works
https://github.com/zikula-modules/Profile/blob/master/Controller/ConfigController.php#L85

$path = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), 'modules')).$modVars[ProfileConstant::MODVAR_AVATAR_IMAGE_PATH];

Hmm now I'm not sure if this ticket is a right place for issue.

Guite commented

Improved check for hiding the avatar field on the profile's right side in 04fd7b7

Guite commented

Closing. If you encounter further issues please open separate tickets.

Guite commented

@Kaik can you please put your path issue into a dedicated/own ticket?

Kaik commented

done