Has image loading broken?

by Fred, Wednesday, March 20, 2013, 00:40 (4027 days ago)

I've just updated to the latest 2.4-SNAPSHOT build, and images don't seem to automatically load any more. I now have to click the 'Load Images' button.

I've gone over the recent commits at GitHub, and can't see any changes that might have introduced this behaviour.

Help! I want load images to be the default again. :(

Has image loading broken?

by Fred, Wednesday, March 20, 2013, 00:51 (4027 days ago) @ Fred

Very odd, images don't load in Chrome (and I see the load images button), yet in IE, images load automatically and there is no load images button.

Has image loading broken?

by dasistdaniel, Wednesday, March 20, 2013, 11:28 (4027 days ago) @ Fred

This is working for me

public function lazyimg($content) {
return preg_replace("/<img([^<]+)src=(['\"])([^\"']*)(['\"])([^<]*)>/i","<img$1ref='$3'$5>",$content);
}

to

public function lazyimg($content) {
return preg_replace("/<img([^<]+)src=(['\"])([^\"']*)(['\"])([^<]*)>/i","<img$1src='$3'$5>",$content);
}

in

helpers/ViewHelper.php

Has image loading broken?

by Fred, Wednesday, March 20, 2013, 13:45 (4027 days ago) @ dasistdaniel

Thanks Daniel, I'll give that a shot.

Has image loading broken?

by dblume, Wednesday, March 27, 2013, 22:58 (4019 days ago) @ dasistdaniel

Thank you. I came here looking to fix the same problem. This changes fixes the issue for me too.

RSS Feed of thread
powered by my little forum