elementum-games / shinobi-chronicles

https://shinobichronicles.com
MIT License
12 stars 44 forks source link

Cloudfalre img prep #646

Closed HitoriWoB closed 1 week ago

HitoriWoB commented 9 months ago

Allow T2 & T3 seal users to upload avatars directly to server.

This method requires the manual creation of _user_imgs in the base directory of the site. This method will accept jpg, gif and png files that meet our file size requirements and store them as {base_url}/_user_imgs/{user_name}.{file_type} Subsequent uploads will overwrite the existing image to save space.

Changed to only allow uploads once per day, to help avoid server stress.