Giter Club home page Giter Club logo

ngx-photo-swiper's People

Contributors

huiibuh avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

ngx-photo-swiper's Issues

General improvements will be implemented soon

Features:

  • Hide arrow if the gallery is at an End
  • Provide own share options
  • Animate:
    • Share pop-up
    • Controls
    • Image transitions
    • Open Close image
  • Touch support
  • Lazy load the images into the viewport
  • Add the option to show your own share template
  • Add square gallery
  • Let users user their own gallery
  • Zoom button Perhaps later
  • Preload small image until the large image loads

Improvements

  • Use last swipe direction to determine if the next image or the previous image should be swiped to
  • Use swipe direction since last swipe turn
  • getImageIndex() gets called in the method which causes more computation (best way to ensure the most up to date information)
  • Use scroll snapping instead of expensive js transform (Will not be implemented, because the js api for scroll snapping is not good enough)
  • Add support for srcset to support responsive images
  • Create a description file in the post
  • Use srcset for the gallery components as well
  • Add links to the images, icons, ... so ssr works with them as well Perhaps later
  • sliderImages$ gets called to often
  • Don't let the image flow over the description/controls
  • Give the user the option to define an aspect ration so the small images get stretched

Bugs:

  • Scrolling in full screen does not work on mobile (disabled touch events css)
  • If you scroll fast enough you can manage to see images load?get replaced?
  • Clicking right and left very fast leads to angular error
  • Create a global exit full screen
  • Utilize the full width even if the image is not as wide

General improvements

  • Add animations to peer dependencies
  • Add ssr to keywords
  • Remove getImageIndex in slider-image
  • Let the lib slider directive pass a reference to the html element
  • Change css root selectro to body
  • Change selectors in root style sheet to photo and remove lib
  • Remove animation service
  • Touchmove add click
  • Caption
  • Rename some methods in the touchMove direcitve
  • Add the methods of the slider service to the store
  • Fade out the controls and components faster than the image
  • Fire events on open/close/change
  • Add a download button

Add links to most actions

This would allow the user if server side rendering is enabled to navigate the lightbox without js.

  • Icons
  • Close Button
  • ...

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.