Skip to main content
Topic: 1.0.9 - Avatar Directory Issue (Read 1276 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

1.0.9 - Avatar Directory Issue

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.

Re: 1.0.9 - Avatar Directory Issue

Reply #1
Strange indeed ... 1.0.9?  Marking this as unread so I remember to take a deeper look !
Be safe, Be kind, Happy Programing