Make a and img absolute