Skip to content
This repository has been archived by the owner on Oct 11, 2020. It is now read-only.

Album support #12

Open
IpsmLorem opened this issue Jul 12, 2014 · 6 comments
Open

Album support #12

IpsmLorem opened this issue Jul 12, 2014 · 6 comments

Comments

@IpsmLorem
Copy link

It would be neat to have album (photo grouping) support.

As a user
I can upload several pictures, in several times if needed
I order to have a unique URL to share and access the whole album

@komachi
Copy link
Member

komachi commented Jul 13, 2014

Nice idea, I'll add that later.

@IpsmLorem
Copy link
Author

To make things easier to implement, maybe consider a picture as a single picture album. Then everything is an album with a unique URL.
Maybe only the creator of the album may add pictures later. When creating an album a token is stored in the localstorage to authenticate the author and let him add pictures of change the lifetime.

@komachi
Copy link
Member

komachi commented Jul 13, 2014

It's not possible that way. Links must contain password for each picture, format is /#/id!pass. So albums probably will be like /#/id1!pass1/id2!pass2/id3!pass3/... or maybe something else, that way you can make albums with any pictures you want, even if you are not uploader. I'll think about it.

@IpsmLorem
Copy link
Author

Maybe like https://img.bi/#/[picId]![Password] for a single picture and https://img.bi/#/a/[albumId]![wholeAlbumPassword] for album.
Maybe only the autor could add pictures later (similar system used to authenticate the remove command by rmpass in sessionStorage)

@komachi
Copy link
Member

komachi commented Jul 23, 2014

Password used for encryption and decryption, that way you'll need re-encrypt all pictures and upload them again if you want to add something to album. Rmpass used for authentication for removing a cipher text from server, it has no deal with the picture itself.

@IpsmLorem
Copy link
Author

Rmpass (or similare system) could be used to authenticate not only a removal but an update too.
What about adding new pictures with the same key than previous pics in the album ? You will not have to re-encrypt all past pic then.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants