News for hackers. Stuff that matters.
Re:Show HN: 3D Book Image CSS Generator by janvdberg on Monday July 20, 2020 @08:26AM (#23897059)
Really cool! I can probably add this to my personal book app to make things look a bit nicer: https://books.j11g.com/
Re:Show HN: 3D Book Image CSS Generator by SwiftyBug on Monday July 20, 2020 @08:55AM (#23897291)
It would look very cool in the Book page:

https://books.j11g.com/search.php?id=484

Re:Show HN: 3D Book Image CSS Generator by gppk on Monday July 20, 2020 @09:05AM (#23897378)
Re:Show HN: 3D Book Image CSS Generator by ocdtrekkie on Monday July 20, 2020 @11:36AM (#23898839)
This is really nice. I have a personal book library app too, also in PHP/MySQL, though as a former library employee I ended up focusing more on cataloguing and checkout. (I import from the Library of Congress API rather than Amazon, for example.)

Also, I wrote a bunch of me-specific hacks and am still working on patching all those out (ten years later, lol) with the intention of making it usable to others and publishable as a Sandstorm app.

I'm also still in the process of open sourcing it, mostly for some of the same reasons you mentioned. Right now my library-specific code is open sourced but the core framework I built it on top of is not yet: I've only recently begun modernizing the security code.

I would love to see your code someday if you ever get around to sharing it though!

Re:Show HN: 3D Book Image CSS Generator by lpellis on Monday July 20, 2020 @08:41AM (#23897163)
Do you know the number of pages for each book? Then you could adjust the thickness automatically :)
Re:Show HN: 3D Book Image CSS Generator by janvdberg on Tuesday July 21, 2020 @04:09PM (#23910461)
I do! And I did implement it like this :)

Compare Infinite Jest (a big book) with other smaller books on my site. Looks pretty cool!

Re:Show HN: 3D Book Image CSS Generator by scastiel on Monday July 20, 2020 @08:43AM (#23897172)
Your app is very cool! I agree, having 3D book images could make it look nice, tell me if you need any help for that :)
Re:Show HN: 3D Book Image CSS Generator by janvdberg on Tuesday July 21, 2020 @04:07PM (#23910436)
Ha! That was easy to implement.

This looks really cool: https://books.j11g.com/search.php?id=218

I made it so that the more pages a book has the thicker it will appear.

Thanks so much for this code!