[support] Thumbnail resolution for CCK field
Craig Gardner
craig.s.gardner at gmail.com
Thu Aug 20 19:30:15 UTC 2009
Assuming you're using Drupal 6, you may want to use a pre-process
function to remove the title from the image field if the node is a
teaser and imagecache to scale the image to the proper resolution.
The following links will get you started.
http://drupal.org/node/223430
http://drupal.org/node/337022
On Thu, Aug 20, 2009 at 11:52 AM, Scott<scott at bscottholmes.com> wrote:
> I had been playing with imagecache earlier but had uninstalled it. I
> have two problems with it for this purpose: I'm required to use the
> teaser display to generate the scaled image. I don't want this field in
> the teaser. Even if I allow the image to show up in the teaser, the
> field title is included. I can find no way to hide the title string.
>
> On Thu, 2009-08-20 at 14:40 +0800, Alexander Arul wrote:
>> imagecache module?
>>
>> Cheers
>> Alex
>>
>> On Thu, Aug 20, 2009 at 2:24 PM, Scott <scott at bscottholmes.com> wrote:
>> I would like to know where and how to set the resolution of
>> the
>> thumbnail that is generated at the time of uploading an
>> image. The
>> image populates a CCK file field using the image widget. I
>> would like
>> to be able to set different resolutions for different fields
>> within the
>> content type. The particular case I'm working on is a
>> letterhead field
>> that contains an image. I have a separate theme for
>> presentation on
>> handhelds and mobile phones. I would like to use the
>> thumbnail on those
>> pages but the default resolution is too small. I'd rather not
>> send the
>> full image file to a phone nor calculate resizing values for
>> speed
>> reasons.
>>
>> Thanks, Scott
>>
>>
>> --
>> [ Drupal support list | http://lists.drupal.org/ ]
>>
>> --
>> [ Drupal support list | http://lists.drupal.org/ ]
>
> --
> [ Drupal support list | http://lists.drupal.org/ ]
>
More information about the support
mailing list