Picture size in teasers

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

- Login or register to post comments
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.
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.
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?
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.
