Skip to content

Possibility to swap source format.#298

Open
Spope wants to merge 2 commits intoGalleriaJS:masterfrom
Spope:master
Open

Possibility to swap source format.#298
Spope wants to merge 2 commits intoGalleriaJS:masterfrom
Spope:master

Conversation

@Spope
Copy link
Copy Markdown

@Spope Spope commented Jun 22, 2013

Added a 'format' option to swap picture format with a setFormat('image') function.

Default is set to 'image', ligthbox will still use 'big' but we can set any other format.

Here is an exemple to do a 'Youtube like' expand

Spope added 2 commits June 22, 2013 18:08
It allow to swap source by using setFormat('big'). Format string used
need to be into the data object.

The goal is to swap format when modifying galleria size (like on
Youtube video)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant