The following example shows different strategies for mapping images to pages:

  • 64 photos from our collection of artists who performed in the Schrottgalerie Friedel Glonn. Those and more are collected in our Blog” and as example, we’ll create a photo book with Full Page Images.
  • The photos are collected in a separate folder; in portrait format
  • Some photos were edited to achieve an aspect ratio of 3: 4, so that all image in portrait format
  • An empty single page book was created: page size 900 * 1200,i.e. aspect ratio 3: 4 and sufficient width/height to achieve an acceptable resolution and good quality
  • All photos will be added as *Page Images” on single pages.
  • Automatic assignment of images to pages.
    Although sorting by ‘creation date* obviously is the most appropriate method for this type of compilation, all sorting options are shown and explained in this example.

Now the prepared images in protrait format should be added on each page of the book. .
Via Command – Add Page Images the File Explorer / Finder is opened. And then using the Browse button folder with the prepared pictures is opened and all images are selected.


After a click on Open the window Assign Page Images To Pages” opens.

First Attempt: Page Numbers from File Name

The default setting is “Assignment by frame number from file name”, which does not make any sense with this type of image collection. The results are unsatisfactory

The order is not as desired and some images would not be positioned at all:

  • some picture numbers make meaningful page numbers; but only formally, not in the sense of “desired”
  • other detected numbers can not be side-by-side: too big; therefore, consecutive page numbers are used: “OK: index”
  • Many numbers lead to the same page numbers (“double pgNbr”) and are ignored

Secont Attempt: Alphabetical sort by File Name

If the file name is selected as “Sort by”, the sorting is done alphabetically according to the file name.

The result is also not as expected. Although all images are set to pages, but the file names without a digit in the 2nd place are in front of filenames with a digit in 2nd place

The order depends on the value of the character. The value of a character is set in a so-called ASCII Table:

  • First in sort order: the numbers: 1, 2, 3
    A “0” according to the ASCII table corresponds to the decimal value 48 (hex: 0×30), a “1” to the ASCII value 49 (hex: 0×31) etc.
  • followed in sort order: the capital letters A, B, C
    An “A” corresponds to the decimal value 65 (hex: 0×41), a “B” to the decimal value 66 (hex: 0×42), etc.
  • Next in sort order: the lowercase letters: a, b, c, …
    An “a” corresponds to the decimal value 97 (hex: 0×61), a “b” to the decimal value 98 (hex: 0×62), etc.

Examples of some special characters:

  • Space: 32 decimal (0×20) and “!” 33 dec (0×21)
  • “=”: 61 dec (0×3d)
  • “@”: 64dec (0×40)
  • “_”: 95 dec (0×5f)
  • “(“: 123dec (0×7b)
  • “)”: 125 dec (0×7d)

Therefore, an image with a number like “10” or “123456” is listed in front of a picture numbered “2”. because “1” is lower than “2”.
Knowing that image numbers can be built in a way that the desired sequence in an alphabetical order is achieved.
Example: 0001, 0002,… 0011, 0012 instead of 1, 2, …11, 12

Then the automatic page assignment can be achieved using a file name including image numbers.

Third Attempt: Sort by Modification Date

Sorting by modifiation date may be useful if images are edited (i.e. modified) in the sequence they should appear in the book.
Often adjustments in the tonal values, exposure, saturation, clipping etc. is performed.
I all images are touched (modified) in the desired order, then a sort by modification date can lead to accepted results.
But once an image is modified later, the order will no longer be correct!

If images are managed in tools like Adobe Lightroom, selected images can be output into a dedicated folder with “correct” modification dates. But assigning those collected images new names with an image number contained in the file name (in the correct forat, i.e. with leeading “000”), then those images can edited later without changing the sort order

Since not all photos had been edited for this photo collection,sorting by modification date makes no sense.

Forth Attempt: Sort by Creation Date

!(zoom){IMAGE-LINK+commnands-addpimg-sp-assign-by-creation date}!

A sort by creation date in this case leads to the desired result:

  • All images of a single event are combined together
  • The images are sorted by the date of the event; in ascending order. The oldest pictures come first.

It is easy reverting the sort order by clicking the sort button.

In our case this order is a perfect fit and we confirm with “Add all Images”.
All images are automatically added to the corresponding pages as shown in the table.
The status window informs about the progress

The final book looks OK.
BUT: When checking all pages, 3 photos have an incorrect aspect ratio: 9:16 instead of 3: 4.

Those pictures are be expanded in width, which will not please the artists ;-)
These images must be reworked or exchanged.
This is shown in the next chapter

Revision: 21
Last modified: Mar 28, 2019


Was this helpful?

Yes No
You indicated this topic was not helpful to you ...
Could you please leave a comment telling us why? Thank you!
Thanks for your feedback.

Post your comment on this topic.

Post Comment