PDF TOOL GUIDE · NEXATOOLPRO

Photos to PDF in the Right Order, Not Sideways

You photographed six pages of a form, turned them into one PDF, and page 3 is on its side and page 5 is where page 2 should be. Both problems have simple causes.

Open JPG to PDF →

By the NexaToolPro Editorial Team · Updated 4 December 2026 · How we write guides

Why photos come out sideways

A phone does not always rotate the picture when you hold it upright. Many phones save the pixels in the camera's natural landscape layout and add a small orientation flag (EXIF "Orientation") that tells software how to turn it. A viewer that honours the flag shows the photo upright. One that ignores it shows the raw landscape grid, so the picture looks rotated. This is a long-standing and well-documented difference between programs; bug reports for image viewers, browsers and editors describe the same thing.

PDF makers fall into the same trap. If a tool puts the raw pixels on the page and forgets the flag, the page comes out sideways even though the photo looked fine in your gallery.

We reproduced exactly this with a test photo carrying orientation flag 6 (rotate 90° clockwise). Earlier versions of NexaToolPro's JPG to PDF put it on the page sideways. It now reads the flag and straightens the photo first. The sample came out upright, with no change to the other photos. Straightened photos are saved again as JPEG at quality 92; photos without the flag are placed as they are.

Why the order is wrong

The order of pages is simply the order of the files you give the tool, and file pickers often sort by name, so IMG_10 can come before IMG_2, or phone files sort by date in an unexpected way. The fix is to set the order yourself rather than hoping.

How to get them right

  1. Open JPG to PDF and add all the photos at once.
  2. Check the numbered cards. The first card becomes page 1.
  3. Reorder by moving the cards, or type the order in Image order (for example 3,1,2 puts the third photo first). We tested 3,1,2 with three photos and the pages came out in that order.
  4. Choose the page: A4 portrait or landscape, and Fit whole image (no crop) or Fill page and crop. Fit keeps the entire photo, with white margins where the shapes differ.
  5. Create the PDF and scroll through every page before you send it.

Keep the file reasonable

Photos make big PDFs. If the PDF is too large to email or upload, run it through Compress PDF. In our test, a three-photo PDF of 575 KB came out at 274 KB on Balanced and 131 KB on Smallest.

If one page is still the wrong way

Use Rotate PDF on that page only. That is a saved rotation, not a viewing option.

Frequently asked questions

Why is my photo sideways in the PDF?

Because the photo carries an orientation flag that the PDF maker ignored.

How do I change the page order?

Move the cards, or type the order in Image order.

Can I mix JPG and PNG?

JPG to PDF is for JPEG photos and PNG to PDF for PNG. Convert first if you need both in one file.

Will the photos be recompressed?

Only photos that needed straightening are saved again (at quality 92). Others are placed as they are.

Related tools and guides

Sources and how we tested

This guide is general information. See the disclaimer. Tests described here were run on sample files on 3 December 2026; your results will vary with your files.