11
jakobev
7y

Ladies and Gentlemen,
Has someone of you created a sexy looking gallery for the web and maybe got it on github to let me throw an eye on it?
It would be sooooo fucking nice!

Comments
  • 2
    @hacker hmmm are you white hat or evil?
  • 4
    @jakobev Shhh. No one must know.
    Ah, who am I kidding, I'm white-hat. I know how to change source code using inspect element... does that count?
  • 2
    @hacker
    Mr hacker....i did visited Your website too..have to say this:
    Thats one heck of a awsome work - man! Well done job.
    Have an upvote...double.
  • 1
    @monzakaz Thank you! I appreciate it.
  • 0
    @hacker okay I checked it. I like this style (few pictures in the footer section)
    But will you tell me now how it works or did you just want to show me yours as example?
  • 2
    @jakobev Sure!
    Basically, it works with JS. You load the preview on your page using an 'img' tag and place that 'img' tag in an 'a' tag. When the user clicks on the link (image), MagnificPopup handles it and shows you the image as a popup. You can customise exactly how you want it to popup or look. You can add captions to the images, too.

    Visit MagnificPopup's documentation (it's really helpful):
    http://dimsemenov.com/plugins/...

    I hope this helped you!
  • 0
    @hacker thank you very much I'll check this out!
  • 4
    @hacker really nice job man!!
  • 1
    @newbiedog thank you, bro.
  • 1
    @hacker This is pretty good; better than mine
  • 1
    Oh. And i have a Gallery module myself. You can check it out on at https://github.com/amci1203/.... I've worked on it some recently, but that version is working, im 99% sure :)
  • 0
    @AllenII
    Is there a demo for it so we can see it in action?
  • 1
    @hacker if you wanna see it in live action. Check out http://madkapbeachexperience.com (the site i made it for) and head to the gallery. No idea why i didnt think of linking to it in the first place
  • 0
    @AllenII your gallery "Not found"
  • 0
    I finished my gallery now took me 5 hours cuz of different bugs and code mistakes.. If I come home later I'll make the changes on github and show you that version
    (it is not mine, I saw it on YouTube)
    And at that version I want to create a slide bar, but this will be in the coming week.
  • 1
    @jakobev good job, man!
  • 0
    @hacker thank you
  • 0
    @jakobev http://madkapbeachexperience.com/ga.... thanks for pointing out that broken footer link to me though. I originally included the pictures with php
  • 0
    @AllenII It looks good! I like how it's responsive, too.
  • 1
    @hacker thank you, you cool person you. Remind me to study your site for some design pointers though. I can't say enough how awesome it looks
  • 0
    @AllenII
    Haha, thanks! And sure, feel free to peruse the source code of my site. You can always learn something new!
  • 0
    Oh fuck noo.. I dunno what happened but my site looks like shit now on mobile device 😑
  • 0
  • 0
    Jakobev.github.io/RiasGremory
    Warning!! a bit ADULT Anime content..
    This site is just for experiments and learning..
  • 0
    I don't get the shit responsive..
  • 0
    @jakobev thank you for that heads up. Now i know not to open this up on my work machine.
  • 0
    @AllenII I'll change content
    Could you look at the code?
  • 2
    And i looked anyways. At least i know now what the gallery is for 😂😂😂
  • 0
    @AllenII looool xD
    Content doesn't matter I just need help to get all responsive :/
  • 1
    Found your culprit: your nav was set to 500px. Sent a pull request with the small fix
  • 0
    @AllenII thank you for fixing it. Now the gallery pics show off in the same size!
    Only on mobile the gallery's "main picture" isn't centered to the screen. :D and cause of that I think it is possible to scroll right.. Ugly
  • 0
    @jakobev that's an easy fix too. Just use max-{width/height} instead. So on mobile it'll automatically fit to the viewport. Sorry, but i am at work on a computer others can pass by and see, so i didn't scroll that far down
  • 0
    @AllenII ok no problem, I try it thank you
  • 0
    @AllenII dude you rocks!!!
    It works now fine thank you so much. :)
  • 1
    Your welcome sir. I'm just glad to help a fellow dev
  • 0
    @AllenII the world needs more devs like you, man!
  • 0
    @hacker Trust me, there are. We're i a field where sharing is the best way to both master and learn our craft. I mean, I didn't magically get where i am today on my own. But thank you guy :)
  • 0
    @AllenII That is so true. After all, you learn more when you teach/help others.
  • 0
    One way more to love devrant
Add Comment