Coming soon - Enhancements to CGSmartImage

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm
Location: Fernie British Columbia, Canada

Coming soon - Enhancements to CGSmartImage

Post by calguy1000 »

CGSmartImage your favorite, convenient image processing toolkit is getting some more improvements. You'll be able to pass the images that your editors upload through CGSmartImage automagically.

I am writing a new block plugin called {cgsi_convert} that will automatically throw any <img> tags between it's start and ending tags through CGSmartImage. This will allow you to automagically scale, rotate, and embed images that your users upload to the site and embed into your content.

i.e:

Code: Select all

{cgsi_convert filter_greyscale=1 filter_watermark=1}{content}{/cgsi_convert} 
This will (for all images specified in the content area)
- automatically rotate jpeg images to the proper orientation (according to EXIF data),
- clip/scale the images to the proper size (as specified in the img tag) so that the scaling isn't done on the browser
- convert to greyscale,
- apply your watermark settings
- cache the output so that this magic doesn't have to happen again for the same image.
- embed the image data into the page (if the browser allows).

I'm also playing with some other options like:
max_width = xxxx
max_height = xxxx
(which would automatically ensure that NONE OF the images that are specified exceed the width and height specified.

I should be releasing the new version of CGExtensions in the next few days, so I thought I'd keep you informed.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
square
Forum Members
Forum Members
Posts: 51
Joined: Fri Jan 15, 2010 5:02 pm

Re: Coming soon - Enhancements to CGSmartImage

Post by square »

I'm happy to see the max_width and max_height stuff :)

Will it be implemented to the {CGSmartImage} parameter ?
User avatar
micahgodbolt
Forum Members
Forum Members
Posts: 149
Joined: Thu Jul 29, 2010 11:09 pm
Location: Portland, OR

Re: Coming soon - Enhancements to CGSmartImage

Post by micahgodbolt »

Oh yeah! Excited to see this feature. I like the idea of using the img height/width to resize the photo. Much better than just having to pick a value and hope it works for the user's content.

Keep up the good work. cgsmartimage is becoming one of those go-to modules for me on almost every site.
Post Reply

Return to “Modules/Add-Ons”