Only replace the return line with that code - not all the lines you've shown. It is the very next line after those that you are replacing. I have that line commented out in the beginning of the hack so that you can roll back to it if you want to down the road. This is the line:
return '<img src="' . $link . '" border="0" alt="" />';
I've just updated this, btw - please use the new code. I only changed 3 lines due to problem a couple people had.
|