Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialJason Cameron
1,796 Pointshelp and advice.. student developer
i am a student developer.. and i have a client that wants a photo gallery on their web page ... they provided me with 60 jpeg files.. now i could do a Lightbox but to type out the images file and src 60 times is bit tedious.. could i have some suggestions on how to go about doing this task in a more efficient manner..i was thinking of doing a combination with Parse.com and java script.. but im not at that skill lvl
1 Answer
alex gwartney
8,849 PointsSo the way that i would go about doing this and infact im working on something similar just whit sound files to were i need to upload muiltpul ones on to a data base and display them. So the way im doing this is through noode js wich is a server side language that i can store onto a data base. Im then using a file up loader with a middle wear called multer that is downloaded through npm. Im then using that to upload a array of different sound files paths into a tag that will then loop through the sound files and display all of them on the page. Now if you need help understanding what im talking about if you never heard of it ect or just need some one to help you through it let me know and we can jump on skype and hope this helps out a bit.
For a better example of what im talking about check out my repo for my project im working on https://github.com/gwartney21/sound_Board
Also, if you are not needing a server side language you could use ajax also i would message piece-digital on skype he will also be able to help you out he has a few other solutions he might be able to provide you once you give him a bit more information on how you are currently going about the project requirements.