Added sizes to img
Fixed img algorithm to take both src and srcset into account
Fixed tabs and contains
Intrinsic size should be the size of the img, not picture