I have some images named like this in a folder:
Image_00036.jpg
Image_00037.jpg
Image_00038.jpg
Image_00039.jpg
I want to create some cards. Each card will have the even numbered images for its front and the odd numbered images for its back. How can I do that automatically without having to manually drag and drop each image ?
Best Answer
Step 1. Prepare metadata
I suppose that you already know:
If not - check documentation, it's not complex.
You need to create a note type with at least 3 fields: Id, FrontImage, BackImage
Step 2.Generate delimited text file
I suppose that your image files are numbered from 0 to N with preceding zeroes. E.g if N=100,then image names are: image00000.jpg - image00100.jpg.
The goal: create delimited text file with content like:
Recipe 1. Use script language
In python generation can be:
Recipe 2. Use spreadsheet
If you're more comfortable with office tools you can use spreadsheet.
You need to create: autoincrementing field and 2 calculated fields.
Example: https://docs.google.com/spreadsheets/d/1W1DQ2ZSm4XuYNeKlkybbTeXh7RGqkk8H-7CgCaBVeI4/pubhtml
Formula for front:
Step 3. Save in file, import, copy images to media folder, enjoy
Exactly so.
Good luck!