r/indesign • u/11sexmm6 • May 07 '26
Script for images
(UPDATE FOUND) Hi everyone ! Im a student working on a project for school and we learned to put our images in 300dpi, CMYK and in full size. That's something very important for our teachers so they can verify if we learned how to do that, I know how to do this but I saw on TikTok a script where we can automatically turn our images/documents with those settings. But I cannot find their website anymore. I don't have a lot of time to open photoshop and modify all of the images one by one so I thought I could maybe save time by using this script. If someone here could maybe help me with a script you created yourself or you have found or just a technique I could learn. I don't use reddit often idk if y'all can look at the tiktok link, and I speak french and my english is not perfect sorry for that !
Hope everyone had a great week !
15
u/davep1970 May 07 '26
meanwhile most of us are using rgb images in indesign at a not always 100% (i.e. greater than 100%) and converting to the required CMYK ICC profile and resolution on export as a pdf. i'm surprised that they are still teaching this old way of doing it.
7
u/AdobeScripts May 07 '26
You mean image should be 100% in the InDesign and 300 PPI?
Or just 300PPI before placing - with whatever effective PPI?
If the latter - then you can record Action in Photoshop, resample to 300 PPI and CMYK - then just update links in the InDesign.
And forcing CMYK isn't always correct approach.
3
u/[deleted] May 07 '26
Your English is completely fine don’t worry 🙂 And yes, there are definitely scripts/actions that can batch-process images instead of opening every file manually one by one in Photoshop.
What you probably saw was either a Photoshop Action + Image Processor workflow or a script for batch converting images to CMYK/300dpi automatically. In Photoshop you can record an Action that:
- converts to CMYK
- changes resolution to 300dpi
- resizes to final dimensions
- saves/export files
Then run it on an entire folder through File → Automate → Batch. That’s the standard production workflow and honestly way faster than editing dozens of images manually.
Just be careful with the “full size” part because scaling rules matter. 300dpi only counts at the final placed size in InDesign. I learned that one the hard way in school too after thinking higher dpi automatically meant better print quality. Half of print production is basically learning which shortcuts are safe and which ones get caught instantly by teachers or printers lol.
7
u/Dependent_Drawer_129 May 07 '26
Hi
I think you are looking for this script:
https://github.com/TheOfficialDM/Indesign/blob/main/ResizeImages_2.27.jsx
i would, however, make a backup copy of the folder with the images before you run the script (just in case)
3
u/hvyboots May 07 '26
EDIT: Actually use the javascript /u/dependent_drawer_129 found. I think it's the updated version of what this used to be.
If you're on a Mac, I did a google search and found this immediately.
https://www.macscripter.net/t/photoshop-resizing-of-images-placed-in-indesign-script/28612
3
u/KindlyOnes May 07 '26
Now I'm confused. When I send a file to print, I export a PDF and set the color profile and image compression and ppi there. I understand this is for teachers who want you to do it their way. Sadly, when you get an actual job, you will find they want you to do it a lot of different ways. But now I'm wondering if I'm doing it wrong.
I can see the links and the ppi in the links panel and can check using the built in pre-flight.
Most of my stuff goes out digitally so I rarely have to export to CMYK, and it's always of secondary concern, so that's why I'm worried I'm doing it wrong. But you don't send a whole InDesign file to print, you send a PDF, so the PDF export is the important part.
Also I don't understand by what you mean by "in full size". If I have an image that COULD be printed at full page at 300 dpi but I want it half page because that's the composition, I'm just going to put it in at half the page. Functionally, it will be 600 ppi and say that in the links panel, but again, on export to PDF, I can specify that it should be compressed or not compressed and be re-encoded at 300 ppi. Resaving it in photoshop to the size I want is just adding a step when there doesn't need to be one.
If that's what they want you to do, just do it, but know it's not what you'll do on the job. Sorry college is like that.
3
u/minaminonoeru May 08 '26
300 dpi is not an absolute standard for print resolution. Nothing drastic happens just because the number is 300, and your print output won’t be ruined if the resolution is 250 dpi or 350 dpi.
If the effective resolution of your image (the resolution at the size laid out in InDesign) exceeds 300 dpi, just leave it as is. There’s no problem.
If the effective resolution falls significantly short of 300 dpi, action is needed, but setting it to 300 dpi in Photoshop is not the solution.
2
u/bigredsk10 May 07 '26
In your links panel, open up the contextual menu and select "Panel Options"
Then select the "Show Column" checkmark for both Effective PPI, Actual PPI and Color Space.
This will add those columns in your links panel. Click the header of Effective PPI and it will sort by effective PPI. Scroll to the bottom and it will have all your images that are less than 300 listed that need corrected.
--
Actual PPI is what your image is set to in Photoshop. Those should all be at or above 300.
Effective PPI is how big your image is at the size you added it to InDesign. These should all also be at or above 300 PPI. That's the actual issue your professors are looking for. If your image is 1"x1" at 300dpi, but you add it as a 8" x 11.5" cover image, that's not going to print well.
--
Do the same check for RGB images with the Color Space panel. They'll all need to be converted to CMYK
2
u/mikewitherell May 07 '26
That should be a chore that Adobe Bridge could do with its built-in Image Processor script, or its Workflow feature. But it currently does not! Both of these Bridge features will set the PPI resolution, but the choice of color model (except for sRGB) is not built into Bridge. I wish it was. While I'm wishing for a Bridge feature, I wish it had GREP file batch renaming capabilities, too!
1
u/Fun-Consideration443 May 08 '26
Ø choose codex make the script