Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 07-30-2014, 02:36 PM   #1
jgawne
Member
jgawne began at the beginning.
 
Posts: 20
Karma: 10
Join Date: Jan 2012
Device: kindle
Question Vanishing images

I am really sorry to see Sigil no longer being supported. Sigh.

However, I have had a weird issue that has reoccurred three times in the recent past and I wonder if anyone knows what might be causing this, so that maybe I can NOT do it again.

I have a well formed sigil file with a number of images (10-20). I save the file and go away for the night. I turn on my machine, open sigil, open the same file and ... it is there, but everything in the images file is gone.

The first time I figured I just screwed something up. Second time I went Hmmm. Third time I decide this is going to be a pain in the butt if every single time I have to go reload the images.

ideas?
jgawne is offline   Reply With Quote
Old 07-30-2014, 04:18 PM   #2
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 30,909
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by jgawne View Post
I am really sorry to see Sigil no longer being supported. Sigh.

However, I have had a weird issue that has reoccurred three times in the recent past and I wonder if anyone knows what might be causing this, so that maybe I can NOT do it again.

I have a well formed sigil file with a number of images (10-20). I save the file and go away for the night. I turn on my machine, open sigil, open the same file and ... it is there, but everything in the images file is gone.

The first time I figured I just screwed something up. Second time I went Hmmm. Third time I decide this is going to be a pain in the butt if every single time I have to go reload the images.

ideas?
Real strange.

Is there something odd about the Names of the images? (any special characters?) image10.jpg is safe

Case (of) name (path) errors caused by hand coding.

Personally, I only use Pretty Print Tidy (Preferences: clean source)
theducks is offline   Reply With Quote
Advert
Old 07-31-2014, 01:12 PM   #3
jgawne
Member
jgawne began at the beginning.
 
Posts: 20
Karma: 10
Join Date: Jan 2012
Device: kindle
nope, I am careful about that. And I know that a double space in the file name will mess it up.

This is just I save the file, shut down the machine, come back the next day, open it up and 'poof!' EVERY image file has vanished from the epub.
jgawne is offline   Reply With Quote
Old 07-31-2014, 01:20 PM   #4
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 30,909
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by jgawne View Post
nope, I am careful about that. And I know that a double space in the file name will mess it up.

This is just I save the file, shut down the machine, come back the next day, open it up and 'poof!' EVERY image file has vanished from the epub.
I have touched 1000's of books with Sigil. I have not lost images from a saved book.

Did you happen to have the file open (or in a synched folder) outside Sigil at the time of a save? (The save should have failed)
theducks is offline   Reply With Quote
Old 07-31-2014, 03:23 PM   #5
mrmikel
Color me gone
mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.
 
Posts: 2,089
Karma: 1445295
Join Date: Apr 2008
Location: Central Oregon Coast
Device: PRS-300
Is the OP not putting them in the Sigil Images folder, and trying to force an organization of his own? Sigil is good at what it does, but it does it its own way with its own structure. If you want free form structure you'd have to go with the calibre editor or another editor. I'm suspecting you can create any other folders you want, but the files will be deleted or moved to some folder like Misc on saving.
mrmikel is offline   Reply With Quote
Advert
Old 07-31-2014, 09:14 PM   #6
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,630
Karma: 29710510
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by jgawne View Post
nope, I am careful about that. And I know that a double space in the file name will mess it up.

This is just I save the file, shut down the machine, come back the next day, open it up and 'poof!' EVERY image file has vanished from the epub.
After saving the file do you close Sigil ?

What happens if you save the file, close Sigil, and then reopen open the book in Sigil - are the images gone?

What happens if you make a change to the text - is that gone too?

Do you do a Save (ctrl/s) or a Save As (ctrl/shift/s)?

Are you sure you're saving over the top of the file you open at the start. Maybe you open something in My Folder A but you're saving to My Folder B?

BR
BetterRed is offline   Reply With Quote
Old 08-01-2014, 05:04 AM   #7
canpolat
Connoisseur
canpolat for a long time would go to bed early.canpolat for a long time would go to bed early.canpolat for a long time would go to bed early.canpolat for a long time would go to bed early.canpolat for a long time would go to bed early.canpolat for a long time would go to bed early.canpolat for a long time would go to bed early.canpolat for a long time would go to bed early.canpolat for a long time would go to bed early.canpolat for a long time would go to bed early.canpolat for a long time would go to bed early.
 
