andyzg / gallery

Visual Portfolio Generator with no extra installation
http://andyzhang.net/gallery
MIT License
364 stars 282 forks source link

Share your gallery #1

Open andyzg opened 7 years ago

andyzg commented 7 years ago

Hey all! I'd love to see the galleries you've created using this fun project I made. Share yours with a comment below!

jasonbak commented 6 years ago

http://jasonbak.me/photography.html

Thanks for making this!

andyzg commented 6 years ago

@jasonbak thanks for sharing your gallery! Love your portrait shots :)

bubblemanss commented 6 years ago

https://l3ubbleman.github.io/gallery/

Ty for blessing us <3

enric1994 commented 5 years ago

https://photos.enricmor.eu/ <3

ross-spencer commented 5 years ago

This is such a cool template Andy, thank you!

simplymathematics commented 4 years ago

simplymathematics.xyz/gallery

emmtbeaga commented 4 years ago

I loved the idea but i can't use it. I never can double click setup.command. Can you help me? Thanks

andyzg commented 4 years ago

@emmtbeaga are there any errors that show?

cpique commented 4 years ago

Cannot run setup.command :/. Any pre requisite to run this script ?

andyzg commented 4 years ago

@cpique what's the error that you get when trying to run it?

cpique commented 4 years ago

@andyzg Don't remember exactly the issue, but in Windows 10 I cannot run the script. I was able however to bypass the error by running only this line in a PowerShell window: python "{MYPATH}\tools\setup.py"

My site is up and running, thanks for the gallery template :)

andyzg commented 4 years ago

awesome, nice job on figuring it out! 😄

nativephotography commented 4 years ago

@andyzg How do I remove the 'fork me on github' image and hyperlink in the right corner? I love your template btw :)

andyzg commented 4 years ago

@nativephotography delete line 21 in index.html and it should work

Guzpenha commented 3 years ago

https://guzpenha.github.io/gallery/

andyzg commented 3 years ago

@Guzpenha Love your photos! I love your use of black and white!

alex-sun-kuo commented 3 years ago

https://sun-alex.github.io/gallery/ thanks for making this man! btw, what part of your code determines the ordering of photos and how does the algorithm work? it doesn't look like it's by alphanumeric or date

andyzg commented 3 years ago

@sun-alex that's a great question! The way it works right now is that it generates a config.json when you run setup.command and orders it based on the images inside of photos/ and then it renders the images based on that order.

jamesdmorgan commented 3 years ago

Hi @andyzg thanks for a fantastic framework. I have just created a gallery https://links-studios.github.io/ I exported all the images at 1800px width. When I click on an image only the min version opens up. My javascript is a bit rusty, any idea what I need to do to get the original image in the popup?

@sun-alex Regarding sorting of directories, added sorted() to setup.py which preserves the directory naming order when it gets added to the config.json

def run():
    print('Starting to collect all albums within the /photos directory...')
    config = {}
    dirs = sorted(get_directories())     <----- sorted
jamesdmorgan commented 3 years ago

Changing compressed = False in the config sorted it. Really pleased cheers

learningdotnet17 commented 2 years ago

@jamesdmorgan I am seeing the same thing as you. It either uses compressed files (only) or, compressed:false in config turns off the usage of compressed files. It is one or the other.