Script not work on image with "-" character in name #14

Closed
acidvertigo opened this Issue Apr 10, 2012 · 3 comments

Comments

Projects
None yet
2 participants

Hello,
that script not work on images with "-" character in name (ex: /test-image.jpg) there is a workaround for that?

Owner

vvo commented May 23, 2012

Sorry I can't reproduce this, could you provide a test case? Which browser?

There's no reason but the file your trying to load is missing that the script won't load images that contains "-".

With Chrome 18, FF 11 and IE 9 i cannot provide a direct link as i have no more this code but for example imges with name: test-image.jpg, google-mail.jpg, face-book.jpg and so on

to better explain:

<img
data-src="real/image/test-src.jpg"
src=data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==
onload=lzld(this) onerror=lzld(this) />

in this case the script is unable to find the image

@vvo vvo closed this in 76aede6 May 23, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment