Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
After mass upload of the pictures from directories users started to see notification messages like below. I wonder how can i hide them from users. I already set error messages not to display on the screen, but since these are not error, but notifications, they are still displaying. Which for ordinary users looks like an annoying bug.
* gus2's thumbnail derivative image had a timestamp (Wed, 04/02/2008 - 06:04) that predates the last changes to the image size settings (Wed, 04/02/2008 - 22:22). The derivatives will be rebuilt to regenerate it.
* gus2's preview derivative image had a timestamp (Wed, 04/02/2008 - 06:04) that predates the last changes to the image size settings (Wed, 04/02/2008 - 22:22). The derivatives will be rebuilt to regenerate it.
* The derivative images for gus2 have been regenerated.
* me2's thumbnail derivative image had a timestamp (Wed, 04/02/2008 - 06:04) that predates the last changes to the image size settings (Wed, 04/02/2008 - 22:22). The derivatives will be rebuilt to regenerate it.
* me2's preview derivative image had a timestamp (Wed, 04/02/2008 - 06:04) that predates the last changes to the image size settings (Wed, 04/02/2008 - 22:22). The derivatives will be rebuilt to regenerate it.
* The derivative images for me2 have been regenerated.
* paintball10.2100's thumbnail derivative image had a timestamp (Wed, 04/02/2008 - 06:04) that predates the last changes to the image size settings (Wed, 04/02/2008 - 22:22). The derivatives will be rebuilt to regenerate it.
* paintball10.2100's preview derivative image had a timestamp (Wed, 04/02/2008 - 06:04) that predates the last changes to the image size settings (Wed, 04/02/2008 - 22:22). The derivatives will be rebuilt to regenerate it.
* The derivative images for paintball10.2100 have been regenerated.
* Zvezdochet's thumbnail derivative image had a timestamp (Wed, 04/02/2008 - 06:04) that predates the last changes to the image size settings (Wed, 04/02/2008 - 22:22). The derivatives will be rebuilt to regenerate it.
* Zvezdochet's preview derivative image had a timestamp (Wed, 04/02/2008 - 06:04) that predates the last changes to the image size settings (Wed, 04/02/2008 - 22:22). The derivatives will be rebuilt to regenerate it.
* The derivative images for Zvezdochet have been regenerated.
* Priz_1_mesto's thumbnail derivative image had a timestamp (Wed, 04/02/2008 - 06:04) that predates the last changes to the image size settings (Wed, 04/02/2008 - 22:22). The derivatives will be rebuilt to regenerate it.
* Priz_1_mesto's preview derivative image had a timestamp (Wed, 04/02/2008 - 06:04) that predates the last changes to the image size settings (Wed, 04/02/2008 - 22:22). The derivatives will be rebuilt to regenerate it.
* The derivative images for Priz_1_mesto have been regenerated.
* Red_Stars's thumbnail derivative image had a timestamp (Wed, 04/02/2008 - 06:04) that predates the last changes to the image size settings (Wed, 04/02/2008 - 22:22). The derivatives will be rebuilt to regenerate it.
* Red_Stars's preview derivative image had a timestamp (Wed, 04/02/2008 - 06:04) that predates the last changes to the image size settings (Wed, 04/02/2008 - 22:22). The derivatives will be rebuilt to regenerate it.
* The derivative images for Red_Stars have been regenerated.
* IMG_2677's thumbnail derivative image had a timestamp (Wed, 04/02/2008 - 06:12) that predates the last changes to the image size settings (Wed, 04/02/2008 - 22:22). The derivatives will be rebuilt to regenerate it.
* IMG_2677's preview derivative image had a timestamp (Wed, 04/02/2008 - 06:12) that predates the last changes to the image size settings (Wed, 04/02/2008 - 22:22). The derivatives will be rebuilt to regenerate it.
* The derivative images for IMG_2677 have been regenerated.
Comment | File | Size | Author |
---|---|---|---|
#7 | image.patch | 2.45 KB | AltaVida |
Comments
Comment #1
drewish CreditAttribution: drewish commentedwhat do you mean by users? visitors won't see them... only the person creating the images and in the case of a mass import from image_import that'd be and admin by definition right?
Comment #2
yngens CreditAttribution: yngens commentedi meant registered users. not only admin, but registered users were seeing these notifications. but not anymore. i think it took couple of days for all the old images to recreate thumbnails and that kind of notifications appear less and less frequently. anyway, this was not as crucial as i thought it is in the beginning. so may i just change the status to "by design"?
Comment #3
mcherel CreditAttribution: mcherel commentedI am having the same issue. I think the only reason the messages disappeared after a few days was that all of the thumbnails etc had been rebuilt.
Is there any way to do a batch rebuilt of thumbnails/previews? Or a way to hide the messages from users other than the Admin?
Thx
Comment #4
annalina614 CreditAttribution: annalina614 commentedI'm having the same problem only everyone can see it regardless of whether they are logged in.
Any advice?
Comment #5
prestonso CreditAttribution: prestonso commentedYou could feasibly hide those notifications using CSS with
display: none
, if they're that bothersome and if they have appropriate ids or classes.Comment #6
AltaVida CreditAttribution: AltaVida commentedSame thing here.
The CSS hiding technique is not really acceptable (because you would hide *all* notifications).
There is no reason why a user should see these messages. They should probably just go to the watchdog (except maybe if the user is admin, but even then it's not critical information so it's kind of un-necessary).
Comment #7
AltaVida CreditAttribution: AltaVida commentedHere's a patch.
Only the user with update permissions for the image node(s) being regenerated will now see the messages.
(IMHO, the messages aren't all that necessary anyhow, and should probably just go to the watchdog).
Comment #8
drewish CreditAttribution: drewish commentedlooks good to me. comitted to HEAD.
Comment #9
Anonymous (not verified) CreditAttribution: Anonymous commentedAutomatically closed -- issue fixed for two weeks with no activity.
Comment #10
Problue Solutionsany idea how to make no user see these messages at all (not even the user who created the images)?
Comment #11
Problue Solutionssorry forgot to make issue active again
Comment #12
sun@thiokol: Yes, use the issue queue search.