Thermal image and phase transitions of charged AdS black holes using shadow analysis