• twitter image
  • facebook image
  • youtube image
  • linkedin image
Language: CMS Made Simple Czech CMS Made Simple France CMS Made Simple Spain CMS Made Simple Hungary CMS Made Simple Russia CMS Made Simple Netherlands

All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Crop function CGSmartImage
PostPosted: Wed Oct 03, 2018 4:49 pm 
Offline
Power Poster
Power Poster

Joined: Wed Jan 25, 2006 11:53 am
Posts: 402
Location: Netherlands
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.


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: Crop function CGSmartImage
PostPosted: Tue Oct 09, 2018 4:04 am 
Offline
Administrator
Administrator
User avatar

Joined: Thu Mar 09, 2006 5:32 am
Posts: 12672
Location: Arizona
Crop the container it is in using CSS...

overflow: hidden;

_________________
Check ver. CMSMS, PHP, server OS, in System Information page.
Default content http://multiintech.com/defaultcontent/
People are Wonderful
Business is Great
Life is Terrific
Ever wonder what happened to the Album module? Well it is alive and well.
http://album.multiintech.com/
$1


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: [Zilver] Crop function CGSmartImage
PostPosted: Sat Nov 03, 2018 10:16 am 
Offline
Power Poster
Power Poster

Joined: Wed Jan 25, 2006 11:53 am
Posts: 402
Location: Netherlands
Thanks you Dr. CSS

I used CSS and made it work.


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
A2 Hosting