[eluser]therealjerdev[/eluser]
[quote author="letsgolee" date="1395490379"]I think there is no font information given. So even though watermark is made there will no text overlayed. Below is the example of font configuration.
Code:
$config['wm_font_path'] = './system/fonts/texb.ttf';
$config['wm_font_size'] = '16';
$config['wm_font_color'] = 'ffffff';
$config['wm_vrt_alignment'] = 'bottom';
$config['wm_hor_alignment'] = 'center';
$config['wm_padding'] = '20';
[/quote]
Hmm, those configs should be already defaulted if not defined by me.
But anyways, I tried it anyways and it still wont work.
My code seems pretty logical to you right? Can't seem to see why it won't work out.. :/
My thinking is that the second process [watermarking] gets executed before the last one was fully saved to disk, but that shouldn't be the case because php should wait for a return [true] from the resize method called. and since it does, the image should have already been saved to disk.. which in turn would go to the next 'watermarking'...