details image and opacity working