11-04-2012, 09:32 AM | #1 | ||
Addict
Posts: 271
Karma: 2000000
Join Date: Jan 2009
Device: Sony PRS-505
|
Picture Shows up in Sigil, Not Phone
I'm working on completing an e-book I wrote, and I included some pictures. I'm pretty new to coding, but I followed directions I found online pretty closely and things work fine in Sigil itself.
Basically, I have images resized and anchored at certain parts of some pages, and it shows up fine in Sigil. But on my phone (the first device I tested it on) the images don't show up. Neither do the captions or alternate text. There's just a blank spot (anchored correctly, just nothing there). I found a trick online to set the size parameters of the DIV (usually I set it at 50%) and then set the picture as a percentage of the DIV. If it helps, here is the code for one of my images (all my images have matching code, except for the file name and sizes, of course): In the head I have: Quote:
Quote:
Any help would be greatly appreciated. EDIT: Bingo, I figured it out. For some reason either I or sigil inserted <div class="img sgc-2"> when it should have just been <div class="sgc-2"> This also fixed another issue I had with some images being resized in Sigil itself. Mods, feel free to delete this thread unless it might be useful for someone else. Last edited by MV64; 11-04-2012 at 09:40 AM. |
||
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Sigil highlight Book View No Longer Shows in Code View | Themus | Sigil | 4 | 10-04-2012 07:54 PM |
Picture of Amazon Phone | ucfgrad93 | News | 31 | 09-14-2012 05:54 AM |
Sigil shows a blank document when importing valid HTML | walter2 | Sigil | 15 | 03-25-2010 07:17 AM |
Server shows column headers, but not books, when accessed via mobile phone browser | Starson17 | Calibre | 7 | 12-29-2009 04:49 PM |
Next hot cell phone trend: picture books? | Alexander Turcic | News | 7 | 06-04-2008 04:11 PM |