added smartresize to the image field