|03-04-2011, 01:40 AM||#1|
Join Date: Aug 2007
Device: Sony eReader
"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?
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 02:00 AM. Reason: New Information
|03-04-2011, 09:06 PM||#2|
Join Date: Feb 2010
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.
|03-05-2011, 11:05 AM||#3|
Join Date: Dec 2004
Location: Paradise (Key West, FL)
Device: Current:Kindle 3/WiFi Retired:Clie - UX50, T415, ...
|03-05-2011, 11:27 AM||#4|
Join Date: Aug 2009
Location: The (original) Silicon Valley, USA
Device: Galaxy Tab 2,Black Astak PEz, K4NT(now Wifes)
ch001.jpg naming might make the sequence disturbance more obvious, quickly.
|03-06-2011, 09:13 PM||#5|
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?
|Thread Tools||Search this Thread|
|Thread||Thread Starter||Forum||Replies||Last Post|
|Cover image bug with ePub for correct aspect||JSWolf||Conversion||16||01-28-2011 05:31 PM|
|"Database Disk Image is malformed" when connecting to Calibre after adding new books||djorkboy||Kobo Reader||13||10-07-2010 09:47 PM|
|"Database Disk Image is malformed" when connecting to Calibre after adding new books||djorkboy||Calibre||1||10-06-2010 09:59 PM|
|Best way to insert mutiples of the same image?||Adjust||ePub||4||07-29-2010 03:22 PM|
|"Go to page" feature for image viewer?||casimps1||Amazon Kindle||0||07-27-2009 01:06 PM|