Hi,

I think I'm having a problem with photos module. I installed, configured all the requirements for this module already. I created a new album and uploaded images using the photos_swfu. I successfully uploaded the images but when I went to the view the album using the "Album View" it says, "Album is Empty" and to verify why I'm getting that error, I click again the "Image Management" and to found out I have a X number of images but it doesn't display and it says queues empty.

Anything wrong?

Comments

fortuneNext’s picture

Version: 6.x-2.0-beta3 » 6.x-2.6-beta3
Assigned: Unassigned » fortuneNext
Category: support » bug
Priority: Normal » Critical

Same error here!

fortuneNext’s picture

Assigned: fortuneNext » Unassigned
Category: bug » feature

Ok i just solved the problem, and I see a very sucking mistake in this module!

The problem was: I as admin created the album, then I set the author to another user. The problem now is at the Image Management page: There is this box "Move to another album" - There is shown "No Album created" when the author of the album is another. So you have "No Album" default in there, and you now click to "Accept Changes" and move all images to nowhere.
Its a bug that as admin you can just see your own albums in this box!

nathaniel’s picture

Version: 6.x-2.6-beta3 » 7.x-3.x-dev
Component: User interface » Code
Priority: Critical » Normal

Possible fix:

Use hook_node_presave($node)

<?php
function photos_node_presave($node) {
  if ($node->type == 'photos') {
    if (isset($node->original) && $node->original->uid <> $node->uid) {
      // @todo update {file_managed}.uid?
    }
  }
}
?>
nathaniel’s picture

Status: Active » Closed (fixed)

Also see:
#423300: add a tab that shows "upload is completed" and "view photos" or something

Please re open or create a new issue if there is still a problem with the latest release.