|
|
Thread Tools | Search this Thread |
03-04-2011, 12:40 AM | #1 |
Connoisseur
Posts: 80
Karma: 8682
Join Date: Aug 2007
Device: Kindle Voyage
|
"Insert Image" renames .jpg's incorrectly... but shows the correct image!
I'm compiling an .epub with a large number of images, named 001.jpg, 002.jpg, etc. I add them to the ebook using the "Insert Image" button in Sigil. Nearly 100 images in, I've noticed that Sigil has renamed the images!
For example, I have an image named "027.jpg". After I've added it to my .epub, it has been renamed to "028.jpg" in the "Images" folder inside the ePub file. In the corresponding .xhtml file, it links to the renamed file. So, in the end, the correct image is displayed. However, it's throwing off my organizing! The example above is one of the earlier discrepancies. Later on, however, it gets worse, with the number off by several digits (079.jpg is now 086.jpg, etc.) Anyone have any idea what's going on? EDIT: Okay, I think I understand why this happened. When inserting images, there were more than a few instances where no image showed up in the Book View, so I simply clicked "Insert Image" and added the same pic again. Apparently, even when the image doesn't appear in Book View, it has still been added to the "Images" folder. So Sigil renames the duplicate by simply adding "1" to it. When another image with the same name is added, Sigil adds "1" again. So, 027.jpg keeps its name the first time and gets renamed to 028.jpg when I add it again. When I add the real 028.jpg, it's renamed to 029.jpg, and so on and so forth... Now to the annoying and grueling task of removing the duplicates, renaming the files and fixing the links... 75 times. Last edited by megacoupe; 03-04-2011 at 01:00 AM. Reason: New Information |
03-04-2011, 08:06 PM | #2 |
Guru
Posts: 696
Karma: 150000
Join Date: Feb 2010
Device: none
|
Yes, I've had the exact same thing happen, though not on such a large scale. I feel your pain!
But I think you're exactly right about what is happening. |
Advert | |
|
03-05-2011, 10:05 AM | #3 |
Wizard
Posts: 1,613
Karma: 6718541
Join Date: Dec 2004
Location: Paradise (Key West, FL)
Device: Current:Surface Go & Kindle 3 - Retired: DellV8p, Clie UX50, ...
|
I always have the Images folder open in Book Browser when adding images, or the Text folder when adding such components. That way I can see the name and address any issues before moving on to the next edit.
|
03-05-2011, 10:27 AM | #4 | |
Well trained by Cats
Posts: 30,133
Karma: 57500000
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
ch001.jpg naming might make the sequence disturbance more obvious, quickly. |
|
03-06-2011, 08:13 PM | #5 |
Connoisseur
Posts: 88
Karma: 60
Join Date: Oct 2010
Device: ProMedia eReader, Sony PRS-600
|
Wasn't it because when you add an image which name already exists it will change the name when adding?
|
Advert | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Cover image bug with ePub for correct aspect | JSWolf | Conversion | 16 | 01-28-2011 04:31 PM |
"Database Disk Image is malformed" when connecting to Calibre after adding new books | djorkboy | Kobo Reader | 13 | 10-07-2010 08:47 PM |
"Database Disk Image is malformed" when connecting to Calibre after adding new books | djorkboy | Calibre | 1 | 10-06-2010 08:59 PM |
Best way to insert mutiples of the same image? | Adjust | ePub | 4 | 07-29-2010 02:22 PM |
"Go to page" feature for image viewer? | casimps1 | Amazon Kindle | 0 | 07-27-2009 12:06 PM |