Posts: 92
Karma: 17950
Join Date: Mar 2013
Device: Xodo
@jgawne, after closing Sigil, could you try the following:

1. Create a copy of the .epub file.
2. Then change the file extension of the copy from .epub to .zip
3. Extract the .zip file to a convenient location.
4. In the extracted structure navigate to the 'Images' folder.
5. Verify that all the images you added are in that folder.

If you see all the images in that folder, that means you have successfully added the image files to your epub. If the images aren't there that means there is something wrong in the inclusion of the images (Long shot: could it be that you are including the shortcuts to the images instead of the images themselves? I'm not sure this is even possible.).
canpolat is offline   Reply With Quote
Old 08-01-2014, 10:49 AM   #8
jgawne
Member
jgawne began at the beginning.
 
Posts: 20
Karma: 10
Join Date: Jan 2012
Device: kindle
No, I am doing it properly. I have not had this issue before on a number of projects that went fine. I have just forced myself to get into the habit of saving more versions. I do note that in the 'content' section the missing images are still referenced.

I've been trying to replicate it with no luck.

There is a possibility that I may have saved the file, but kept sigil open all night (computer in sleep mode) in at ;east one of the times.

At this point I am just going chalk it up to gremlins, and try and be really, really careful about saving versions even if there is no major change.
jgawne is offline   Reply With Quote
Old 08-01-2014, 11:09 AM   #9
Toxaris
Wizard
Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.
 
Toxaris's Avatar
 
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
There is one possibility, but I don't see how that can have happened here. If for some reason the reference to the image file is removed from the OPF or changed in the OPF (extension for example), the images would not be loaded if the file is reopened.
Toxaris is offline   Reply With Quote
Old 08-02-2014, 08:52 AM   #10
exaltedwombat
Guru
exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.
 
Posts: 878
Karma: 2457540
Join Date: Nov 2011
Device: none
Is there ANYTHING non-standard about the way you insert the images (R-click the Images folder, Add existing Files, then place it in the document using the Insert File button)?
exaltedwombat is offline   Reply With Quote
Old 08-08-2014, 10:10 AM   #11
jgawne
Member
jgawne began at the beginning.
 
Posts: 20
Karma: 10
Join Date: Jan 2012
Device: kindle
Nope nothing non-standard and I have done a number of books with lots of images with no problems. I can't replicate this issue so - that's that. Just a weird occurrence because I am SO VERY LUCKY.

If you guys did not already know this, if you have a double space in your image file name, it will show up as being in the images file, but will not show up in the book. But I learned that a while ago.
jgawne is offline   Reply With Quote
Old 08-08-2014, 10:31 AM   #12
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 30,909
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by jgawne View Post
Nope nothing non-standard and I have done a number of books with lots of images with no problems. I can't replicate this issue so - that's that. Just a weird occurrence because I am SO VERY LUCKY.

If you guys did not already know this, if you have a double space in your image file name, it will show up as being in the images file, but will not show up in the book. But I learned that a while ago.
Any spaces in file names should be avoided, just to many devices stumble on this.
Use an underscore_to_maintain_readability
theducks is offline   Reply With Quote
Old 08-08-2014, 12:14 PM   #13
exaltedwombat
Guru
exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.
 
Posts: 878
Karma: 2457540
Join Date: Nov 2011
Device: none
When you run your book through the validator at
http://validator.idpf.org/
it will warn you if file names have spaces.

All over computing, SOME systems/programs tolerate nonstandard characters in file names. But don't do it.
exaltedwombat is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Vanishing Tools Menu? jkaram1 Sigil 4 04-04-2012 02:51 PM
Why do my books keep vanishing? msxman Kobo Tablets 0 11-03-2011 01:51 PM
Aldiko vanishing? msxman Kobo Tablets 2 11-01-2011 11:45 PM
Vanishing images Paddlin Kindle Formats 13 12-17-2010 11:51 AM
Vanishing punctuation Robotech_Master Calibre 25 06-01-2009 10:24 PM


All times are GMT -4. The time now is 12:06 PM.


MobileRead.com is a privately owned, operated and funded community.