fixed jpg path in gallery