Added option to choose different img resolutions