AquaMail Forum
English - Android => Bug reports => Topic started by: kaczor on December 18, 2013, 07:25:52 am
-
Hi Kostya,
I've created a signature for my mails, where I've added an image. Image is added there using HTML tag:
<img style="width: 400px; height: 25px;" src="http://imageshack.com/a/img19/1098/kfu2.png"></img>
What worries me is that this image is enlarged when displayed in Aqua. It takes whole screen width (which is in my case 1080).
An example (zoomed out as much as possible), click for full size:
(http://imageshack.com/a/img27/104/8v6k.png) (http://imageshack.com/a/img809/7355/yezy.png)
Why it is so? Could you shed some light on this issue?
Here is the userbar displayed in my mail signature:
(http://imageshack.com/a/img19/1098/kfu2.png)
-
In your case, 1080 physical pixels is 360 logical pixels (px in HTML).
Now as to why it takes the entire width, I'm not sure... Do you have "auto-fit" enabled? Or did you double-tap to zoom in?
-
The signature image has width of 400px, I do not have "auto-fit" option enabled and the scren you see is when I use volume-down button to zoom out the message as far as possible (then the image is displayed fully from left to right, even with some margin).
but when 1080 physical px is 360 logical pixels in HTML - then the image is displayed in "logical pixels" size (?) - when I enter this message, I can scroll it a little bit right (then I can see missing 40px from the image).
I'm not sure if I fully understand the "logical" pixels idea, but why image is not displayed just like-is in physical size, but in "logical" one?
-
Logical (device independent) pixels are becoming more and more common these days precisely because of high-density screens like that of your device.
1920x1080 mean very different things on a 5" smartphone display vs. a 24" desktop monitor vs. a 42" TV panel.
Android's WebView uses logical pixels, so 1080 at this density is 360px in HTML.
Feel free to send me a test message (kmansoft / at sign / gmail / dot com).
-
done :)
-
Hi add a new image in HTML signature , and the orignal image has 350px (width) and the aquamail automate resize my imagem to 245px.
I want to use an image banner full width (600pixel of width).
I'm using the PRO version with the e-mail account andre.phillips
Do you have any solution for this?
Best Regards,
Filipe Nunes
-
There is a complicated technical reason behind this resizing, so it's working "as intended" ("as best as it can, considering").
I would have liked to avoid it, but the "complicated technical reason" is inside Android code.