Trouble getting output images #24
Replies: 1 comment 5 replies
-
I kinda made the mistake of making the examples somewhat complex, so I usually recommend taking this standalone example and and editing in your own files. It simplifies it a bit, maybe you could try that, if you didn't already. Honestly, I'm not sure if I ever tested pdf properly... I will take a look at that and your settings tomorrow, though often times it's hard to confirm anything without all the related files. If you could send me the project files it would help me recreate the issue... What comes in and out doesn't matter much visually, so if you want to keep your mockup or input files to yourself, you could include just one edited input file and perhaps downsized and flattened mockup file. Again, if privacy is important, you can email them straight to me, my email is in my profile page. Or send me a link if the size is too much. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, thank you so much for creating this! It's exactly what I needed. I am having trouble resolving an issue I am getting when running the script. I have files in the input folder and when I run the script, it produces output images with file names correctly linked to my input folder files (so I know it's recognizing them at least). However, the output images are just the blank mockup template in jpg format. I am not sure why mine is having trouble actually embedding the input image.
I used the example scripts and edited to fit my files:
#include "script/Batch Mockup Smart Object Replacement.jsx"
var output = {
path: './_output files', // Outputs next to the mockup psd
format: 'jpg', // 'jpg', 'png', 'tif', 'psd', 'pdf'
filename: '@mockup - @input',
};
mockups([
// Mockup #1
{
output: output,
mockupPath: '$/assets/processed_mockups.psd',
smartObjects: [
},
// You could have more mockup files...
// {},
]);
and
// v.1.7.
// Batch Mockup Smart Object Replacement.jsx
// You'll need to incplude this file to another script file:
// #include "../script/Batch Mockup Smart Object Replacement.jsx"
// Check the example folders for a few real world examples.
// Minimal settings
/*
#include "Batch Mockup Smart Object Replacement.jsx"
var outputOpts = {
path: '$/_output'
};
mockups([
{
output: outputOpts,
mockupPath: '$/assets/processed_mockups.psd',
smartObjects: [
{
target: '@cwd-file',
input: '$/input',
},
// {..}, comma separate multiple smartobjects
]
},
// {..}, comma separate multiple mockups
]);
Also wanted to note my input files are PDF, if that makes a difference.
Thanks for any help!!
Claire
Beta Was this translation helpful? Give feedback.
All reactions