Automate width of clipping mask to re-linked image

Community Beginner ,
Nov 18, 2020 Nov 18, 2020

Copy link to clipboard

Copied

Hello! I'm looking for a script to help me automate a lot of things so my client can update the poster themselves, and I really hope someone can help me. If a new script needs to be created I'm also willing to hire the right person.

 

I'm looking to do the following: 

  1. Replace a book cover img with another book cover (See attached poster example design)
  2. When replacing the book cover, I want the height of the book to be fixed, but the width should adapt to the witdh of the new book cover image. 
  3. The book illustration should adapt to the new width of the book cover just replaced. Meaning the illustrated book should be "dragged" to fit the width.

Book-poster-example

Any tips on how to accomplish this? 

 

Thank you!! 

TOPICS
Scripting

Views

159

Likes

translate

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 2 Correct Answers

Adobe Community Professional , Nov 25, 2020 Nov 25, 2020
In this regard, I recommend you to use InDesign Auto Fitting options.I will share some links to give you an idea about the application. https://www.youtube.com/watch?v=zyWFQMUausQ&ab_channel=InDesignSecrets https://www.youtube.com/watch?v=9tljWr5kNUM&ab_channel=MichaelBullo  

Likes

translate

Translate

Translate
Adobe Community Professional , Nov 25, 2020 Nov 25, 2020
You could try making a graphic style with some advanced techniques such as creating a pattern brush and tweaking it just so inside appearance strokes to get a desired effect. See file here: https://www.dropbox.com/s/d9ovwth62xr03vb/Book%20Outside%20Graphic%20Style.ai?dl=0

Likes

translate

Translate

Translate
Adobe Community Professional ,
Nov 19, 2020 Nov 19, 2020

Copy link to clipboard

Copied

can you share an example of what it would look like at the end? i'm not sure i follow what you mean by "dragged to fit".

will it only be that "cover" rectangle that scales, or the entire book illustration (causing a bit of skewing depending on how much it has to stretch/shrink). 

 

do you want to keep the left side of the book aligned where it is, and then stretch the book to the right to accomodate the linked image inside it?

Likes

translate

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Nov 25, 2020 Nov 25, 2020

Copy link to clipboard

Copied

Hi @DilliamWowling 

 

I've switched to InDesign in the meantime and am working with a developer to build a script to accomplish what I'm looking for. But.. I still stumble when trying to get the book illustration to adapt to the book cover size. So.. this is what I'm looking to achieve: 

 

One book cover pasted into the book cover frame, and it should look like this: 

Screenshot 2020-11-25 at 21.37.58.png

When another book cover is pasted within the frame that is less tall, it should like this: 

Screenshot 2020-11-25 at 21.40.35.png

 

So.. 

  1. I want to keep the width of the book.
  2. The book cover should fit to the bottom within the frame
  3. The frame should adapt in the height to the new book cover dimensions 
  4. The top part of the illustrated book pages and book spine should also adapt to the height of the book.. in this example it should move down.. 

 

Any idea how to achieve this? 

Likes

translate

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Community Professional ,
Nov 25, 2020 Nov 25, 2020

Copy link to clipboard

Copied

In this regard, I recommend you to use InDesign Auto Fitting options.
I will share some links to give you an idea about the application.

https://www.youtube.com/watch?v=zyWFQMUausQ&ab_channel=InDesignSecrets

https://www.youtube.com/watch?v=9tljWr5kNUM&ab_channel=MichaelBullo

 

Graphic Designer Educator / PrePress Consultant
In this video, Erica Gamet explains what InDesign's Auto-Fit feature is for. She shows how to use it to keep images consistently fitting in their frames as n...
When an image is placed inside of InDesign it lives within a frame. Resizing this frame does not, by default, resize the image it contains. There are numerou...

Likes

translate

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Nov 26, 2020 Nov 26, 2020

Copy link to clipboard

Copied

Thank you @ceyhun_akgun  I'll take a look into that auto fit!

Likes

translate

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Community Professional ,
Nov 25, 2020 Nov 25, 2020

Copy link to clipboard

Copied

You could try making a graphic style with some advanced techniques such as creating a pattern brush and tweaking it just so inside appearance strokes to get a desired effect.

Silly-V_0-1606343067631.png

See file here:

https://www.dropbox.com/s/d9ovwth62xr03vb/Book%20Outside%20Graphic%20Style.ai?dl=0

Likes

translate

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Nov 26, 2020 Nov 26, 2020

Copy link to clipboard

Copied

Hi @Silly-V 

 

Wow that looks really interesting! Thank you for the file. Would you be able to use this pattern brush / Graphic style in inDesign though? Thanks for the helpful and fast reply.

 

Likes

translate

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Community Professional ,
Nov 27, 2020 Nov 27, 2020

Copy link to clipboard

Copied

No, this is one of those features unique to Illustrator. InDesign has some rudimentary brush mechanism but the same effect would need to be achieved in some other crazy way within InDesign - if it's even possible.

Likes

translate

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines