View Full Version : Best way to insert mutiples of the same image?


Adjust
07-28-2010, 07:06 PM
I'm trying to insert a "time break" image in my book.
There 127 of them.

Do I have to duplicate the time break image 127 times or can I just have one, in the images folder?

I'm confused on the best way to do this...

I have 12 xhtml chapters, so I wasn't looking forward to referencing 127 image of the same image and there for bloating the images folder with 127 of the same image when I could do the same job with only have one image...

Is there a way.
I would have to fix up the content.opf as well?

Hope this makes sence

Freeshadow
07-28-2010, 07:19 PM
I'd say open codeview and copy the link to new location in the code insatead of repeating image insertion

charleski
07-28-2010, 08:28 PM
Just use one copy of the image (with one item line in the opf) and link to it as appropriate.

Unfortunately many epub creation tools will want to create multiple images, which has to be fixed after creation. This is a bit time-consuming, but not hard.

Adjust
07-28-2010, 09:08 PM
Bingo....Hand the man a cigar...
I did what you suggested Charleski which work, and after doing a quick find/replace in DW and the images...bingo...

Thank you...

Freeshadow
07-29-2010, 02:22 PM
ok charleski's explanation was more clear than mine :D