Fix changing avatar on mobile?
IIRC we have a fetchAvatar.php file and the output is cached. Why the avatar is a php file, who can say. It was necessary for some weird thing in 2016 probably
![[Image: supercorrect.png]](https://i.ibb.co/g3J0P4F/supercorrect.png)
(Jun 27, 2024 at 9:28 PM)Spritanium Wrote: IIRC we have a fetchAvatar.php file and the output is cached. Why the avatar is a php file, who can say. It was necessary for some weird thing in 2016 probably
iirc it was some kind of cross site thing when trying to put the image into the avatar cropper thingy so we effectively turned the site into a proxy for the avatar so that it would load
it's probably a very bad idea
Ohh yeah that was it. The avatar cropper is an HTML canvas so it can't render an image from a different origin. Hilarious that we didn't just render the canvas stacked on top of an img
![[Image: supercorrect.png]](https://i.ibb.co/g3J0P4F/supercorrect.png)
Users browsing this thread: