Page 1 of 1

auto-thumbnail feature for news module?

Posted: Wed Apr 17, 2013 10:30 pm
by kirks
I'm curious if there is an auto-thumbnail feature for the news module ... actually for Image Manager in CMSms. I really like the auto-thumbnail feature of Wordpress and having something like that would really make life easier for my non-techy clients!

I'm trying to implement something that would create thumbnails of a certain size for images uploaded to my news articles like this site http://www.veritywebsvs.com/furnitureshowplace/. Also, I need a way for all images to have a maximum width and/or maximum height like Wordpress so that non-techy customers don't have an extra step of resizing when they upload an image.

PS. Is it possible to select images from the Image Manager for a news field item rather than having to upload it in the article editor?

I'm running 1.11.5

ks

Re: auto-thumbnail feature for news module?

Posted: Wed Apr 17, 2013 10:36 pm
by calguy1000
See the CGSmartImage module in the forge. it has lots of features to allow your users to upload images, but for you to control how they are displayed.

Re: auto-thumbnail feature for news module?

Posted: Fri Apr 19, 2013 10:11 am
by faglork
You might try the "Toolbox" module. It has a feature called "autolightbox", which generates a thumbnail and automatically links it with the image to display it in a lightbox.

hth,
Alex

Re: auto-thumbnail feature for news module?

Posted: Fri Apr 19, 2013 1:49 pm
by velden
Example code for news detail template (part of it) with use of CGSmartImage module.

Code: Select all

{if isset($entry->fields)}
  {if !empty($entry->fields.foto->value)}
{CGSmartImage src="`$entry->file_location`/`$entry->fields.foto->value`" filter_resize='w,224' width='224' style='margin-left : -25px;'}
  {/if}
{/if}
Also, I need a way for all images to have a maximum width and/or maximum height like Wordpress so that non-techy customers don't have an extra step of resizing when they upload an image.
I believe you can program such thing using the build in Events Manager (menu Extensions). Did never use it myself. Didn't need it yet and seems a little advanced to me.

Re: auto-thumbnail feature for news module?

Posted: Fri Apr 19, 2013 3:09 pm
by Gregor
Couldn't this be done by the Gallery module upload's feature?

Re: auto-thumbnail feature for news module?

Posted: Fri Apr 19, 2013 5:15 pm
by kirks
Thanks everyone. I'll look into this.