Why are images resized to 40px? Topic is solved

Python and python framework

Moderator: leecollings

Post Reply
Xorfor

Why are images resized to 40px?

Post by Xorfor »

For the Pi-hole plugin, I created an image zip file as described on the Wiki. They are 48 x 48 px. However on the Domoticz pages they are sized to 40 x 40 px!

Code: Select all

<img width="40" height="40"
This is the 'old' style of sizing images. It should be 'style="height: 40px, width: auto;"' or some thing. But with the current attributes my images are ugly:
Knipsel.PNG
Knipsel.PNG (1.79 KiB) Viewed 428 times
while in the Custom Icons I see:
Knipsel2.PNG
Knipsel2.PNG (3.05 KiB) Viewed 428 times
Much more better! Should I resize to 40px?
Xorfor

Re: Why are images resized to 40px?

Post by Xorfor »

I just did a complete new install on my RPi. Now the images looks good! Probably I was using an old version of the images.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest