3 ms·
View all of 365psd's files on one page
- aaronbrethorst 16y agoI was looking at http://365psd.com http://365psd.com a few minutes ago and was getting frustrated with only being able to view 6 files per page. So, I banged out a script to generate an HTML file that would display every image that has or will be added. And voila: it's far easier to browse. Hope you like.
- pavs 16y agoThanks! I wish there was a single file.
- jrnkntl 16y agofor ($i = 1; $i < 366; $i++) { echo "<li><img src='http://365psd.com/wp-content/uploads/".$i."-big.png' /><ul><li><a href='http://365psd.com/wp-content/uploads/psd/".$i.".psd_.zip' >Download PSD</a></li><li><a href='http://365psd.com/day/".$i."'>View Original</a></li></ul></li>"; } Awesome and HN worthy, I guess?
- qixxiq 16y agoThis isn't really fair to the site creator. The images you linked to are still hosted on their site and seem to be overloading their server without any benefit to them. Maybe there was a reason they didn't want people viewing all 365 at a time?
- shib71 16y agoAs far as my attempts are concerned their server was always overloaded. If they were serving the files from AWS (or similar) now perhaps they could have managed a page like this themselves.
- lrm242 16y agoThen don't use THEIR service? Effectively DoS'ing the site isn't the answer. They weren't arbitrarily slowing things down just to piss you off. Like the OP said, they probably served so few because that's all they could handle.
- shib71 16y agoTrue. My point was that serving static files is one of the easiest parts of a website to scale.
- zokier 16y agoAnd now 365psd is down. A great success