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.
Crop function CGSmartImage
-
- Power Poster
- Posts: 444
- Joined: Wed Jan 25, 2006 11:53 am
- Location: Netherlands
Re: Crop function CGSmartImage
Crop the container it is in using CSS...
overflow: hidden;
overflow: hidden;
-
- Power Poster
- Posts: 444
- Joined: Wed Jan 25, 2006 11:53 am
- Location: Netherlands
[Zilver] Crop function CGSmartImage
Thanks you Dr. CSS
I used CSS and made it work.
I used CSS and made it work.