Closed (won't fix)
Project:
Image
Version:
6.x-1.0-alpha1
Component:
image.module
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
6 Jun 2008 at 13:01 UTC
Updated:
21 Dec 2010 at 00:55 UTC
Jump to comment: Most recent file
Comments
Comment #1
paul.lovvik commentedI have created a patch that implements these checks using hook_requirements().
Comment #2
drewish commentedvery cool! anyone have a chance to review this?
Comment #3
drewish commentedlooks pretty good.
hook_requirements phpdoc comments aren't really necessary. usually you just say:
I joined some of the short lines... I used to be strict about wrapping at 80 chars but since most Drupal code doesn't I try to stick with the existing code. For the image module I only wrap comments at 80 chars.
Re-ordered some of the im_advanced code so that errors are returned then warning/okay.
Comment #4
paul.lovvik commentedThis patch looks great! Thank you for the careful look and rework.
Comment #5
paul.lovvik commentedThe patch in #3 is missing the modifications to the image_im_advanced module. This new patch includes the image_im_advanced modification.
Comment #6
paul.lovvik commentedChanged "else if" -> "elseif".
Comment #7
sunAll of those requirements except image_im_advanced_requirements() add nothing but cruft to the system status report. Please remove the other.
That said, shouldn't Image module check for availability of ImageMagick when it's configured to use it? (instead of image_im_advanced?)
Comment #8
sunThis was a nice idea, but it's not going to happen anymore.