Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 11-19-2010, 09:12 AM   #16
DTM
Intentionally Left Blank
DTM ought to be getting tired of karma fortunes by now.DTM ought to be getting tired of karma fortunes by now.DTM ought to be getting tired of karma fortunes by now.DTM ought to be getting tired of karma fortunes by now.DTM ought to be getting tired of karma fortunes by now.DTM ought to be getting tired of karma fortunes by now.DTM ought to be getting tired of karma fortunes by now.DTM ought to be getting tired of karma fortunes by now.DTM ought to be getting tired of karma fortunes by now.DTM ought to be getting tired of karma fortunes by now.DTM ought to be getting tired of karma fortunes by now.
 
DTM's Avatar
 
Posts: 172
Karma: 300106
Join Date: Feb 2006
Location: Royal Oak, MI, USA
Device: Nook STR
Quote:
Originally Posted by Fabe View Post
This code does NOT work for resizing jpeg files:
<p><img alt="Cover_Name" src="../Images/Cover_Name.jpg" width="100%" height="100%" /></p>
The resizing taking place looks terrible.
Quote:
Originally Posted by Jellby View Post
A bit safer would be "max-width=100%", which keep the images proportion.
I keep seeing different approaches to this issue, all of which seem (to me) unnecessarily complex. But then, I don't claim to really know what I'm doing.

What I've done is simply:
<p><img alt="Cover_Name" src="../Images/Cover_Name.jpg" width="100%" /></p>
Which appears to me to work just fine. But, if it's really that simple, I think somebody else would have figured that out a long time ago. Thus, I assume there's some good reason why this is a bad (or at least sub-optimal) approach. Can someone please explain?
DTM is offline   Reply With Quote
Old 11-20-2010, 04:57 PM   #17
Hitch
Bookmaker & Cat Slave
Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.
 
Hitch's Avatar
 
Posts: 11,503
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
I'd add only that jellby's solution is also Liz Castro's solution, which solves the ADE 1/4-image problem in the ADE reader. I use max-width, myself.

Hitch
Hitch is offline   Reply With Quote
Advert
Old 11-20-2010, 09:05 PM   #18
DTM
Intentionally Left Blank
DTM ought to be getting tired of karma fortunes by now.DTM ought to be getting tired of karma fortunes by now.DTM ought to be getting tired of karma fortunes by now.DTM ought to be getting tired of karma fortunes by now.DTM ought to be getting tired of karma fortunes by now.DTM ought to be getting tired of karma fortunes by now.DTM ought to be getting tired of karma fortunes by now.DTM ought to be getting tired of karma fortunes by now.DTM ought to be getting tired of karma fortunes by now.DTM ought to be getting tired of karma fortunes by now.DTM ought to be getting tired of karma fortunes by now.
 
DTM's Avatar
 
Posts: 172
Karma: 300106
Join Date: Feb 2006
Location: Royal Oak, MI, USA
Device: Nook STR
What is the ADE 1/4 image problem?
DTM is offline   Reply With Quote
Old 11-20-2010, 10:35 PM   #19
Hitch
Bookmaker & Cat Slave
Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.
 
Hitch's Avatar
 
Posts: 11,503
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
Hey, DTM:

The moderately infamous ADE "1/4 image problem" is that in ADE desktop Reader, ADE will only display the upper-quarter of a book cover, as the thumbnail, if you don't use the max-width setting for the image tag, as shown by Jellby. I don't really know why it happens, other than ADE is a royal PITA. Setting the image tag as shown eliminates that problem, and the entire img is shown as the thumbnail.

HTH,

Hitch
Hitch is offline   Reply With Quote
Old 11-22-2010, 08:20 AM   #20
DTM
Intentionally Left Blank
DTM ought to be getting tired of karma fortunes by now.DTM ought to be getting tired of karma fortunes by now.DTM ought to be getting tired of karma fortunes by now.DTM ought to be getting tired of karma fortunes by now.DTM ought to be getting tired of karma fortunes by now.DTM ought to be getting tired of karma fortunes by now.DTM ought to be getting tired of karma fortunes by now.DTM ought to be getting tired of karma fortunes by now.DTM ought to be getting tired of karma fortunes by now.DTM ought to be getting tired of karma fortunes by now.DTM ought to be getting tired of karma fortunes by now.
 
DTM's Avatar
 
Posts: 172
Karma: 300106
Join Date: Feb 2006
Location: Royal Oak, MI, USA
Device: Nook STR
Thanks, Hitch. I've never seen that, but I don't use ADE all that much. I just checked it on one of my books that uses "width" instead of "max-width" and it was OK. Maybe Adobe fixed it.

Now, if they could just figure out how to center a horizontal rule....
DTM is offline   Reply With Quote
Advert
Old 11-23-2010, 04:33 AM   #21
Hitch
Bookmaker & Cat Slave
Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.
 
Hitch's Avatar
 
Posts: 11,503
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
Quote:
Originally Posted by DTM View Post
Thanks, Hitch. I've never seen that, but I don't use ADE all that much. I just checked it on one of my books that uses "width" instead of "max-width" and it was OK. Maybe Adobe fixed it.

Now, if they could just figure out how to center a horizontal rule....
LOL! Yeah, no kidding...or NOT need page definitions to run everything out to the accursed borders....

Hitch
Hitch is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Question about using Sigil to convert HTML ficbot Sigil 9 03-06-2011 08:12 AM
Question for Toronto Public Library users ficbot General Discussions 5 05-12-2010 07:36 PM
Sigil Newbie Question 93terp Sigil 2 01-11-2010 07:22 PM
Question for iPhone / ipod users David J. Guyton Apple Devices 6 03-24-2009 11:29 AM
Question for mac users jerryleejr Sony Reader 6 02-06-2008 12:59 AM


All times are GMT -4. The time now is 05:54 PM.


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