Top of the morning to everyone.
I'm in search of a way to display higher resolution images when hovering over lower resolution ones. I want to create a rule or function that can handle this dynamically without manually adding hover effects and changing image sources everywhere.
Here's my idea:
If we organize all low resolution images in a folder named "images/small," and high resolution images in another folder named "images/large," could we create a function that simply replaces "images/SMALL" with "images/LARGE"?
Any suggestions are welcome.
Thanks in advance!