Understanding and fixing the “SVGs with large images inside are not supported” error
The article addresses the error ”SVGs with large images inside are not supported” that arises when importing SVG images from applications like Figma. These images might include JPG or PNG format images which are inlined into SVG files, consuming more storage and potentially exceeding the size limit that Framer supports.
FAQ
What does the 'SVGs with large raster images inside are not supported' error mean in Framer?
This error occurs when you upload an SVG image to Framer that contains embedded raster images (like JPG or PNG files) that are too large. When exporting SVGs from apps like Figma, any included photos or screenshots are inlined into the SVG at their full size, which can make the SVG file much larger. Framer supports SVGs with raster images inside, but only up to a certain size threshold. If the embedded images exceed this limit, you'll see this error.
How can I fix the error when uploading SVGs with large images to Framer?
To fix this error, you can try the following options: Option A: Make the images smaller and re-upload them to Figma. Export the raster parts as JPG or PNG at 2× or 3× resolution, compress them using a tool like tinyjpg.com, re-upload the compressed images into your design, and then export the whole graphic as an SVG. Option B: Export SVG and JPG/PNG parts separately. Export the SVG graphic without the raster image, export the raster parts as JPG or PNG, and upload both files to Framer, positioning them as in the original design. Option C: Export the whole graphic as a PNG and upload that to Framer, though this may result in a less crisp image.
Should I manually resize or optimize images before uploading them to Framer?
If you are following Option B or C (exporting raster parts or the whole graphic as PNG or JPG), you do not need to manually resize or optimize these images. Framer will take care of that for you. However, if you are compressing images as part of Option A, you should use an image compressing tool before re-uploading them to your design tool.
Updated






