Re: Client side image resize
Reply #21 –
Could someone give me a jumpstart on including a basic integration hook script? Basically output a "test" message in the integrate_attachment_upload hook so I can verify the hook is active and the function returns correctly. Currently there is an active hook, a file called dropzone.subs.php in the sources/subs directory, the active hook is set to call the function drop_zone(). Something like this:
function drop_zone()
{
global $modSettings;
$something = "test";
return $something;
}
The normal attachment upload drag and drop appears with no "test" message. What is incorrect here? Yours truly is a php dummy, for full disclosure, in case it isn't obvious!