Uploading of a photo with attributes

Dear friends, I need to enable of photo uploading by unprivileged user all the photos into one album with attributes. Did anybody of you have the same task? I assume, I need to add additional code to the procedure of submitting? Additionally I need to see these attributes when approving contributions. Thank you!

Comments

  • acrylian Administrator, Developer
    If you mean with "unprivileged" a user without upload or manage rights for the specific album of course not. How insecure would it be to let anyone upload? You really don't want to allow that. You might want to review the user guide article about user rights.

    Btw, I don't exactly understand what you mean with "attributes" actually. Please clarify.
  • Sorry, I have to explain. I mean, not administer, but a user with the right to upload. Under attributes, I mean, the possibility to add the title, place, some description to the photo immediately on the window where I am pushing the upload button.
  • fretzl Administrator, Developer
    Sorry, that is not possible.

    Every registered user can be assigned to their own album and have rights to edit the uploaded images.
    That way they can add title, description, etc. on the backend.

    The other possibility is to have your users fill in the appropriate metadata fields (embedded in the image) before uploading. That information will be automatically used upon discovery of the images.
  • @fretzi: Thank you for the explanation. Yesterday I tried to play with uploading albums and images, and discovered that the best way is to upload all images into 1 album. But in this case a user cannot get access to one's photos and put the attribute :( What could you suggest?
  • acrylian Administrator, Developer
    Again, to edit an image that person needs a user account with edit rights to that album. Please review the user guide entry on user rights.
  • fretzl Administrator, Developer
    So you want all users to only have upload rights for one and the same album (no manage rights) ?

    Then the only way to display "attributes" is to have your users fill in the appropriate metadata fields (embedded in the image) before uploading.
  • Hmmm, is it possible to define the right to manage not the whole album (yes, it will be the same for all users), but the images in that album depending on the user?

    I mean, if a user A has uploaded to the folder "Images" some image a1, and after user B has uploaded some images b1, b2, can they add the attributes only to their images: a1 and b1,b2 respectively?

    Sorry for some, maybe stupid questions, but there's a task for me to do and I see that some information I am missing...
  • @sbillard: thank you, but I didn't find any information there, whether it is possible to edit an image in the folder, to which I can only upload. Obviously I cannot see the contents of that folder.
  • One more relatively related issue, on a front-end only admin user can change the title of the image, but not the owner of it (a person who submitted it)...
  • acrylian Administrator, Developer
    1) rights can only be assigned to top level albums, not sub albums or individual images. Which is documented on the article linked.

    2) So you are using the ajax front end editing plugin? As you surely noticed the front end editing is an unsupported plugin because of possible security problems (as noted on the page where you downloaded it). Of course to it the same rights apply as noted above.
Sign In or Register to comment.