View Single Post
Old 05-26-2014, 12:22 AM   #15
eggheadbooks1
Read, don't parrot.
eggheadbooks1 figured out that Keyser Söze was the Kevin Spacey character in less than 20 minutes.eggheadbooks1 figured out that Keyser Söze was the Kevin Spacey character in less than 20 minutes.eggheadbooks1 figured out that Keyser Söze was the Kevin Spacey character in less than 20 minutes.eggheadbooks1 figured out that Keyser Söze was the Kevin Spacey character in less than 20 minutes.eggheadbooks1 figured out that Keyser Söze was the Kevin Spacey character in less than 20 minutes.eggheadbooks1 figured out that Keyser Söze was the Kevin Spacey character in less than 20 minutes.eggheadbooks1 figured out that Keyser Söze was the Kevin Spacey character in less than 20 minutes.eggheadbooks1 figured out that Keyser Söze was the Kevin Spacey character in less than 20 minutes.eggheadbooks1 figured out that Keyser Söze was the Kevin Spacey character in less than 20 minutes.eggheadbooks1 figured out that Keyser Söze was the Kevin Spacey character in less than 20 minutes.eggheadbooks1 figured out that Keyser Söze was the Kevin Spacey character in less than 20 minutes.
 
Posts: 224
Karma: 110242
Join Date: Apr 2011
Device: Kindle Fire, Kobo Touch, Aldiko for Android
Odedta:

The suggested code doesn't stop the images from being cut off in ADE. The only way I've been able to prevent that is to include the height percentage inside the image code directly:

<div class="Image"><img alt="0425" height="75%" src="../Images/0425.jpg" /></div>

or indirectly via an image class:

<div class="Image"><img alt="0425" class="image1" style="max-height:250px; max-width:188px" src="../Images/0425.jpg" /></div>

where "image1" has the percentage specified. Putting the percentage in the opening div class isn't being read by ADE. Don't know why.

Also, I don't see how your code would prevent upscaling in high-res devices. If the max-height or width is set to 99%, then that would be 99% of the screen, correct? A 960-pixel image would then be upscaled to about 2000 pixels in an iPad.
eggheadbooks1 is offline   Reply With Quote