Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide a over-the-image (Facebook-like) caption mode #530

Open
teo1978 opened this issue Jul 2, 2016 · 1 comment
Open

Provide a over-the-image (Facebook-like) caption mode #530

teo1978 opened this issue Jul 2, 2016 · 1 comment

Comments

@teo1978
Copy link

teo1978 commented Jul 2, 2016

This is a feature request.

It would be nice to have an alternative mode for displaying captions. Of course this would be optional, one could choose between this and the current mode which is perfect in many cases.

This mode would work just like Facebook photo captions. Instead of displaying the caption below the image, taking screen space and forcing the image to be smaller, the image would occupy all the space that it can, and the caption would be displayed on top of the image (by on top I mean in a z-index sense), at the bottom. Of course there must be a way to hide it.

I would suggest to just mimic Facebook's behavior, which is perfect. It's more or less like this:
On desktop:

  • the caption is visible at first when the image is displayed
  • the caption disappears on rollout and reappears on rollover

On mobile:

  • the caption is visible at first
  • at each tap, it toggles (it shows if it was hidden and it hides if it was visible).

Of course this means changing the current behavior that clicking anywhere on the image goes to the next one, which is not an issue because it is usually annoying and not desired anyway (you expect that to happen if you click somewhere near to the "next" button).

IF the enlarged image is small enough that enough space is available, the caption then should be displayed below the image even if this mode is enabled (or there could be a boolean option for whether you want this or not) because it wouldn't make sense to put the caption on top of the image if there is plenty of space to put it below it.

@teo1978
Copy link
Author

teo1978 commented Jul 2, 2016

Note that this should be done in a way that does not prevent from fixing #524

@lokesh lokesh added this to the 3.0 milestone Oct 30, 2016
@lokesh lokesh modified the milestone: 3.0 Apr 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants