monument_image.module currently uses hook_form_alter to insert additional fields into image.module when images are being added or edited etc. This permits additional data relevant to a monument image, such as compass bearing, associated monument ID etc to be recorded. hook_nodeapi is also used.

The problem is - now of course every image becomes modified in this way. There must be a way of reverting back to just a normal image when required, but I am not sure how to proceed.

Only idea so far involves putting something else in here (function monument_image_form_alter):

if ($just_do_normal_image||!isset($form['type']) || $form['type']['#value']!='image') {
    return;

Any ideas welcome as this is a show stopper really.

Comments

grunthus’s picture

Status: Active » Fixed

Fixed in HEAD

Anonymous’s picture

Status: Fixed » Closed (fixed)