I have a simple gallery, and when you select an image, that same image is loaded via ajax into a div that is positioned next to that gallery.
When I select the image only the image changes, only I would like to improve the aesthetics. Type, have the image A, B, C and D
I would like that when I select the B image, its opacity would be 1, and the other images with an opacity of 0.7 (this is just an example), and if I selected the C image it would opacity 1 and B would be 0.7