I’m attempting to implement SVG support in Apostrophe, but I’m unclear on the instructions. I used to get a file corrupt error in previous versions of Apostrophe. Setting svgImages to true when defining an apostrophe-images does change the nature of the error message to something along the lines of “Some uploaded files were not suitable for the current placement", but the file doesn’t actually upload
apos.area(data.page, 'examples', {
widgets: {
'apostrophe-images': {
limit: 1,
svgImages: true,
extensions: ['png','gif','jpg','jpeg','svg']
},
}});
I’m running the latest Apostrophe 2.68. I have confirmed the widgetBase.html in apostrophe-images-widgets matches the one in node_modules/apostrophe and has the same code for handling SVGs.
Thanks in advance for any assistance.