Background image linking gets lost in duplicates


#1

Guten Abend,
each time I duplicate my glyphs file to a work on a newer version of my font the links to the background images get lost.
Is there something I can do to avoid that? In the current stage the background images are very important for me.
Thanks and best wishes
Ekke


#2

You are keeping the .glyphs file and the images in the same relative position in Finder? E.g. all images in a subfolder next to the .glyphs file.

In the meantime you can use the script mekkablue > Images > Set New Path for Images to relink all images with a path you choose.


#3

Yes, positions and relations remained the same.
Is it necessary to use a subfolder in the same level as the glyphs file?
My organization is a bit different with images stored in different folders, but I keep it consistent.
Thanks for the script hint, I will try it.
Best
Ekke


#4

Could you send me the original and the duplicated file?


#5

Lost my images linking and script doesn’t work, how to solve this?


#6

The script works for me. Are you sure you have the latest version? What exactly happens when you run the script?


#7

mekkablue > Images > Set New Path for Images

Can you give me a example how the path looks like?


#8

Run the script, a dialog will ask you for a new folder, pick the folder that contains all the images, confirm the dialog. Then all placed images will be relinked to images with the same names inside that folder.


#9

This is what i get?


#10

You need to install the scripts first:

  1. Go to http://github.com/mekkablue/Glyphs-Scripts
  2. Follow the installations instructions.

Then try again running the script via the Script menu.


#11

Oh thats why thank you will install and try again, thought is was all ready build in Glyphs.


#12

Installing scripts is still a little difficult, sorry about that. We are working on making it better in the future.


#13

I have the same problem.

Steps:

  1. Create new file
  2. Put an image in “A” glyph (.png in my case)
  3. Draw something in “A” glyph
  4. Save
  5. Duplicate file
  6. Cry cause your image is gone and replaced by a “broken image” .tif file named something like “A_.glif-Regular.tif” that’s been put in an “Images” folder next to the .glyphs file.

#14

How do you do that?


#15

Drag&Drop from finder while the glyph is opened for editing.


#16

Was the file saved? And where was the image relative to the file? In a subfolder next to the file?


#17

I fixed it.