Crop function CGSmartImage

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
musicscore
Power Poster
Power Poster
Posts: 444
Joined: Wed Jan 25, 2006 11:53 am
Location: Netherlands

Crop function CGSmartImage

Post 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.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12709
Joined: Thu Mar 09, 2006 5:32 am
Location: Arizona

Re: Crop function CGSmartImage

Post by Dr.CSS »

Crop the container it is in using CSS...

overflow: hidden;
musicscore
Power Poster
Power Poster
Posts: 444
Joined: Wed Jan 25, 2006 11:53 am
Location: Netherlands

[Zilver] Crop function CGSmartImage

Post by musicscore »

Thanks you Dr. CSS

I used CSS and made it work.
Post Reply

Return to “Modules/Add-Ons”