Automatic Image CSS Class

Counterpart

New Member
I have a suggestion for when one uploads a new image into the product edit page

- to make the image css class as 'img-responsive" automatically.

I noticed that when I insert a product from Aliexpress that the images are already responsive, but when uploading something from my computer, they are not, so I have to change them automatically.

Could this be implemented?
 

dacho

New Member
Add that to your CSS

.product-content img {display: block; max-width: 100% !important; height: auto !important;}
 
Top