1. Medico
  2. Monday, 13 April 2020
Good morning, sir,

Is there a solution to automatically reduce the size of portrait images for specialists to a specific size?
I need to include a large number of specialists and I want to avoid having to prepare all the photos before placing them on the site.
So I need to upload their portrait photos as they are found so that they are all set to the same size and form a consistent line and presentation on the page.
Please see attached file and second exemple in: http://demo.joomshaper.com/2018/medico/index.php/departments/department/emergency-services

Thank you so much for your help.
Attachments (1)
Accepted Answer
HI,
Use this custom css

.specialists-wrapper .specialists-img-wrapper img {
width: 100%;
height: 350px;
}

Add this css code inside the custom.css file.
Note: Path towards custom CSS:
Extensions>Templates>Styles>
Click on your current default template name then choose Template Options.
Then find custom CSS within the custom code.
https://prnt.sc/pu705g
https://prnt.sc/pu70zn
In Extensions>Template> Template Options > Custom Code > Custom CSS please add this
Thanks
  1. more than a month ago
  2. Medico
  3. # Permalink
Responses (4)
Very good !
A great thanks to you ! :-)

Regards
  1. more than a month ago
  2. Medico
  3. # 1
You are most welcome:)
  1. more than a month ago
  2. Medico
  3. # 2
I am sorry Mehtaz but the picture is distorted (see attached file).
It would need a display option to be cropped on the edges or fulling from the center for example.

Please,
Thank you.
Attachments (1)
  1. more than a month ago
  2. Medico
  3. # 3


There are no replies made for this post yet.
Be one of the first to reply to this post!


This forum is archived

This forum has been archived. Please use JoomShaper official support system.