repeat by deleting dimensions of jpeg