Will use data-src attribute if present before checking for the presence of an src attribute.