Do you know other options to add an apikey to the image?
Btw. ajax-calls via jquery works, because octoprint extends these calls and add the X-Api-Key Header. I have no clue how jquery get the current api-key.
The variable is not undefined, but it is an empty string in my development setup. I use Version 1.3.11.
I tested it on my real printer, running 1.3.10 and it is working!
Remove UI_API_KEY and API disabling. With the inclusion of the ForceLogin plugin that doesn't serve a real purpose anymore in most cases, and it was only ever more of a rate limiting feature than an actual security measure anyhow. Plus it lead to a ton of false security alarms.
Define empty UI_API_KEY for backwards compatibility with third party plugins
hmmm...I think I need to ""stick" on my solution....or is there an other option/flag?