Skip Navigation

[Resolved] Images on archive page

This support ticket is created 3 years, 5 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 - - 9:00 – 13:00
14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 - - 14:00 – 18:00

Supporter timezone: Africa/Casablanca (GMT+01:00)

This topic contains 3 replies, has 2 voices.

Last updated by steveN-4 3 years, 5 months ago.

Assisted by: Jamal.

Author
Posts
#2110451

Tell us what you are trying to do? Create an archive page. Gris of 4 colums with simple picture (dynamic ) and some details undermeate. The pics we have are different sizes (and aspects). Is there a way to fix the size when adding the dynamic image so that it displays at a fixed say 300 x 200 cropping teh sides rather than shrinking?

Is there any documentation that you are following? No

Is there a similar example that we can see? Don't know

What is the link to your site? Can supply but password needed so private message required.

#2110875

Hello and thank you for contacting Toolset support.

Yes, that is possible. The only condition is that all images must be bigger than the target dimensions (300 x 200).

And depending on how you are building the archive template, the method differs. If you are using the block editor, you can use an image block and define custom dimensions on it. You can also configure it to crop the images instead of shrinking them.

If you are using the legacy editor, you can use the "Add Field or View" button, choose the image field, then configure the dimensions and the cropping on it.

If you are unsure how to do it, allow me temporary access to your website, I'll make it and take screenshots for you to show you how to do it. Your next reply will be private to let you share credentials safely. ** Make a database backup before sharing credentials. **

#2110885

Hi Jamal.
Just sorted this in the last few minutes.
Sadly, some of the images are smaller so need to be upscaled. I have used toolset block, image ( from database) as background and set the height with auto width.

Now working. Thank you

#2110887

My issue is resolved now. Thank you!