## General developer forum

Hi,

I'm trying to upload an image (as a draft), identify and return it's size (pixel dimensions) for further use in a form to set up an activity (and later save the image, when saving the activity).

So far I've figured out I can get the form layout columns in javascript via:

templates.render('core_form/element-filemanager', context)

...but this needs me to provide the actual filemanager UI in the data's element.html - and I can't see where to get it from.

Cheers,
Dave.

Average of ratings: -