html - Images losing quality in browser preview -
as can see, problem browser preview of images.
attached original image , screenshot of browser preview website.
my code used display image is:
html
<div class="pricebox col-lg-6 col-md-6 col-sm-6 col-xs-12 col-ss-12"> <img src="assets/img/preturi/aerobic-nelimitat.png" class="img-pricebox img-responsive" alt=""/> </div>`
css
.pricebox {margin-bottom:35px;} .img-pricebox {width:100%; height:auto;}
the dimensions of images 550px x 200px arranged in col-6 grid, enough display think.
what can improove quality? css solution, maybe specific photoshop rendering configuration?
ps: also, local preview attachement lose little bit of quality.
setting max-width of image to100% solve problem.
Comments
Post a Comment