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

Slideshow one image #1046

Merged
merged 3 commits into from
Aug 27, 2014
Merged

Slideshow one image #1046

merged 3 commits into from
Aug 27, 2014

Conversation

blobaugh
Copy link
Contributor

Resolves #20

@blobaugh
Copy link
Contributor Author

@rase- can you take a look at what is needed to make this work, or if it is even needed at all anymore?

@rase-
Copy link
Contributor

rase- commented Aug 27, 2014

Still happens in master.

@rase- rase- force-pushed the slideshow-one-image branch from 3eeb80c to 469f10b Compare August 27, 2014 11:34
@rase-
Copy link
Contributor

rase- commented Aug 27, 2014

Looks much better, but doesn't show caption on the slideshow when there's only one image. Looking into it.

The jQuery cycle plugin adds `position: relative` when cycling is started. When a single image slideshow is initialized, the cycle isn't started, since there is no need to cycle. Without `position: relative` the caption isn't shown, however. The style is now specified manually.
@rase-
Copy link
Contributor

rase- commented Aug 27, 2014

Fixed the issue with caption.

rase- added a commit that referenced this pull request Aug 27, 2014
@rase- rase- merged commit 867d2d7 into master Aug 27, 2014
@rase- rase- deleted the slideshow-one-image branch August 27, 2014 16:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Carousel A fullscreen modal appearing when clicking on an image in a gallery or tiled gallery. [Type] Bug When a feature is broken and / or not performing as intended
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Slideshows: If gallery has single image, slideshow is not displayed
4 participants