supachailllpay / photo-gallery Goto Github PK
View Code? Open in Web Editor NEWA photo gallery element based on Polymer
License: MIT License
A photo gallery element based on Polymer
License: MIT License
It would be great to have keyboard support when viewing the images to cycle through them using the arrow keys. It could use the iron-a11y-keys
element and make a call to the previous()
and next()
functions on every left/right arrow press.
I can make a pull request if this functionality is desired.
I'm experiencing a weird problem with a few images that are not being displayed, like this one. They don't show up in the gallery, but when you open them in the viewer they do appear.
I started debugging the code and found the line where the image is set.
item.style.backgroundImage = `url(${url})`
It turns out that if you add quotes around the url variable, the problem is gone and the images display correctly. Like this:
item.style.backgroundImage = `url("${url}")`
Do you know why this happens? Is it safe to create a pull request to address this?
Thanks.
Your gallery is exactly what I want, but when click on grid image I get black page with navigation and error:
hero-animation: toPage is undefined!
Please help!
This is a very nice gallery, but doesn't currently work on IOS.
Any plans to get it working on IOS soon?
I'm trying to use dom repeat inside of photo-gallery component like this
<photo-gallery height="120">
<template is="dom-repeat" items="{{images}}">
<div class='item' data-url='[[item.src]]'></div>
</template>
</photo-gallery>
But doesn´t work :(
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.