helps to append img to link