Whenever I upload an image using a CCK image field, it always gets "resized to fit within the maximum allowed resolution of 150x150 pixels" no matter what the imagecache preset is set to or what the File Uploads settings (/admin/settings/uploads) is set to?
I DID initially have an imagecache preset for thumbnails to be scaled and cropped to 150x150 so I'm wondering if that setting is left in the database somewhere?
I'm on Drupal 5 with the latest drupal 5 versions of all the relevant modules: imagecache, cck, views, imageAPI...etc. and using the GD image toolkit.
I'm about to pull all my hair out at this point. Any help would be much appreciated!
oh, and I've already tried flushing the imagecache presets and clearing the drupal cache.
Comments
Ok, so I managed to access
Ok, so I managed to access the mysql database and found that the table node_field_instance has a widget_settings for the filed_image that says something like
a:7:{s:14:"max_resolution";s:7:"150x150";s:12:"max...Is this the issue? Do I need to clear this table?
I just edited the
I just edited the widget_settings column to say 500x500 instead of 150x150 but it still had no effect.
actually, clearing the drupal
actually, clearing the drupal cache after editng the widget_settings column manually DID make it work. Although, I'm still having issues where the changes made to the imagecache preset is not being reflected (as in the older setting is still being applied) even after flushing the preset and clearing the drupal cache.
to be more specific, I
to be more specific, I re-edited the 500x500 value to say 0 and it no longer says the "resized to maximum resolution" message when I upload an image but the image still shows up as 500x500 even though I have edited the imagecache preset of Scale to 500x500 to just having the width be 500 and the height being blank.