Page 1 of 1

Crop function CGSmartImage

Posted: Wed Oct 03, 2018 4:49 pm
by musicscore
I'm trying to cropt an image using CGSmartImage but I only want to crop the image vertical.
The width of the image should stay maximum and the height of the image should be 700px.

The cropted image should then be 100% width of the screen and 700px high.

I do not manage to get this done. So A need every picture to be 100% width and only 700px high. This picture will be the header of my site.

The editor will upload pictures so I do not know the size of the uploaded pictures.

Can this be done (with CGSmartImage)

Please helpt.

Re: Crop function CGSmartImage

Posted: Tue Oct 09, 2018 4:04 am
by Dr.CSS
Crop the container it is in using CSS...

overflow: hidden;

[Zilver] Crop function CGSmartImage

Posted: Sat Nov 03, 2018 10:16 am
by musicscore
Thanks you Dr. CSS

I used CSS and made it work.