What kind of failure? data-full and data-thumb are not defined in html specification, so the expected behaviour is: nothing (= displaying the image in the browser because of
<img src=>). Now, we need to know what do you expect and why (for example because you use “that library”) or similar. And then you need to tell us what is “my attempts end in a failure”: A browser crash? A blue screen? A message box?