make all links open in a new tab/page
get the image width from the attribute