restyle and reconfigure images