The imageapi_gd module has a settings form that is never displayed. When setting the jpeg quality it's the form generated by image_gd_settings() (in includes/image.gd.inc) that is displayed. This saves the jpeg quality level in image_jpeg_quality. Since the variable imageapi_jpeq_quality is never saved the default value is always used when saving an image.

I've removed the references to the imageapi_jpeq_quality variable and now use image_jpeg_quality.

CommentFileSizeAuthor
imageapi.patch1.91 KBjax

Comments

jax’s picture

Status: Active » Needs review

Patch was attached for review.

jax’s picture

Status: Needs review » Needs work

When submitting the modules page it now complains: ImageAPI toolkit missing settings form. This needs more investigating.

xalexas’s picture

I've noticed this also. Instead of removing variable refererence I have changed to desired quality directly in includes/image.gd.inc. The default 75% quality is horrible with it's blurry images.

drewish’s picture

Status: Needs work » Closed (won't fix)

At least in the current versions the settings form is used. I'd prefer to have separate settings from core.