I'm showing the results of a search and when I hover over an item I want to display an image on the top right corner of the website. This is what I'm currently doing:
$name = '<a>' . $row['name'] . '<div><img src="' . 'http://gatherer.wizards.com/Handlers/Image.ashx?multiverseid=' . $row['multiverseid'] . '&type=card" /></div></a>';
That's making the website slow down because all the images are being loaded. I want to load the images only on mouse hover like here.