I have trouble changing the image sizes in the settings. I change the pixel dimensions of thumbnails and previews, and it seems fine at first. The new values are shown after I submit the form. But when i load the settings page again the values are reset to the defaults, and new images also use the default sizes. The same thing happens when I try to add a third image size.

No error messages are shown.

I'm running PostgreSQL, maybe it's a compatibility issue. Details:

Drupal CVS, Oct 27 2005
image.module CVS, Oct 27 2005
PostgreSQL 7.5.11
PHP 4.3.10
Apache 2.0.54

CommentFileSizeAuthor
#1 image-sizes.patch1.47 KBasimmonds

Comments

asimmonds’s picture

Status: Active » Needs review
StatusFileSize
new1.47 KB

This patch should do it, moving the form #tree up one level in the form array.

zoo33’s picture

Yes, that works beautifully. Thanks!

Ready to be committed?

asimmonds’s picture

Status: Needs review » Active

The tree property bug in the form api (http://drupal.org/node/35630) is the problem here, so there is nothing wrong with the image.module. I've tested image.module settings with and without the #35360 patch and that patch fixes the problem.

So switching back to active until #35360 is committed.

asimmonds’s picture

Status: Active » Fixed

#35630 has been committed to HEAD, so marking this issue as fixed

zoo33’s picture

I can confirm that the problem is gone in current CVS.

Anonymous’s picture

Status: Fixed » Closed (fixed)