Is there any way to get a certain thumbnail generated by PHP from a live given URI? I also would want to do this for the live on click image.
Asked
Active
Viewed 3,332 times
0

tshepang
- 12,111
- 21
- 91
- 136

Jess McKenzie
- 8,345
- 27
- 100
- 170
-
What do you mean by the "live on click image"? – random_user_name Mar 27 '12 at 22:06
-
When I click the thumbnail I want it to enlarge into a bigger image = lightbox – Jess McKenzie Mar 27 '12 at 22:08
-
So you are asking two questions, then? A way to generate a thumbnail via php on a live uri (your site, or another site?), then when you click the thumbnail, a lightbox to view the full size image? – random_user_name Mar 27 '12 at 22:09
-
Another site and yes when clicked I want to load a fullsize image of the live site – Jess McKenzie Mar 27 '12 at 22:10
1 Answers
2
Form what i understand you want to generate thumbnail of a given website via its URL ???
If that is what you want then Website screenshots using PHP would help you
I prefer the Pure PHP option if you are using a windows server but if not then you would have to use 3rd party APU like http://www.thumbalizr.com/apitools.php
Another method is using HTML5 Canvas or Converting the site to PDF -> PNG or any image format
I hope this information helps
Thanks :)
-
-
I have looked at that but I am still confused on how to implement – Jess McKenzie Mar 28 '12 at 00:26
-
Load the remote site into a page body then $('body').html2canvas(); to convert it to canvas .... are you using windows ?? why doen you use the pure PHP example ??? – Baba Mar 28 '12 at 07:30