Welcome to TalkGraphics.com
Page 1 of 2 12 LastLast
Results 1 to 10 of 16
  1. #1
    Join Date
    Jul 2023
    Posts
    5

    Default Replace Multiple Photos Xara

    When making labels by sheets for customers we usually do a contour cut which we use as the cutline and then the art which is behind it. This is done manually which can prove to be quite tedious and time consuming especially when there is a variety of different labels with different designs. For example if there is an order for 15 different labels of the same size, I'd have to still make different cutline manually. I thought I could make one cutline and simply replace the art with the replace photo option in Xara, but this seems to only work with one image at a time rather than selecting everything and replace all the photos. Is there a way to get this to work or perhaps a way to automate this process via plugins or etc.

  2. #2
    Join Date
    Apr 2012
    Location
    SW England
    Posts
    17,650

    Lightbulb Re: Replace Multiple Photos Xara

    It depends on the version of your product.

    If you have Live Copies, use that. Change one cutline and image and the others follow.

    If you have Smart Duplication, delete back to the one Master, change it and then SD across the page for a row. SD this row down the page to fill it.

    Code-wise you could create a Placeholder with <img src="imagename.png" width=100% height=100% />

    Add your actual image as the Master of the page and give it an image filename of "imagename". Set its type to lossless so it exports as PNG.
    Change this and the Placeholders follow.

    Here is an example A4 portrait design: Contour Cutline.xar

    Layers
    • Layout - duplicates of the image placeholder
    • Cutline - your design for showing the contour outline
    • Mask - just to hide the Master Image
    • Master Image - use Solo mode to change the picture


    Acorn
    Acorn - installed & active Xara software: Cloud+/Pro+, XDPXv18 , XWDPv12/v15, XPGDv10, X3D7, Xara Xtreme 5, and others back through time (to CC's Artworks).
    Technical remediation and consultancy for your web designs. TG Nuggets you might like. Report faults: Xara Cloud+/Pro+/Magix Legacy; Xara KB & Chat

  3. #3
    Join Date
    Aug 2005
    Location
    London, UK
    Posts
    516

    Default Re: Replace Multiple Photos Xara

    If you select the shapes that you'd like to fill and then open the Bitmap Gallery (by pressing F11) and right-click on the photo you'd like to use to fill the shapes. Does selecting "Apply as fill" do what you hoped?

  4. #4
    Join Date
    Aug 2000
    Location
    Harwich, Essex, England
    Posts
    21,880

    Default Re: Replace Multiple Photos Xara

    On a fairly simple basis I'd set up all the images numbered simply 1.jpg, 2.jpg, 3.jpg etc within a folder named 'images'
    Create a xara page/s with placeholders to load:
    <img id="myImg1" src="https://your-sire-name/images/1.jpg" width="170" height="254">
    <img id="myImg2" src="https://your-sire-name/images/2.jpg" width="170" height="254">
    Etc Etc
    Then view each page and print as a pdf.

    To change photos just rename 'images' as 'images-old' and create a new images folder with new images within numbered 1 to whatever.

    You could add js to develop this further if it's a really big job.

    DEMO


    Attached Files Attached Files
    Egg

    Intel i7 - 4790K Quad Core + 16 GB Ram + NVIDIA Geforce GTX 1660 Graphics Card + MSI Optix Mag321 Curv monitor
    + Samsung 970 EVO Plus 500GB SSD + 232 GB SSD + 250 GB SSD portable drive + ISP = BT + Web Hosting = TSO Host

  5. #5
    Join Date
    Apr 2012
    Location
    SW England
    Posts
    17,650

    Default Re: Replace Multiple Photos Xara

    Quote Originally Posted by Daniel View Post
    If you select the shapes that you'd like to fill and then open the Bitmap Gallery (by pressing F11) and right-click on the photo you'd like to use to fill the shapes. Does selecting "Apply as fill" do what you hoped?
    Daniel that works very well but the resultant resolution of the rendered images is pared down to the size on the page. If my design was 256px square then the image becomes that at 96dpi.

    My approach renders at the original resolution of the Master Image so no loss of fidelity.
    Just tried with a 7.2MB, 2700px square image rendered down to 256px square. The rendered image has a resolution of almost 1,000dpi.
    The other down is you cannot touch up, clip view, rotate or alter the image in the Bitmap gallery without going to the trouble of making a Bitmap Copy of the changes and that process is difficult to Undo.

    Acorn
    Acorn - installed & active Xara software: Cloud+/Pro+, XDPXv18 , XWDPv12/v15, XPGDv10, X3D7, Xara Xtreme 5, and others back through time (to CC's Artworks).
    Technical remediation and consultancy for your web designs. TG Nuggets you might like. Report faults: Xara Cloud+/Pro+/Magix Legacy; Xara KB & Chat

  6. #6
    Join Date
    Aug 2000
    Location
    Harwich, Essex, England
    Posts
    21,880

    Default Re: Replace Multiple Photos Xara

    Acorn, I've d/l your xar file & on preview it just crashes the browser. I've had issues with Live Copies. I don't know if this is causing it.

    UPDATE: Sorted. Rebooted my PC
    Last edited by Egg Bramhill; 25 July 2023 at 04:02 PM.
    Egg

    Intel i7 - 4790K Quad Core + 16 GB Ram + NVIDIA Geforce GTX 1660 Graphics Card + MSI Optix Mag321 Curv monitor
    + Samsung 970 EVO Plus 500GB SSD + 232 GB SSD + 250 GB SSD portable drive + ISP = BT + Web Hosting = TSO Host

  7. #7
    Join Date
    Apr 2012
    Location
    SW England
    Posts
    17,650

    Default Re: Replace Multiple Photos Xara

    Quote Originally Posted by Egg Bramhill View Post
    Acorn, I've d/l your xar file & on preview it just crashes the browser. I've had issues with Live Copies. I don't know if this is causing it.
    UPDATE: Sorted. Rebooted my PC
    Egg, glad it wasn't Live Copies as I didn't use any.

    Acorn
    Acorn - installed & active Xara software: Cloud+/Pro+, XDPXv18 , XWDPv12/v15, XPGDv10, X3D7, Xara Xtreme 5, and others back through time (to CC's Artworks).
    Technical remediation and consultancy for your web designs. TG Nuggets you might like. Report faults: Xara Cloud+/Pro+/Magix Legacy; Xara KB & Chat

  8. #8
    Join Date
    Jul 2023
    Posts
    5

    Default Re: Replace Multiple Photos Xara

    Thank you I'll try out each one of those methods and see which works best.

  9. #9
    Join Date
    Jul 2023
    Posts
    5

    Default Re: Replace Multiple Photos Xara

    This is how I usually have the labels setup pink being the cutline which I export as an ai file, and the art is behind. I cant use SD and duplicate both of them since I think SD only works one at a time. But if I do it the art first then do the cutline and align it manually (as you can see in the picture) it still doesn't work the way I want. The labels on the side are the ones I want to substitute. I'm pretty sure I'm doing something wrong or just simply misunderstanding you, apologies as I'm fairly new to Xara.

    PHOTO: https://i.imgur.com/Jicsc36.png

  10. #10
    Join Date
    Apr 2012
    Location
    SW England
    Posts
    17,650

    Lightbulb Re: Replace Multiple Photos Xara

    callereight, here is a simplified approach based on my original that ensures correct alignment.

    There are two tricks:
    1. The Image Filename of a single image at a time - you may have to Preview a second time to force Xara to notice. I usually just close and re-open the application. Saving, closing and re-opening the design file also works. This is a Bug that Xara has recorded.
    2. The Linking of an object on a Layer to that Later to hide but ensure the content is still available.

    Detail all in the file: Contour Cutline II.xar

    Acorn
    Last edited by Acorn; 26 July 2023 at 01:10 PM. Reason: helps to include the file!
    Acorn - installed & active Xara software: Cloud+/Pro+, XDPXv18 , XWDPv12/v15, XPGDv10, X3D7, Xara Xtreme 5, and others back through time (to CC's Artworks).
    Technical remediation and consultancy for your web designs. TG Nuggets you might like. Report faults: Xara Cloud+/Pro+/Magix Legacy; Xara KB & Chat

 

 

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •