fix jquery, add option to use link as image