MDL-34137 mod_label - resize images when uploaded via drag & drop