banner on uploaded image

MILORD65

Member
Hello
I need to display a "promotion" banner or watermark on a downloaded photo (fileupload element) if another yes/no element is checked. It's a little complicated for me, does anyone have an idea?
Thank you in advance.

JP
 
Last edited:
Hi,

It depends:
Watermark (= merging two images into a single new one), on upload: utilise PHP GD in a PHP form plugin, onBeforeStore or onAfterProcess.
Display (= two separate images, one displayed on top of the other): use a custom template and CSS with "position: absolute;" etc.

Without much more detailed information that's all I can think of, but should do to send you off into the right direction.
 
Hi,
Thank you very much for your reply.
Assuming a watermark, I do not know how to code to use PHP GD in a PHP form plugin to apply to fileupload element. Do you have a tutorial or an example to offer me?
thank you in advance

JP
 
Thank you very much Troester!
But how to apply this in Fabrik? with a php plugin form and $formModel->formData [ ]?
How to recover the image (fileupload element) and the watermark (another element in form) ?
 
We are in need of some funding.
More details.

Thank you.

Members online

No members online now.
Back
Top