RobertBroersma / beanheads

Easily create characters for your projects
https://beanheads.robertbroersma.com
MIT License
1.39k stars 93 forks source link

Generator not downloading edited avatar #25

Closed hillonyechekwa closed 3 years ago

hillonyechekwa commented 3 years ago

After i edit the bighead to my taste, and i click on download SVG, it doesn't download what I edited. Instead it download the avatar on the hero of the landing page Screenshot from 2021-08-08 06-04-39 I think there's something wrong with the svg button

RobertBroersma commented 3 years ago

Hi @hillonyechekwa

This is correct. The SVG download button depends on the /svg api handler, which I disabled due to high server costs. The API now points to a static .svg file so people using the API won't have empty images on their apps/websites all of a sudden.

Tbh I didn't really think about the download button, but I will look into a client-side download method which shouldn't be too hard.

Thanks for reporting!

RobertBroersma commented 3 years ago

Done! Download button now works client side.