create image functionality