CGSmartImage Crop To Fit + resize

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
tylei
New Member
New Member
Posts: 8
Joined: Sun Jun 17, 2012 12:44 pm

CGSmartImage Crop To Fit + resize

Post by tylei »

I have image 371x558px

I want to get size of it 455x255px cropped and resized with aspect ratio.

Trying to use this code:
<img alt="" src="{CGSmartImage src='http://www.mydomain.com/uploads/images/ ... /Image.jpg' quality=100 notag=1 noembed=1 filter_croptofit='455,255,tl,upscale'}" />

But in result I get 426x255px instead of 455x255px.
User avatar
manuel
Power Poster
Power Poster
Posts: 353
Joined: Fri Nov 30, 2007 9:15 am

Re: CGSmartImage Crop To Fit + resize

Post by manuel »

Dear Tylei,

Try changing "upscale" to "1" :)

Greetings,
Manuel
Do you like your open source cms? Buy from the CMSMS partners || Donate
Post Reply

Return to “Modules/Add-Ons”