Could someone please tell me how I apply this patch:-

http://drupal.org/node/196823

Has some/all of the code has got to be inserted into the image.module file, if so in any particular place, or has a section of the original file got to be changed.

Sorry if this is basic.

Comments

grakhul’s picture

I am sure that it entails. Backing up everything. Overwriting the old files and or directories with the new files and or directories that are included in the patch. Done.

Josie_h’s picture

I thought it was just PHP code to insert/modify in the image.module file!. This patch doesn't seem to have any new files/directories... or am I missing something here?

Steve Halleman’s picture

Check out the release notes for the latest build of image module. http://drupal.org/node/358084. This patch is in there. If you upgrade to the latest release the patch should be included.

The steps I follow are:

1. Backup the site
2. Put it in maintenance mode
3. Disable the module
4. Remove the old module from the file system
5. wget the module into the sites/all/modules directory
6. untar the module
7. enable the module
8. run update.php
9. test it
10. take off maintenance mode

Steve Halleman

Josie_h’s picture

Hi Steve, thanks for the info, but I already have the latest (6.x-1-0-alpha4) image.module installed. I know this module update was a recent release, but looking at the patch this might be even newer.

Please tell me if I'm getting this all wrong!

Josie_h’s picture

Been looking at the latest image.module and the patch mentioned in the link. It does appear that the patch post dates the update, so any advice on how to install it would be welcomed.

Thanks.