Issue/451 data attribute instead of

Solves #451 by using a data attribute instead of id to identify images.
You're rolling back recent changes by removing this line.