Fix image field with warnings enabled

Checks if meta['sizes'] is set before checking if its an array - produces a warning otherwise, which breaks the ajax call to load images for the "Select Image" box for the image type.
Merge pull request #12 from lgladdy/master

Image field "Select Image" box doesn't contain any images with error output enabled