added support for image processing and made changes to html