Removed querySelector for selecting image

querySelector wasn't useful when having multiple galleries in the same
page.