Contentify: Avatar/Portrait Picture not working

Created on 5 Jun 2017  路  8Comments  路  Source: Contentify/Contentify

i meen the little picture beside my account name

i have this little bug, ist maybe just me doing something wrong

it seems like when i have no Avatar/Portrait set to my profile, it registers like theres is one

and when i add a Avatar/Portrait it comes up whit the defualt img saying no Avatar/Portrait

bug

All 8 comments

Hi,

if you try to upload one of these images, does it appear in this directory? public/uploads/users
If not then it might be a problem with permissions.

Hi Chris

Yes it dows apear in the public/uploads/users location i have 2 files called 2_avater.jpg and 2_image.jpg

ist like the code show the no avatar std image, when theres an image uploaded, an when you dont have an image uploaded it tries to load the picture that arent there

best regrads
EazY(eShooting.dk)

when picture is uploaded it load this
background-image: url(http://test.eshooting.dk/public/img/default/no_user.png)

when no picture uploaded it loads this
background-image: url(http://test.eshooting.dk/public/uploads/users/80/)

Ok you are right, this is a bug.

  1. Open Contentify/app/Modules/PhobosTheme/Resources/Views/layout.blade.php with a text editor.
  2. Swap line 63 ( https://github.com/Contentify/Contentify/blob/2.0/app/Modules/PhobosTheme/Resources/Views/layout.blade.php#L63 ) with line 65 ( https://github.com/Contentify/Contentify/blob/2.0/app/Modules/PhobosTheme/Resources/Views/layout.blade.php#L65 )

Does it work?

jep thats works

i thougt it was that of a little adjustment, but i couldent find out what files i should look ing :)

thanks for the help
EazY (eShooting.dk)

what if you use morpheusTheme

It does not have this bug, because it does not display the user picture in the frontend. :)

Bug fixed, issue closed.

Thank you for your feedback, @EazYKevin

Was this page helpful?
0 / 5 - 0 ratings

Related issues

torriz picture torriz  路  5Comments

PureLoneWolf picture PureLoneWolf  路  3Comments

LeventeNagy picture LeventeNagy  路  4Comments

justtam picture justtam  路  6Comments

bitbot-marina picture bitbot-marina  路  5Comments