Hi all, for a new plugin I am devleoping I thought I could catch the image upload somehow. My plugin needs to collect all Blobids from all uploaded files this day, though, I am think about a mysql workaround now. Nevertheless, the question is quite interesting for developers and upcoming plugins.
Each editor uses a URL for the upload. So I could look for the matching request like that:
function match_request($request)
{
return ($request=='sceditor-upload'); // or another editor URL
}
Problem is that each plugin has another $request URL. So using my plugin I do not know what the editor URL is and cannot catch the upload "event".
Any idea how to overcome this?
Thanks,
Kai
For reference: http://www.question2answer.org/modules.php