View Single Post
Old 08-01-2023, 10:27 AM   #7
Comfy.n
want to learn what I want
Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.
 
Posts: 1,762
Karma: 7927573
Join Date: Sep 2020
Device: none
If you remove the rule width:auto from .calibre2 and .calibre3 classes, and also add the desired dimensions to the html code as @Karelllen suggested, image gets resized:

.calibre2 {
height: auto;
max-height: 100%;
max-width: 100%;
width: auto;
margin: 0;
padding: 0;

and

PHP Code:
<img alt="" src="Pictures/10000000000001A300000258372F48E4.jpg" 
width="219" height="300" class="calibre2"/> 
Comfy.n is online now   Reply With Quote