Open Any-Stupid-Name opened 1 month ago
When this happens to me it's because the / is supposed to be \ depending on the platform or the relative path setting is missing a / at the end or in the csv it has an extra / so when combined it has two // where it's supposed to be one.
The problem that I identified over time was my flawed strategy in finding and selecting the images to import. For one project early on, I had thousands of files I was trying to identify by property within complicated file structures "league / team / jersey / size / letter" and I was attempting to exactly target through excel the right structure. Eventually I started organizing a separate table of images with full file paths, extracting the attributes into columns, then from the table where I assembled the dataset find the right image with full path according to whatever attributes I was looking for.
If you can provide a sample set of images and your dataset, I am willing to test it out.
I did a very simple test, and it still has errors. You can see the elements here: https://www.dropbox.com/scl/fo/v78ls5fn9j20tghbcswc3/ALHDSggYGRzNENR5-0QRYSY?rlkey=oza90ysv12qv2lafyqflwedd3&dl=0 I'm on a Mac, so not sure about the / \ issue. As I said, it worked perfectly fine 2 years ago.
Thanks
Rob
The images need to be linked in, not embedded. Video attached of my using the test files, didn't have to change the csv, only the ai file.
https://github.com/user-attachments/assets/699c251c-a8c9-46a9-9719-e93f8abd3fa0
Super, I will give it a go!
Thanks
Rob
Did it work?
On Tue, Jul 16, 2024 at 11:00 AM Any-Stupid-Name @.***> wrote:
Super, I will give it a go!
Thanks
Rob
— Reply to this email directly, view it on GitHub https://github.com/Silly-V/Adobe-Illustrator/issues/78#issuecomment-2231137452, or unsubscribe https://github.com/notifications/unsubscribe-auth/AL46CLALZ2HKOX7DRP3XJRTZMUYPHAVCNFSM6AAAAABK6NQH7WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMZRGEZTONBVGI . You are receiving this because you commented.Message ID: @.***>
Did it work? … On Tue, Jul 16, 2024 at 11:00 AM Any-Stupid-Name @.> wrote: Super, I will give it a go! Thanks Rob — Reply to this email directly, view it on GitHub <#78 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AL46CLALZ2HKOX7DRP3XJRTZMUYPHAVCNFSM6AAAAABK6NQH7WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMZRGEZTONBVGI . You are receiving this because you commented.Message ID: @.>
Yep, thank you. I was an idiot not to think of that!
Rob
Hi Some years back I made a set of templates using your excellent script. The client requested an update last week. I literally copied the folder, changed the necessary elements in the spreadsheet and image folders, as in the original. Made the CSV, tried to import it and it doesn't recognise the images when I do a test to preview it shows that one text and 4 images are not found.![Screenshot 2024-07-16 at 2 44 27 PM](https://github.com/user-attachments/assets/0939a882-c3d8-47ac-8e50-d98c1c44ad56)
As I said it's an exact copy of the working one, that still works, just in a different folder, and different images. The Variable names are the same, etc.
Any help Is it a bug with the new Illustrator?
Rob