7 Commits
Author SHA1 Message Date
luckyjay 2a1452c9f2 Change to PNG as default output
I encountered a number of large web pages that would not render as jpg. Switching to png made them work. Suggest to make png the default now.
2016-01-10 11:28:35 -05:00
luckyjay d63cee86a6 Update http2pic.class.php 2016-01-10 02:07:06 -05:00
luckyjay 84bad66c6a Update http2pic.class.php 2016-01-10 01:25:06 -05:00
luckyjay fd553e72ea Change curl opts to improve reachable test
isURLReachable would fail for certain sites, such as Amazon.com. Removing NOBODY and adding RETURNTRANSFER solved the issue for me.
2016-01-10 01:09:57 -05:00
luckyjay 6fefefdfb5 Update http2pic.class.php 2016-01-09 23:52:12 -05:00
luckyjay 19700ca6da Remove clipRect setting to fix rendering
It seems the clipRect setting was preventing phantom from rendering anything. I think after this and my previous pull request, phantomJS is working now.
2016-01-09 23:49:37 -05:00
luckyjay 3c0d2b20b9 Removed exit command from renderPagePHANTOMJS()
Assume  this was a complete mistake and needed to be removed - phantomjs render would never work since the function would exit before running the phantomjs command.
2016-01-09 22:31:03 -05:00