ElkArte Community

Elk Development => Bug Reports => Topic started by: Burke Knight on December 15, 2016, 12:35:08 pm

Title: 1.0.9 - Avatar Directory Issue
Post by: Burke Knight on December 15, 2016, 12:35:08 pm
Okay, here's an odd one.
When do custom directory for uploaded avatars, it somehow ends up with broken images when upload.
When looked at the image's URL, it shows both the URL & the path.

Upload Directory:
Code: [Select]
/home/name/public_html/avys
Upload URL:
Code: [Select]
https://www.name.tld/avys

When try to see URL for broken just uploaded avatar:
Code: [Select]
https://www.name.tld/avys//home/name/public_html/avys/avatar_496_1481822533.png?time=1481822533

As can see, there's indeed something odd with that.
This is confirmed on 2 forums.

However....
Here's the kicker. If let it show after save on uploading, as broken, and click Forum Profile again under modify, the avatar then shows correctly. So, this bug is only on initial avatar upload and save.
Title: Re: 1.0.9 - Avatar Directory Issue
Post by: Spuds on December 15, 2016, 09:25:21 pm
Strange indeed ... 1.0.9?  Marking this as unread so I remember to take a deeper look !