[support] images in trimmed node

Philippe Jadin philippe.jadin at gmail.com
Mon Nov 26 13:02:50 UTC 2007


You could use CCK + image cck + image_cache (additional drupal
modules) to add a new image field to your existing content type.
Instead of adding the image in your body text, you fill  a separate
field for the image.

Then you can decide what is shown in teaser and full node view. With
image cache, you can create thumbnails automagically (even different
sizes for full and teaser view).

This is the short version, if you need more help, please ask.

Philippe

On Nov 24, 2007 10:12 PM, Roy Smith <roy at panix.com> wrote:
>  I've got a node which consists of an image inside a float:right clear:right
> div, followed by a bunch of text.  In the trimmed preview, only the image
> shows up.  I can force both the image and the text to show up with
> "<!--break-->", but what I really want to do is get just the text.  I can
> get just the text in the trimmed preview by moving it before the image, but
> that messes up the layout in the full view.
>
> Is there any way to tell the preview generator to just ignore images (or a
> specific div)?
>
>
>
>
> --
>
> roy at panix.com
>
> --
> [ Drupal support list | http://lists.drupal.org/ ]
>


More information about the support mailing list