I find out that trouble was with regular expression fnd non-standart attribute of img tag.
I have such html-code: img src="/files/images/image.jpg" ilo-full-src="http://www.fidelin.local/files/images/image.jpg"
As you see i have an attribute "ilo-full-src". And your regular expression return the value of this attribute but not the value of "src".
So i modify expression that beforesrc it has to be a space - and works fine!
The new expression is: "/<img[^>]*\ssrc=\"([^\"]+)/i"
i repalce + with *\s
Comments
Comment #1
Eugene Fidelin commentedI find out that trouble was with regular expression fnd non-standart attribute of img tag.
I have such html-code:
img src="/files/images/image.jpg" ilo-full-src="http://www.fidelin.local/files/images/image.jpg"As you see i have an attribute "ilo-full-src". And your regular expression return the value of this attribute but not the value of "src".
So i modify expression that beforesrc it has to be a space - and works fine!
The new expression is:
"/<img[^>]*\ssrc=\"([^\"]+)/i"i repalce + with *\s
Comment #2
Eugene Fidelin commentedComment #3
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.