create thumbnail for blog module photo