I made code to add a custom effect using
hook_image_effect_info() that does not alter the image for real. I'd like to serve an image from my own API instead, that has calls like myapi.com/img2123?w=25&h=88&watermark=true. I don't think that the code for a placeholder effect is relevant is it?
I'd like to use this because that way if I add an Image field to a content type I can choose a banner for example on every 'Article' content type.also I need to pass the parameter returned by the dimensions callback (set in the form callback of
hook_image_effect_info()) to the GET request as an URL parameter.
I was thinking: could I use some node altering hook to change the uri that is parsed somewhere else in the program?
If you need some additional info, just ask. Thanks in advance.