Jump to content
You must now use your email address to sign in [click for more info] ×

Dynamically Insert Pictures and Objects


Recommended Posts

I'm creating a directory which contains a group of pictures arranged alphabetically by the last name of the people in the pictures. Periodically I will need to add others to the group.  It's a problem because I might have to reposition 50 or more images just to insert one new one.  Do you know of a way to confiugure pictures (in frames) so that I can drop them in and the others will move down one spot?  I need the document to behave like the screen of a phone when you drop in new apps. 

Directory Problem.JPG

Link to comment
Share on other sites

Hmm, no with such plain static arranged image and text frames I doubt you can do that. There is also no internal content name based sorting, scripting or the like available so far, which would allow to make that scheme behave more dynamically then. Actually you would probably have to sort and re(place) the whole every time again when updated.

So far the only idea I would have is, to maybe try to reuse a table with equal distributed cells for placements and maybe (as far as that supports it) with table cell based entry sorting/shifting. Though I'm not sure if APub table cells can do handle images, or hold a composite/grouped container build out of image + text here then. - Other than that, you may have to keep/arrange sorted image+text list externally in sync as a whole (via a database, spreadsheet etc.) and then import the complete ordered result on a page(s) then.

☛ Affinity Designer 1.10.8 ◆ Affinity Photo 1.10.8 ◆ Affinity Publisher 1.10.8 ◆ OSX El Capitan
☛ Affinity V2.3 apps ◆ MacOS Sonoma 14.2 ◆ iPad OS 17.2

Link to comment
Share on other sites

This is a bit weird, but it seems to work :D

First, take a picture frame and its associated caption, and Group them. Then create an Asset from them.

Then:

  1. Create a Text Frame the size of your page.
  2. Drag the picture frame asset into the Text Frame. Then use the Pinning studio panel to pin it Inline in the text. Add several spaces after the pinned Asset.
  3. Drag another one next to the right of the first one. Pin it Inline, and add some spaces after it.
  4. Repeat as necessary for the number of entries you currently have.
  5. Add all your pictures, and the captions, and you're done for now.

Later, if you need to add one at the end, just drag another Asset and Pin it Inline, and add the picture/caption.

But if you need to add one in the middle:

  • Find the insertion point.
  • Add additional spaces to make a wide enough area to insert the asset. The other pictures on that row will move to the right, and down as needed.
  • Drag an asset into the empty space, Pin it Inline, and then delete the added spaces.

-- Walt
Designer, Photo, and Publisher V1 and V2 at latest retail and beta releases
PC:
    Desktop:  Windows 11 Pro, version 23H2, 64GB memory, AMD Ryzen 9 5900 12-Core @ 3.00 GHz, NVIDIA GeForce RTX 3090 

    Laptop:  Windows 11 Pro, version 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU.
iPad:  iPad Pro M1, 12.9": iPadOS 17.4.1, Apple Pencil 2, Magic Keyboard 
Mac:  2023 M2 MacBook Air 15", 16GB memory, macOS Sonoma 14.4.1

Link to comment
Share on other sites

Table cells can be sorted alphabetically which may be worth exploring further but at a quick first glance, it looks to be a bit buggy

(At least on Windows not sure if it will work OK on a MAC) 

To save time I am currently using an automated AI to reply to some posts on this forum. If any of "my" posts are wrong or appear to be total b*ll*cks they are the ones generated by the AI. If correct they were probably mine. I apologise for any mistakes made by my AI - I'm sure it will improve with time.

Link to comment
Share on other sites

I would say look to Paragraph style > Flow > Start: Next frame. In InDesign this would be Keep Options.

This way you can set first text row to start always in new fresh text frame and if you add one set all following ones will jump forward too. Picture has to be pinned or inline so they will keep right places.

Link to comment
Share on other sites

Well, I'm stuck.  Can you help me out with the attached file?  I've created a Master with 3 Text Boxes and 3 Picture Frames.  I've tried to configure the autoflow but I'm not clear on how to create columns or how to relate them.  If you can assemble those first 6 items I can build the rest of the page.

6 1-8 x 9 1-4 Template with 3-8 inch Bleed.afpub

Link to comment
Share on other sites

