ProsePoint Express: hosted newspaper website content management software

Picture size in teasers

  • strict warning: Non-static method view::load() should not be called statically in /home/prosepoint.org/bzr/public_html/profiles/prosepoint/modules/views/views.module on line 879.
  • strict warning: Declaration of views_handler_argument::init() should be compatible with views_handler::init(&$view, $options) in /home/prosepoint.org/bzr/public_html/profiles/prosepoint/modules/views/handlers/views_handler_argument.inc on line 0.
  • strict warning: Declaration of views_handler_filter::options_validate() should be compatible with views_handler::options_validate($form, &$form_state) in /home/prosepoint.org/bzr/public_html/profiles/prosepoint/modules/views/handlers/views_handler_filter.inc on line 0.
  • strict warning: Declaration of views_handler_filter::options_submit() should be compatible with views_handler::options_submit($form, &$form_state) in /home/prosepoint.org/bzr/public_html/profiles/prosepoint/modules/views/handlers/views_handler_filter.inc on line 0.
  • strict warning: Declaration of views_handler_filter_node_status::operator_form() should be compatible with views_handler_filter::operator_form(&$form, &$form_state) in /home/prosepoint.org/bzr/public_html/profiles/prosepoint/modules/views/modules/node/views_handler_filter_node_status.inc on line 0.
  • strict warning: Non-static method view::load() should not be called statically in /home/prosepoint.org/bzr/public_html/profiles/prosepoint/modules/views/views.module on line 879.
  • strict warning: Declaration of views_handler_filter_boolean_operator::value_validate() should be compatible with views_handler_filter::value_validate($form, &$form_state) in /home/prosepoint.org/bzr/public_html/profiles/prosepoint/modules/views/handlers/views_handler_filter_boolean_operator.inc on line 0.
  • strict warning: Declaration of date_api_filter_handler::value_validate() should be compatible with views_handler_filter::value_validate($form, &$form_state) in /home/prosepoint.org/bzr/public_html/profiles/prosepoint/modules/date/includes/date_api_filter_handler.inc on line 0.
  • strict warning: Non-static method view::load() should not be called statically in /home/prosepoint.org/bzr/public_html/profiles/prosepoint/modules/views/views.module on line 879.
  • strict warning: Declaration of views_plugin_row::options_validate() should be compatible with views_plugin::options_validate(&$form, &$form_state) in /home/prosepoint.org/bzr/public_html/profiles/prosepoint/modules/views/plugins/views_plugin_row.inc on line 0.
  • strict warning: Declaration of views_plugin_row::options_submit() should be compatible with views_plugin::options_submit(&$form, &$form_state) in /home/prosepoint.org/bzr/public_html/profiles/prosepoint/modules/views/plugins/views_plugin_row.inc on line 0.
5 replies [Last post]
Paul Gillingwater
Paul Gillingwater's picture
User offline. Last seen 7 years 6 weeks ago. Offline
Joined: 05/03/2009
Posts:

Our editor would like to be able to create teasers with a variety of sizes of image.  The idea is more of controlling layout so that a story (but NOT full text) can be posted in a top-of-page block, more like a traditional newspaper layout -- the size of the picture indicates the importance of the story.

Any ideas how to do this without copy/pasting everything we need into a block manually (which is how we do it now.)

See http://www.viennareview.net/ to see the effect we are looking for.

 

__________________

Follow me on http://www.twitter.com/ahbleza

Duke Nukem
Duke Nukem's picture
User offline. Last seen 8 years 32 weeks ago. Offline
Joined: 15/03/2009
Posts:
it is important that  should
it is important that  should first be made. urgent need to develop. i need different teaser image size for different CCK types. worse luck, my project cant wait for development process. currently, i've used CSS codes for teaser images size but it is not a good method. Because Images KB sizes aren't changing. How can we do this now?
beng
User offline. Last seen 4 years 31 weeks ago. Offline
Joined: 27/02/2009
Posts:
Been thinking about this.

Hi,

> Any ideas how to do this without copy/pasting everything we need into a block manually

Been thinking about this. I don't think there's an easy way to do this automatically at the moment. Some sort of code will probably need to be developed for it. However, I do think it's a worthwhile feature to consider.

I could add a select drop-down box to stories which chooses the teaser image size. However, with this approach, all teaser instances of that story will still have the same image size. For example:

You have a story that appears on your front page as a teaser with a very large size for the teaser image. If that same story appears somewhere else as a teaser (or perhaps a few weeks later, it is moved off the front page), it will also have that very large teaser image size.

I think this is not what you want. You want a large teaser image size only if it's the lead story that appears on your front page, yes?

This will require a bit more thought.

beng
User offline. Last seen 4 years 31 weeks ago. Offline
Joined: 27/02/2009
Posts:
ProsePoint 0.21

ProsePoint 0.21 has been released which does this. You can now set teaser image sizes by content type and then individually by node. Editions can also set the teaser image size of it's Headlines stories.

This is a new set of functionality, so there may be a few bugs, or the design could be improved further. Please have a look and let me know what you think.

nikemen
User offline. Last seen 7 years 29 weeks ago. Offline
Joined: 11/07/2009
Posts:
A little more...

This is a really good feature, but I think it needs to be a bit more integrated. I run the site Panorama Católico, which I'm migrating from a simple Drupal installation. For themeing sake, I need the last news to use the default size (they rotate on a views slideshow) and the next ones, which are listed in a short teaser way, to use a little teaser image. May be this could be solved if I have a drupal action to change the teaser image size and trigger it by the posting of a new story. Do you think this is possible... or meybe you have a better idea?
Thanks very much!

P.S.: I had a better idea. I think the best way to do it is to have teaser image available as a field in views. Is this possible? Does someone still read this forum?

beng
User offline. Last seen 4 years 31 weeks ago. Offline
Joined: 27/02/2009
Posts:
...

Hi,

At the minimum, I think you'd need some custom code either in a custom module or in your theme, that detects whether a story is being shown as 'the last news', and changes the teaser size programmatically.

I can't think of any way to easily do this through a user interface without overcomplicating things.

So, presently, what you've asked for is not possible with ProsePoint 'out of the box'. It is theoretically possible with custom development, but that's outside the scope of this support forum.