Conflict with S3 Uploads
-
Trying to update Safe SVG to 2.x.x or above results in the front end of the site never loading. There are no php errors being logged when this happens.
We use the S3 Uploads plugin to keep all media assets in an Amazon S3 bucket.
The specific place in Safe SVG where things hang up is in the
svg_dimensions
method, when it tries to use@simplexml_load_file
on the remote file.If I short this out by instead defining
$svg
asfalse
insvg_dimensions
, things seem to work, but then the image dimensions are not added to the markup. Not sure if there are other implications to doing this that I’m not seeing yet, since this method is used by several other plugin hooks.Is there perhaps a different way I can get the image dimensions from a remote file?
- The topic ‘Conflict with S3 Uploads’ is closed to new replies.