Framer says "invalid EXIF orientation value": find the bad photo, then three fixes
The photo looks fine everywhere, but Framer refuses it with "invalid EXIF orientation value". Here is how to find the bad tag and fix it three ways.
Framer’s message means a photo’s EXIF orientation tag holds a value Framer will not accept. EXIF only defines 1 to 8, so anything else is the likely cause. Find the file with ExifTool (a free install): exiftool -n -Orientation photo.jpg. Then re-export the photo or strip the tag. On a Mac, one of the three fixes below needs nothing but Terminal.
I found this helping a customer whose new images had stopped reaching their Framer CMS. Text and links still synced. Two JPGs on one row were the cause, and because of how my sync handled Framer’s refusal, the other 33 rows lost their images too.
What the error means
Photos carry hidden metadata called EXIF, such as the camera model, the date and an orientation tag. Cameras and phones save the pixels the way the sensor captured them, then add a number from 1 to 8 that says how to turn the picture for display. A value of 1 means “already upright”. A value of 6 means “rotate 90 degrees clockwise”, and so on.
Framer’s message says the number in your file is not one it accepts. It does not say which number it found, or which program wrote it.
Why the photo still looks fine
Most image viewers treat a value they do not understand as “do not rotate” and carry on. The customer’s two photos opened normally on a computer and displayed normally in Notion. Framer processes every image it adds to the CMS, so that is where the file gets refused, not when the photo is exported.
How to find the bad file
Start with the photos added since images last worked. The bad file has to be one of those.
To check a photo directly, install ExifTool and run:
exiftool -n -Orientation photo.jpg
Anything other than a number from 1 to 8 is the bad file. No output means the photo has no orientation tag at all, so look elsewhere.
Three ways to fix it
Each one gives you a new file. Replace the original wherever your content lives, then sync or upload again.
1. Export it again from an image editor
Open the photo in an editor and export a new JPG or PNG. A fresh copy usually gets new metadata, but not every app rewrites the tag, so check the result with the command above.
2. On a Mac, use the built-in sips command
Nothing to install. Run this in Terminal:
sips -s format jpeg photo.jpg --out photo-fixed.jpg
I tested this on a JPG with its orientation set to 9, which is out of range. The new file came out with a valid 1.
3. Remove the tag with ExifTool
This leaves the image data and the rest of the metadata untouched:
exiftool -Orientation= photo.jpg
ExifTool keeps the original next to the new file as photo.jpg_original.
Whichever you pick, look at the picture afterwards. If the tag was the only thing turning a sideways photo upright, the photo may now show sideways. Rotate it in an editor and export it once more.
What one bad photo can do to a sync
This was the part that was my fault, not Framer’s.
Framer refuses a batch of changes when a file in it is bad. KnotCMS used to respond by sending the whole batch again without images. The text arrived, so the sync looked successful. Every image in the batch was gone. That is how one row’s two photos cost the other 33 rows theirs.
Here is what KnotCMS does now:
- It splits a refused batch into smaller pieces until it reaches the file Framer will not take, so everything else goes through.
- It shows on the collection page which items synced without some of their images. It sends no alerts, so someone still has to open that page.
- It tries refused files again on each sync, so replacing the photo in Notion is all you need to do.
If you sync another way and images vanish while text keeps working, look for one bad file before you assume the whole sync is broken.
If that is not the problem
An image can also go missing because its host blocks Framer from downloading it, or because the file is not an image at all. The KnotCMS troubleshooting guide covers both. For errors that stop a sync completely, see why a Framer Notion sync fails.