Error checking + image search button