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.
1 Attachment(s)
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: Attachment 133880
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
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?
1 Attachment(s)
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:
Quote:
<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
Re: Replace Multiple Photos Xara
Quote:
Originally Posted by
Daniel
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
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
Re: Replace Multiple Photos Xara
Quote:
Originally Posted by
Egg Bramhill
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
Re: Replace Multiple Photos Xara
Thank you I'll try out each one of those methods and see which works best.
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
1 Attachment(s)
Re: Replace Multiple Photos Xara
callereight, here is a simplified approach based on my original that ensures correct alignment.
There are two tricks:
- 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.
- 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: Attachment 133887
Acorn