snipe-it icon indicating copy to clipboard operation
snipe-it copied to clipboard

Profile edit image

Open rudashi opened this issue 10 years ago • 3 comments

Hello, I found a bug in profile section. The image is not displaying correctly (v3.3.0-3-g7ef4f23). In file profile.blade.php is TYPO in line 91 <img src="/uploads/avatars/{{ $user->avatar }}" class="avatar img-circle"> fix: <img src="{{ config('app.url') }}uploads/avatars/{{ $user->avatar }}" class="avatar img-circle">

In Poland our firstname and lastname have a special chars (ż, ł, ó etc.). If I upload the image, filename is changed and not match to profile. example: lastname: Żuk (in Profile) filename: Ĺ»uk.png

rudashi avatar Aug 26 '16 12:08 rudashi

Just to clarify, are these two separate issues? Or does changing the /uploads/avatars to config(app.url) fix the encoding issues?

mnemonicly avatar Aug 26 '16 12:08 mnemonicly

Two diffrents issues, unfortunately.

rudashi avatar Aug 26 '16 16:08 rudashi

Fixed with https://github.com/snipe/snipe-it/commit/04e9ca0942a94aaec0d92ef09de12e2caf213165. (I tagged the wrong ticket. :( )

snipe avatar Aug 30 '16 19:08 snipe