K
K
Kostya2018-12-11 12:31:23
MODX
Kostya, 2018-12-11 12:31:23

The size of the picture does not change, is it always the original size?

The size of the image does not change, it is always the original size, although I wrote 350px by 350px in the settings (media > file source > MS2 Images > edit), screenshot: Here is the chunk of the product card Due to the too large size of the image, the site floats This is a tpl file. msGallery
01fac6d32509ab574d4b6055f91c4b7bs.jpg
d4b0b7be0ed13a8f24516629cbf7627as.jpg
cda472e20ae33144e4e5b16771f65ae0s.jpg
9e112c3265e55d18b0c9c6a5d72532des.jpg

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey Golyagin, 2019-02-07
@webrevenue

add rule in css:img{max-widht:100%;height:auto}

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question