https://github.com/lostjared/create_photo_array
Program generates thumbnails from a directory of png files and displays them with HTML
https://github.com/lostjared/create_photo_array
Last synced: 8 months ago
JSON representation
Program generates thumbnails from a directory of png files and displays them with HTML
- Host: GitHub
- URL: https://github.com/lostjared/create_photo_array
- Owner: lostjared
- Created: 2019-09-14T00:57:54.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-12-13T09:37:51.000Z (over 6 years ago)
- Last Synced: 2024-12-31T05:18:38.174Z (over 1 year ago)
- Language: C++
- Size: 13.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# create_photo_array
This program creates some pages for my website to display my artwork.
Thought I would upload it here for anyone who is interested how it was done.
To use this program use the following arguments
-p path
-n no output thumbnail
-r prefix string
-t thumbnail prefix
-s page title
-f file title
-i num images per page
to generate thumbnails for my site use:
$ create_photo_array -p .
to generate for a directory on your site use:
$ create_photo_array -p path -r https://site/dir/ -t https://site/dir/thumbnail
or to use current path
$ create_photo_array -p path -r "" -t "" -s "Page title" -f "Page" -i 200
or desired path like this
$ create_photo_array -p . -r http://lostsidedead.biz/folder/on/my/site/ -t https://lostsidedead.biz/folder/on/my/site/thumbnaildir
and finally to generate just html pages use
$ create_photo_array -p . -n