Added a srcset function. Needs improving to use W and sizes attribute, currently just device pixel ratio