- clear all your caches when you upgrade to this version.
- if you have customized any of the default views, subsequent changes in code will not show in the view.
Check the troubleshooting guide if you have problems, and also search the issue queue.
If you are updating from a previous alpha or beta, please note the following:
- If you previously installed alphas or betas, you should clear all your caches after installing this new version, including the theme registry and the Views cache.
- If you previously installed alphas or betas, you will get errors like this on update. They are harmless and may be ignored:
Failed: ALTER TABLE {image} DROP PRIMARY KEY
Failed: ALTER TABLE {image} DROP INDEX image_fid
Failed: ALTER TABLE {image_attach} DROP PRIMARY KEY
- You should rebuild all your image derivatives immediately prior to updating: this should prevent this update error: #583076: Error on Database Updates for 6100 when upgrading to Beta3: 'duplicate entry' for primary key.
- If you previously installed alphas or betas, you should clear all your caches after installing this new version, including the theme registry and the Views cache.
- If you previously installed alphas or betas, you will get errors like this on update. They are harmless and may be ignored:
Failed: ALTER TABLE {image} DROP PRIMARY KEY
Failed: ALTER TABLE {image} DROP INDEX image_fid
Failed: ALTER TABLE {image_attach} DROP PRIMARY KEY
Failed: ALTER TABLE {image_attach} DROP INDEX iid
- The alt text in the Views image field when formatted as a link contains bad HTML. This is fixed in the latest Views dev: see http://drupal.org/node/489888.
- If you installed ALPHA 5 or 6 and the Attached images block is still not showing, see http://drupal.org/node/561686#comment-2007790 for a fix.
- If you have created views with the Attached images field prior to BETA 2, you will need to remove it and re-add the new field for multiple images.
- image attach has new permissions as of BETA 2. You will need to assign these to your roles.
- If you previously installed alphas or betas, you should clear all your caches after installing this new version.
- If you previously installed alphas or betas, you will get errors like this on update. They are harmless and may be ignored:
Failed: ALTER TABLE {image} DROP PRIMARY KEY
Failed: ALTER TABLE {image} DROP INDEX image_fid
Failed: ALTER TABLE {image_attach} DROP PRIMARY KEY
Failed: ALTER TABLE {image_attach} DROP INDEX iid
- The alt text in the Views image field when formatted as a link contains bad HTML. This is fixed in the latest Views dev: see http://drupal.org/node/489888.
- If you installed alpha 5 or 6 and the Attached images block is still not showing, see http://drupal.org/node/561686#comment-2007790 for a fix.
- If you have created views with the Attached images field, you will need to remove it and re-add the new field for multiple images.
- image attach has new permissions. You will need to assign these to your roles.
Changes since last release:
#564488 by joachim: Fixed missing variables in Views image gallery template.
#72579 by David Stosik: Added more granular permissions to image attach, and
fixed attaching images when 'Attach existing images' is disabled.
#445074 by joachim: Added a theme function for the attached images block.
Upgrade notes:
If you previously upgraded to alpha 6 and use a database table prefix, image_attach update 6101 will have produced an error.
See #561686: alpha5 -> alpha6 database update 6101 error for more details.
If you're upgrading from the 5.x-1.2 version of image module you need follow this set instructions when upgrading to this release. If you've already followed these instructions once, just update.php as you normally would.
Make a backup of your files and database before beginning.
Use the Site maintenance setting (admin/settings/site-maintenance) to take your site off-line.
Update the module files.
Run the update.php script. To prevent the possible loss of image files, it is important that you do this before viewing any image nodes.
Image
#124751 Adding a rebuild thumbnails node operation to the dropdown on admin/content/node.
#129673 vhmauery's patch "Only rebuild derivatives if the original changes"
#131589 Duplicate filename now generating thumbnail/preview.
#133127 joachim's suggestion to change the image CSS class to avoid conflicting with the Garland theme.
#117460 Jax's patch to add a 'edit images' permission to bring us in line with core's model.