Skip to content

narkissbv/otofotoOffline

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

otofotoOffline

An offline version of otoFoto that uses nothing but a modern web-browser, to select photos for albums.

Current version: v0.2

Getting started

For each album, copy and rename the .html file to the name of the album. Avoid using spaces for now. For example wedding.html, brideparents.html, groomparents.html and so on... For each album, edit the .html file and set the desired number of photos for that album after var albumSize. DO NOT CHANGE ANYTHING OTHER THAN THE NUMBER!

<script>
  /* *******************************************************
   *	USER VARIABLES
   * *******************************************************/
  var albumSize = 100;
</script>

Copy all the relevant photos (resized to fit viewing on a computer) to the photos folder.

On Windows, double click the list.bat to generate the list of photos into data.js. On Linux/Mac, execute list.sh to create data.js. On Linux/Mac give execution rights to the file by typing in the terminal, inside the root folder: chmod a+x list.sh. Now the file is ready to be executed. You can either run it from the Terminal by typing . list.sh or from the file explorer. Once done, a data.js file should be created in the root folder.

Once done, make sure the app loads all of the photos properly but simply running the .html file (it doesn't matter which you load if you have more than one).

Selecting photos

To add a photo to the album, click on the empty checkbox that is on the bottom of the relevant photo. Clicking the checkbox again will remove the photo from the album. The index on the bottom will indicate your selection progress. You may select more or less than set by the photographer. The indication is only for notifying on your progress, and will not block you from selecting.

Once selection is completed, click on the download icon on the bottom, to download a list of selected photos, which you will need to hand the photographer.

By Matan Narkiss https://github.com/narkissbv/otofotoOffline

About

otoFoto offline selector

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages