Reputation: 7217
So I have a small web server where I store my php/javascript pages.
These pages are mainly just samples and practice files, but I am looking for a way to show previews of the pages.
Currently I use the default Apache index.html, which just provides a list of all the files in the directory.
I am looking for a page that has tiles of all the web pages and providers a preview of the file.
Or anything else that you may recommend as better.
Thanks
Upvotes: 0
Views: 205
Reputation: 3949
You can use imagegrabscreen to create page preview http://php.net/manual/en/function.imagegrabscreen.php
Upvotes: 0
Reputation: 88
there may be a browser that has an option to output a screenshot of a given page that u could run on the server when the index file is requested but u would probably want to cache the screenshot
Upvotes: 0
Reputation: 4816
Here's two that are close to what you want. You can probably customize them a bit.
Upvotes: 2