Skip to main content
9 events
when toggle format what by license comment
Apr 27, 2020 at 23:04 comment added Mihail Minkov Yes, what you could do is have a temp folder for generated images and check if a generated image with the same criteria exists.
Apr 27, 2020 at 21:54 vote accept Manny
Apr 27, 2020 at 21:53 comment added Manny Yes, thanks. I understand. It also takes a long time because of running the entire code everytime.
Apr 26, 2020 at 18:41 comment added Mihail Minkov As far as I am aware you are not able to do this since the entire image is inside the src. It's not a generated file, it's literally the raw code of the image. If you need to be able to save it with a file name, you'd have to save the image file on your server and output that instead. Except for that, did my answer work for you?
Apr 26, 2020 at 12:26 comment added Manny I actually figured it out, I didn't understand what exactly you meant at first but I roamed around & got it. It works perfect now except for one thing. If I right click & open it in a new tab, it says the entire encoded base64 structure... If there's an alternative to rename it or so, as the source images... Here's the source code stackoverflow.com/q/61419943/13168285
Apr 25, 2020 at 3:22 comment added Mihail Minkov Could you update your question with the image generating code? The full function preferably. I'm a little blind here :)
Apr 24, 2020 at 18:52 comment added Manny So I updated the tag with the new code but it still outputs a bunch of gibberish text instead of the image
Apr 24, 2020 at 18:28 comment added Manny Thanks for the super quick reply. I'll give it a try in a few & let you know if that works. Also, I'll share the code as well.
Apr 24, 2020 at 18:25 history answered Mihail Minkov CC BY-SA 4.0