auto-thumbnail feature for news module?

The place to talk about things that are related to CMS Made simple, but don't fit anywhere else.
Post Reply
kirks
Forum Members
Forum Members
Posts: 14
Joined: Tue Aug 02, 2011 11:47 pm

auto-thumbnail feature for news module?

Post 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
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: auto-thumbnail feature for news module?

Post 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.
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.
faglork

Re: auto-thumbnail feature for news module?

Post 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
User avatar
velden
Dev Team Member
Dev Team Member
Posts: 3497
Joined: Mon Nov 28, 2011 9:29 am

Re: auto-thumbnail feature for news module?

Post 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.
User avatar
Gregor
Power Poster
Power Poster
Posts: 1874
Joined: Thu Mar 23, 2006 9:25 am

Re: auto-thumbnail feature for news module?

Post by Gregor »

Couldn't this be done by the Gallery module upload's feature?
kirks
Forum Members
Forum Members
Posts: 14
Joined: Tue Aug 02, 2011 11:47 pm

Re: auto-thumbnail feature for news module?

Post by kirks »

Thanks everyone. I'll look into this.
Post Reply

Return to “The Lounge”