You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser.
-
M
I bet that your script was made when Google showed the preview horizontally and not on a side panel.
You just need to edit the image's link selector.