A
A
Alex2016-03-15 19:24:05
MODX
Alex, 2016-03-15 19:24:05

How to output different sizes in phpThumbOf chunk?

Hello, the pictures are displayed by the gallery (via migx)


here is the galleryRes_Tpl chunk
<div class="col-md-3 col-sm-3 col-xs-6 text-center gallery-p">
<a rel="gallery1" class="popap" href="" title=""><img src="" alt="" /></a>
</div>

Is it possible to do this, maybe there is a ready-made snippet-display the size of the pictures is different?
for example, the first picture in the col-md-3 div is 215 by 215; the second picture in the col-md-3 div is 315 by 315, and so on. That is, according to a certain cycle. Thanks for the advice

Answer the question

In order to leave comments, you need to log in

1 answer(s)
J
Just_Andrew, 2016-03-16
@Just_Andrew

As an option, create 2 TV
1 TV is a picture with 215x215
2 TV is a picture with 315x315
Then check for filling!

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question