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.

CommentFileSizeAuthor
#7 image.patch2.45 KBAltaVida
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

drewish’s picture

what 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?

yngens’s picture

Status: Active » Closed (works as designed)

i 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"?

mcherel’s picture

Status: Closed (works as designed) » Active

I 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

annalina614’s picture

I'm having the same problem only everyone can see it regardless of whether they are logged in.
Any advice?

prestonso’s picture

You could feasibly hide those notifications using CSS with display: none, if they're that bothersome and if they have appropriate ids or classes.

AltaVida’s picture

Category: support » bug

Same 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).

AltaVida’s picture

Version: 6.x-1.x-dev » 6.x-1.0-alpha3
Status: Active » Needs review
FileSize
2.45 KB

Here'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).

drewish’s picture

Title: How to hid notification messages from users? » Hide rebuild notification messages from users
Status: Needs review » Fixed

looks good to me. comitted to HEAD.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.

Problue Solutions’s picture

any idea how to make no user see these messages at all (not even the user who created the images)?

Problue Solutions’s picture

Status: Closed (fixed) » Active

sorry forgot to make issue active again

sun’s picture

Status: Active » Closed (fixed)

@thiokol: Yes, use the issue queue search.