adds margins to project imgs