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.
Problem/Motivation
As a AN I want to have a Albums so I can view all media items in one place.
Steps to reproduce
- Install the "Social Album" module.
- When you log in as "Test User" and open the user menu then you should see the "My albums" item.
- When you click on that menu item then you should be redirected to the "Albums" tab of the user profile page.
- You should see the "Create new album" button but when you navigate to the same tab on the profile page of another user then you shouldn't see this button.
- When you open the home page or the user stream page and add at least one image to the post creation form then you should see the "Add image(s) to an album" field which appears in this form.
- When you select the "Create new album" item then you should see the "Album name" field.
- When you fill "My first album" in the "Album name" and add some text to the post text field and press "Post" then you should see "Images posted in album My first album" in the teaser of the created post.
- When you open the "My albums" page from the user menu then you should see a tile teaser for the "My first album" album.
- You should see the first post image in the teaser.
- When you click on the image or album name or the "View album" link then you should be redirected to the album node overview page.
- You should see the "Test User's Albums" link over the page title in the hero section.
- You should see the number of images and the "Add images" button between the hero section and the content section.
- You should see all images from the created post in the content section.
- You should see the votes widget in the main content section and you should see the comment section under the content section.
- When you click "Test User's Albums" then you should be redirected to the "Albums" page.
- When you log in as SM and navigate to the "Configuration >Open Social Settings" page from the administrative menu then you should see the "Album settings" link.
- When you click "Album settings" then you should be on the settings page and you should see the "Active" checkbox.
- Uncheck the "Active" checkbox and press "Save configuration".
- When you back to the home page and open the user menu then you shouldn't see the "My albums" item.
Proposed resolution
-
It should be possible to place images in albums
- Only the creator of the Album can upload images to the album
-
AN can open the images and it will show in a lightbox
- should be possible to click through all images of the album
- the post on the right should change appropriately
- should be possible to see and add comments there
- when adding a comment it should not reload
-
Pictures can be removed by the creator of the album
- Creator can remove the picture from the post
- Creator can delete the whole post
- Creator can remove the image from the album
- CM+ can also delete those images (as in deleting a whole post )
- If user should delete the last image the album stays
- The Album should have a default image if no image is uploaded
-
Pictures can be placed in albums via
- A post on a stream
-
The album itself
- If placed via the album directly it should be still a post (with description and the possibility to comment)
- An activity item is created for that
-
Albums should contain
- Title
- Visibility
- Creator
- Creation date
- Referenced images from posts
- number of images (on the teaser and detail page
- add image button
- navigational element to go back to the Album overview
-
There should be an overview page for all Albums of one user
- should be a separate tab on a profile
- each album should have a teaser
- The album should be a new content type
- SM can enable and disable the tab
- should be a new module: social_album
User interface changes
- Add a link to an album in the post teaser and post image pop-up when the post is linked to the album.
- Add the "My albums" item to the user menu.
- Add the "Albums" tab on the user profile page.
Comment | File | Size | Author |
---|---|---|---|
#12 | os10-post-update-errors-stream-overlap.jpg | 99.8 KB | bas123 |
#7 | os-photo-album-format.jpg | 124.54 KB | bas123 |
Comments
Comment #2
lexhoukPR work in progress here: https://github.com/goalgorilla/open_social/pull/1995
Comment #3
bas123 CreditAttribution: bas123 as a volunteer and commentedI would like to expand on this concept to the extent that there can be a Community Album with all or at leasts many of the attributes described above!
The contributor (and Admins) would have access control to any images that they contribute to the Album.
I have attempted to create a new Content Type for this purpose but need to dig further into how to do so without the content type taking on all of the attributes associated with Open Social such as Group participation. The placeholder for said community Album ned not have Events and all of the taxonomy associated with Topics.
Perhaps as the development of this proposal proceeds, this too can be integrated...
Comment #4
lexhoukComment #5
lexhoukComment #6
ribelAll album related PRs were merged into one:
https://github.com/goalgorilla/open_social/pull/1989
Comment #7
bas123 CreditAttribution: bas123 as a volunteer and commentedI would like to suggest this type of formatting for Activity Streams as utilized on Facebook:
Comment #8
ronaldtebrake CreditAttribution: ronaldtebrake as a volunteer and at Open Social for Open Social commentedWill be in 10.0.0
Comment #9
ronaldtebrake CreditAttribution: ronaldtebrake as a volunteer and at Open Social for Open Social commentedComment #12
bas123 CreditAttribution: bas123 as a volunteer and commentedSee below #13
Comment #13
bas123 CreditAttribution: bas123 as a volunteer and commentedCongratulations to all who contributed to this wonderful new (and needed) feature!
However having updated from social-8.x-9.8 to social-10.0.0, I must report the following with reference to the Album feature version that accompanied that update.
First and foremost, in all browsers, their is a dialogue box covering the bottom Post comment box on each of the streams.
I have no idea what purpose this serves nor why it appears here!
Revised: I have determined that the overlapping element pictured in the screenshot occurred following my enabling of the Social Album (Experimental) Content type. Which after realizing that it crashed once a node was saved, I uninstalled, thus leaving this behind on all Streams.
Note: I attempted to re-enable the module to see if that might resolve the issue, but it wouldn't do so citing:
---------------------
Secondly, as I am sure you are aware, the Album Content type (when enabled), and then an Album is created crashes upon saving, plus has no input field for adding images! Perhaps there is some step I have missed?
Additional opinion: Respectfully, the Post comments should remain in the stream to discuss the Album in general (as it is assumed to be thematic), but not in the lightbox as each of the images should have their own comments/discussions. Having the Album's discussions carry over into the lightbox slides is a redundancy, IMHO!