Get Wordpress to URL-Encode Image uploads -
wordpress 4.4 appears have bug images added through editor in visual composer (tinymce?) not url-encoded. cause errors on image paths spaces when wp automatically generates srcset
attribute.
eg: <img src="/name spaces/image.jpg">
should be: <img src="/name%20with%20spaces/image.jpg">
due plugin/theme incompatibilities can't upgrade newer version of wp (yet) wondering if has run before , knows fix. fix has happen in php when page saved because otherwise wordpress generates srcset
attribute invalid, eg:
<img src="/name spaces/image.jpg" srcset="/name spaces/image-50x50.jpg 50w">
spaces in srcset
cannot "safely" ignored browser in src
because spaces delimiter between urls , sizes.
Comments
Post a Comment