Skip to main content
Known Participant
July 23, 2018
Question

Pages with images

  • July 23, 2018
  • 4 replies
  • 510 views

Is there a way to get a quick count of how many pages in a book contain images?

This topic has been closed for replies.

4 replies

Jongware
Community Expert
Community Expert
July 24, 2018

Possibly more than 1 image per image? If not, then number of links in the Links panel is the number of pages-with-an-image.

Community Expert
July 23, 2018

Hi Dative ,

should graphics applied by master spreads count as well?

Regards,
Uwe

DativeAuthor
Known Participant
July 24, 2018

Nope they don't need to.

Community Expert
July 24, 2018

Dative  wrote

Nope they don't need to.

Ok. Then you can use my ExtendScript (JavaScript) script Michael linked to.

That will give you a little statistic: How many images are placed on what page of the active document.

When on Mac OS X use Rob's AppleScript script in reply 2.

Regards,
Uwe

rob day
Community Expert
Community Expert
July 23, 2018

If you are using OSX this Applescript should work:

tell application "Adobe InDesign CC 2018"

    try

        set pgc to 0

        repeat with x in (every page) of active document

            set i to all graphics in x

            set c to count of i

            if c is greater than 0 then

                set pgc to pgc + 1

            end if

        end repeat

        display dialog "This document has " & pgc & " pages with images"

    end try

end tell

DativeAuthor
Known Participant
July 24, 2018

Thanks! I'll give this a go shortly

Mike Witherell
Community Expert
Community Expert
July 23, 2018

A partial answer is here:

Indesign image count

Mike Witherell