changed to JPG, cannot lowercase img extensions