Giter VIP home page Giter VIP logo

kphotoalbum_export's Introduction

KPhotoAlbum_Export

Usage

Here are the step to produce the export.

  1. Put in the same directory the index.xml from KPhotoAlbum and the script parseXML_KPA.py
  2. Run python parseXML_KPA.py, It will produce a file named: photos.js
  3. Copy your photos in a /mini folder and resize them to have a heigth of 150 px
  4. Now, organize your files this way:

..*In your root folder : tagGallery.js, index.html, style_js.css, mustache.js, photos.js (the file you produced), and a folder named "Photos"

..* In your "Photos" folder : your photos in a correct web size and a folder named "mini"

..* In your folder named "mini" : your tiny photos, heigth 150px.

Live Demo

I have put here a live demo

Based on

This project is using (Mustache.js)[https://mustache.github.io/] under The MIT License

Copyright (c) 2009 Chris Wanstrath (Ruby) Copyright (c) 2010-2014 Jan Lehnardt (JavaScript) Copyright (c) 2010-2015 The mustache.js community

This project is using Lightbox2 under The MIT License

by Lokesh Dhakar

This project is using JQuery under the MIT License

kphotoalbum_export's People

Watchers

James Cloos avatar  avatar

kphotoalbum_export's Issues

Allow to choose between OR and AND when several criteria are selected from the same category

For example, when two persons are selected, some users when to see only pictures with both persons, some other user want to see all pictures with at least one person on it.

Here are the main step to achieve that:

  • Sort search criteria by category
  • Add a toggle AND/OR button per search criteria
  • Modify the code to proceed criteria category per category taking in account the AND/OR value

Progressive loading: pages or infinite scroll

All photos should not be displayed all at once.
There are two way to present that to the user:

  • Pages with a fixed number of photos
  • Infinite scroll

In any case, their will be a need to group photos by pages

Manage different file format

KPhotoAlbum use different file format depending on the version of KPhotoAlbum and if it is the normal storage or exported data.
It would be nice to manage most format

Use directly the index.xml generate by KPhotoAlbum

It would be nice to get ride of the converter script XML to JSON.

The main issue is to be able to read the index.xml file. When store locally, the browser prevent to access other local files in javascript...

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.