Added image resizing and selection on front end. Cleaned up bloq.js and introduced the concept of fields