Uses ids instead of classes to poll images.