|11-04-2012, 10:32 AM||#1|
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:
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 10:40 AM.
|Thread Tools||Search this Thread|
|Thread||Thread Starter||Forum||Replies||Last Post|
|Sigil highlight Book View No Longer Shows in Code View||Themus||Sigil||4||10-04-2012 08:54 PM|
|Picture of Amazon Phone||ucfgrad93||News||31||09-14-2012 06:54 AM|
|Sigil shows a blank document when importing valid HTML||walter2||Sigil||15||03-25-2010 08:17 AM|
|Server shows column headers, but not books, when accessed via mobile phone browser||Starson17||Calibre||7||12-29-2009 05:49 PM|
|Next hot cell phone trend: picture books?||Alexander Turcic||News||7||06-04-2008 05:11 PM|