andyzg / gallery Goto Github PK
View Code? Open in Web Editor NEWVisual Portfolio Generator with no extra installation
Home Page: http://andyzhang.net/gallery
License: MIT License
Visual Portfolio Generator with no extra installation
Home Page: http://andyzhang.net/gallery
License: MIT License
C:\Users\Foxy\AppData\Local\Programs\Python\Python36\python.exe C:/Users/Foxy/Downloads/Compressed/gallery-gh-pages/gallery-gh-pages/setup.command
Traceback (most recent call last):
File "C:/Users/Foxy/Downloads/Compressed/gallery-gh-pages/gallery-gh-pages/setup.command", line 145, in
sys.exit(run())
File "C:/Users/Foxy/Downloads/Compressed/gallery-gh-pages/gallery-gh-pages/setup.command", line 54, in run
'Found {length} directories'.format(length=len(dirs))
TypeError: object of type 'filter' has no len()
When running setup.command, only some image files in the folder are detected, compressed and added to config.json.
macOS users can use sips
command line tool to resize all images using
sips -Z {image-size} photos/**/*.jpg
Using this, we can keep a separate copy of the original, and load the compressed copy first. The original can then be loaded if the user clicks on an image. The page load speed is much smaller as a result.
Hi Andy- nice work!
I love this template. I'm not sure if you're still developing this but if you are: any interest in adding a feature to add tags to photos, and then UI to filter by tags? I'd prefer this for my portfolio vs. using albums. Just a thought, let me know if you could add it or tell me how!
Cheers,
Adam
[EDIT: btw, this is my gallery so far: https://apikielny.github.io/gallery/]
Hey all! I'd love to see the galleries you've created using this fun project I made. Share yours with a comment below!
Will save lots of people time forking when it doesn't work on windows.
Hey there, I'm trying to host this on my webserver dallasgroot.ca/test is the location, but when loading the page i'm getting a basic html text with nothing actually loading, kinda a noob here
If original images get deleted, there will be leftover minified and placeholder images (only for macOS). There should be a cleanup script that's run at the beginning of setup.command to remove any min/placeholder image without an original.
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.