resolving .JPG