Simplify using hidden img element