Small change to use data-attribute instead of title

Removed title as source for image, used data-attribute instead (default
data-photo, configurable by user).