Executing `createimagefrompng()` from save_post hook (or equivalent hook)
I’m having trouble executing createimagefrompng() from a hook. I’ve used the fairly straightforward PHP way to add a watermark to an image. If I hardcode the image URLs in this function and for example execute it from a page or whatever it seems to work flawlessly, but whenever I execute the exact function from a … Read more