I must be misunderstanding something fundamental to this process.  How do I drop a 4th Image (and text box) between the 2nd and 3rd image such that the 3rd image will drop to the 4th position? I've tried copy/paste etc with no luck.  Also, not sure if it matters but there is no "red triangle" that you referenced  on the bottom right of the page.

No Red Triangle.png

AutoFlow Process.png

Link to comment
Share on other sites

You can see that I successfully made an image and a text box move over one space, but what I'm not getting is how to "insert" the new image and new text.  I see the insertion point but I've searched all the menus and can't find an option to "insert image" or "insert object".  I've tried to place the new image and it really disrupts everything.  I'm almost there!  Please advise.

 

Insertion Point.png

Link to comment
Share on other sites

10 minutes ago, BlueSailing said:

You can see that I successfully made an image and a text box move over one space, but what I'm not getting is how to "insert" the new image and new text.  I see the insertion point but I've searched all the menus and can't find an option to "insert image" or "insert object".  I've tried to place the new image and it really disrupts everything.

Draw a Picture Frame in the insertion spot, and Place your image into it. Or, if you have one saved as an Asset (as I suggested earlier), drag the Asset into the insertion spot.

-- Walt
Designer, Photo, and Publisher V1 and V2 at latest retail and beta releases
PC:
    Desktop:  Windows 11 Pro, version 23H2, 64GB memory, AMD Ryzen 9 5900 12-Core @ 3.00 GHz, NVIDIA GeForce RTX 3090 

    Laptop:  Windows 11 Pro, version 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU.
iPad:  iPad Pro M1, 12.9": iPadOS 17.4.1, Apple Pencil 2, Magic Keyboard 
Mac:  2023 M2 MacBook Air 15", 16GB memory, macOS Sonoma 14.4.1

Link to comment
Share on other sites

I'm almost there and I appreciate your patience! I'm trying to move all objects up a little on the Master Page.  But when I select them all (including the text sections) and move them, then go back to a regular page, the first image at the top looks to have someohow duplicated and only one of the two moves up.  But I can see not changes in the Layers panel.  

 

Also, I need to change the size of the Picture Frames in the Master from 1.7x1.0 to 1.7x1.14 to precisely match my 10x6.7 image format.  I can't see how to do that on the master page without wreaking havok with the columns.   

Wrong Alignment.png

Link to comment
Share on other sites

I've assembled 12 picture frames on the Master page, but for some reason I'm not able to select them on regular page 1.  Please see if I created them too large for the containers in the Master, or if that matters.  I'm trying to keep them at 1.7x1.14 inches.   

MASTER TEST 6 1-8 x 9 1-4 Template with 3-8 inch Margins_in_columns_template_with_photos_fixed.afpub

Link to comment
Share on other sites

15 minutes ago, Lagarto said:

If you place the picture frames on the master page, you should be able to replace the image it contains

But the goal is to insert new frames, so the old frames slide down. That will always require adding frames, so they should not be on the Master Page.

The Master should only have guides to allow the addition of new frames, or the deletion of frames if needed. The frames should be Assets.

-- Walt
Designer, Photo, and Publisher V1 and V2 at latest retail and beta releases
PC:
    Desktop:  Windows 11 Pro, version 23H2, 64GB memory, AMD Ryzen 9 5900 12-Core @ 3.00 GHz, NVIDIA GeForce RTX 3090 

    Laptop:  Windows 11 Pro, version 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU.
iPad:  iPad Pro M1, 12.9": iPadOS 17.4.1, Apple Pencil 2, Magic Keyboard 
Mac:  2023 M2 MacBook Air 15", 16GB memory, macOS Sonoma 14.4.1

Link to comment
Share on other sites

Here is my take on it, done quickly and so I had Angry in the wrong spot. I just use TEXT

PICTURE
text
PICTURE
text
PICTURE
text
PICTURE
text
 

and a couple of Paragraph styles PICTURE and text Each will start in a new frame I then link the frames and replace the word PICTURE with a copied onto the clipboard image and paste it in. To fix Angry's wrong location I copied his Picture and Bio and pasted it before Happy.

Untitled.afpub

 

Mac Pro (Late 2013) Mac OS 12.7.4 
Affinity Designer 2.4.1 | Affinity Photo 2.4.1 | Affinity Publisher 2.4.1 | Beta versions as they appear.

I have never mastered color management, period, so I cannot help with that.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.