Page MenuHomePhabricator

Image gallery within Wikipedia Preview
Closed, ResolvedPublic

Description

Goal

Support multiple images showing within the Wikipedia Preview card after a reader swipes up to see more

Interactions

  • When a reader swipes up, they can see multiple images from an article in a gallery view
  • They can view each image independently
  • Images are a gallery of pictures from the article which is being previewed
  • Gallery does not include video and audio content
  • If an article does not have images, no image gallery options will show

Proposed Design

Normal PreviewExpanded PreviewImage view
01. Gallery view.png (700×720 px, 134 KB)
02. Jallikattu Copy 5.png (1×720 px, 454 KB)
03. Wiki Preview expanded view.png (1×720 px, 900 KB)
zeplin

https://app.zeplin.io/project/5edf645eef92dfb2dc2f8ce8/dashboard?seid=5edf689651555bb33c3223ec

Interaction details

  1. Users can perform horizontal scroll to view the entire gallery.
  2. Users can select any of the images to view them in full-screen mode.
  3. Users can also view the entire gallery by tapping on the left/right arrow from image window.
  4. Tapping on close icon on expanded preview or normal preview will close the entire preview whereas tapping the close icon on image window will only close the image and control return back to the expanded preview.

Event Timeline

hueitan moved this task from Dev to Ready for Dev on the Inuka-Team (Kanban) board.
hueitan subscribed.

@SGautam_WMF I updated the task description with some additional asks.

  • Gallery does not include video and audio content
  • If an article does not have images, no image gallery at the bottom of the expanded view will show.
AMuigai renamed this task from Image galleries within Wikipedia Preview to Image gallery within Wikipedia Preview.Jun 30 2020, 7:30 PM
hueitan moved this task from Dev to Ready for Dev on the Inuka-Team (Kanban) board.

Draft PR, not ready yet PR ready: https://github.com/wikimedia/wikipedia-preview/pull/21

Branch name: T250799-gallery

@SGautam_WMF

When a reader swipes up, they can see multiple images from an article in a gallery view

  • should we make the "continue reading" disappear when we swipe up? Meaning, if the user swipes up after he tapped the word, should the swipe action have the same result as the tap on "continue reading"?

In terms of UX, the tap on word + tap on "continue reading" + swipe up seems a bit weird, we could skip the second step altogether in case of a swipe up.

They can view each image independently

Should the user be allowed to swipe left and right on the gallery to flip image?
Should the tap on the main image on the top bar bring up the gallery?

@SGautam_WMF

When a reader swipes up, they can see multiple images from an article in a gallery view

  • should we make the "continue reading" disappear when we swipe up? Meaning, if the user swipes up after he tapped the word, should the swipe action have the same result as the tap on "continue reading"?

As of now, we don't have the swipe up gesture active on preview, however, we have been thinking to include it. When swipe up is available, then yes we disappear "continue reading" while the user is performing swipe up gesture.

In terms of UX, the tap on word + tap on "continue reading" + swipe up seems a bit weird, we could skip the second step altogether in case of a swipe up.

Are you suggesting to remove the "Continue Reading" CTA and using the swipe up to read more preview text? If so, I think it's still better to keep CTA as the gradient rectangle(blur) at the end of text might not be a strong communicator of swiping up.

They can view each image independently

Should the user be allowed to swipe left and right on the gallery to flip image?

Yes, I have asked Eduardo about it and it's a good supportive gesture to have along with left and right arrows.

Should the tap on the main image on the top bar bring up the gallery?

Are you referring to Thumbnail? If so, as of now it's not tappable, however, we might consider making it tappable to open it in full-screen mode. We are discussing with the legal team about image licensing and they have suggested making it a link to open it full-screen mode with proper licensing.

Are you suggesting to remove the "Continue Reading" CTA

No, keep both swipe and tap.

Are you referring to Thumbnail?

yes

Are you suggesting to remove the "Continue Reading" CTA

No, keep both swipe and tap.

cool.

Are you referring to Thumbnail?

yes

Ok, we will decide based on image licensing feedback.

this is tested but not merged.
feel free to merge when u (devs) think is ready.
if there are more commits I'll need to test it again

@eamedina sharing my observations. Happy to have a call to discuss them in more detail.

01. A blue rectangle appears every time while tapping on a forward/backward arrow inside the media viewer. This could be a device-specific thing as I did see this behavior on Samsung A50 but not on my other android device.

02. Portrait images are appearing blur, it does look good on the Wikipedia mobile web and android app on the same Wifi network.

On wikipedia previewOn mobile web
Screenshot_20200728-133204_Chrome.jpg (2×1 px, 115 KB)
Screenshot_20200728-133234_Chrome.jpg (2×1 px, 209 KB)

03. As discussed in one of our catchups, I think we need to decide the maximum area of display for e.g. check above the mobile web image and how it has left space to accommodate licensing information. As we do this, I would also recommend moving the close icon on the right top side, as of now it's position is kind of looking off.

04. Sizes of gallery items are smaller(65x62) than what we mentioned in design specs(100,80), is there any challenge to use them as per the suggested size?

In my opinion, a following ticket to take care of all the above points including some other minor enhancements like enabling gesture support or position of forward/backward arrows would be a good step.

SBisson subscribed.

Bringing back to dev while the follow-ups are being worked on.

All the above points have been addressed except 3(to define max area of display) which will do as part of image licensing.