Closed (won't fix)
Project:
Image
Version:
6.x-1.x-dev
Component:
image.module
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
6 Sep 2008 at 05:29 UTC
Updated:
22 Sep 2011 at 14:56 UTC
Jump to comment: Most recent file
Comments
Comment #1
jotarp commentedworks great !. Thanks.
Comment #2
MGN commentedWith the patch, the links to select the image size ( image_link() ) no longer work - the image is always the size set on the content-type page. Thus this patch breaks normal functionality and needs work.
Also, in the copy-and-paste from the image_attach code it looks like you forgot to edit the description to omit the sentence:
'Hidden' will not show the image.That is not one of the options and wouldn't make sense for the image content type.Comment #3
naheemsays commentedUpdated patch fixing the mentioned issues:
You can select the sizes on the page, and also set default sizes per content type. The text about choosing hidden has also been removed.
Comment #4
sunImage module will soon be a simple wrapper around ImageField providing a content-type. Since ImageFields, resp. CCK, already allow to configure the output for various node build modes, I'm marking this won't fix.
Comment #5
kaakuu commentedThere are many users who use this module and will still be using as Drupal five and six for unforeseen long times. Imagefield has CCK dependency and other dependencies perhaps and all users may not need to actively use or install CCK.
Comment #6
naheemsays commentedSince writing this patch, I have moved to a different approach that let me unhack image.module - theme overrides.
In my theme's template.php I added:
And that changes the image size from thumbnail to preview - just replace IMAGE_PREVIEW with whatever you want.
Comment #7
jiakomo commentednbz,
your last post helped me a lot
Thanks :)