72 Commits

Author SHA1 Message Date
6e0795bbdf url 2025-06-10 11:55:13 +02:00
5df5a0ad7a added logging
All checks were successful
Build Container / docker (push) Successful in 1m23s
v2.0.7
2025-06-10 11:50:24 +02:00
63b49dd282 url showing 2025-06-10 11:25:27 +02:00
5e8f4e33e3 ups 2025-06-10 11:23:45 +02:00
a140a35448 symlink 2025-06-10 11:21:11 +02:00
a0765efc3c ok 2025-06-10 11:16:25 +02:00
543e44abc8 fine, I'll do it myself
All checks were successful
Build Container / docker (push) Successful in 1m6s
v2.0.6
2025-06-10 11:09:14 +02:00
1443cfee12 ok only docker hub
Some checks failed
ci / docker (push) Failing after 9m27s
v2.0.5
2025-06-10 11:06:45 +02:00
0d17b5d474 write permissions for packages
Some checks failed
ci / docker (push) Failing after 11m14s
v2.0.4
2025-06-10 11:02:01 +02:00
3eed66b9a9 testing
Some checks failed
ci / docker (push) Failing after 11m17s
v2.0.3
2025-06-10 10:54:13 +02:00
184e673277 correct token for docker login
Some checks failed
ci / docker (push) Failing after 11m17s
v2.0.2
2025-06-10 10:51:10 +02:00
83926b0f9a push only to github
Some checks failed
ci / docker (push) Failing after 11m2s
v2.0.1
2025-06-10 10:44:33 +02:00
469ef7f5ea container and dev preparations
Some checks failed
ci / docker (push) Failing after 11m20s
v2.0.0
2025-06-10 10:39:47 +02:00
fbe7613f97 working prototype, many features missing 2025-01-13 15:58:58 +00:00
028a4b54f4 api preparations for rework 2025-01-13 15:42:44 +00:00
f54d35c312 preparations and testing for a rewrite, ditching wkhtmltopdf for chrome-driver 2025-01-12 20:13:47 +00:00
cf07363a8d preparations for rewrite 2025-01-11 23:14:09 +01:00
637a781f24 changed the way the url is escaped. should fix #14 2022-03-08 22:00:58 +01:00
ce3b71c934 url validation now only allows http, https and ftp urls. fixes #13 2016-11-20 23:24:01 +01:00
52df764d44 added phantomjs binary 2016-11-20 23:23:27 +01:00
Christian Haschek
4e164c82a9 Merge pull request #11 from chpwssn/master
Catch when cURL can't connect to webserver
2016-08-30 09:20:10 +02:00
Chip Wasson
03b72c9198 Catch When cURL can't connect to webserver
If a domain is invalid or a web server is down, cURL will return false
and not have a status code. We need to catch it and distinguish the
difference between page not found and cannot connect for the user.
2016-08-29 21:52:28 -06:00
Christian Haschek
77f2a2651c Merge pull request #10 from chpwssn/master
Add Content-Disposition to make saving images cleaner
2016-08-29 19:38:03 +02:00
Chip Wasson
6c1aaeae2a Chrome Won't Infer File Extension
Add a file extension since the Chrome version I tested didn’t infer the
file extension.
2016-08-29 11:22:36 -06:00
Chip Wasson
745b9cc692 Add Content-Disposition to make saving images cleaner
When a user tries to save a file from the browser, make the filename
the url they entered so they don’t have to type it again.
2016-08-29 11:08:12 -06:00
Christian Haschek
4abd000917 Merge pull request #7 from luckyjay/master
Change to PNG as default output
2016-01-10 17:39:17 +01:00
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
Christian Haschek
102b39235d Merge pull request #6 from luckyjay/master
Remove clipRect setting to fix rendering
2016-01-10 12:11:48 +01:00
Christian Haschek
62392ad181 Merge pull request #5 from luckyjay/patch-1
Removed exit command from renderPagePHANTOMJS()
2016-01-10 12:11:28 +01: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
8c446b794d so the debug file (if exists) won't be visible to everyone 2015-10-03 18:47:05 +02:00
d9e70e5abd phantom render script 2015-10-01 15:36:32 +02:00
98667473d8 fixed caching and removed faulty type variable 2015-10-01 15:17:30 +02:00
43be0fdfac added debug functin and fixed false negatives of "isURLReachable" method 2015-10-01 15:17:10 +02:00
2c06b8d90e moved lines around so they make more sense 2015-09-30 11:07:03 +02:00
9d8d779ef1 added phantomjs stuff 2015-09-30 00:47:36 +02:00
0b5c98ee54 added experimental support for phantomjs as rendering engine. Should work but I couldn't test it yet 2015-09-30 00:47:03 +02:00
2ef269fb87 fixed variable change 2015-09-30 00:46:14 +02:00
eeb9e6d1d1 added upgrade info 2015-09-29 23:12:18 +02:00
5be211b209 resizing now uses right file type 2015-09-29 23:10:23 +02:00
5e2248cd04 This project is now officially released under the Apache License 2015-09-29 19:54:21 +02:00
8744bad966 added curl as dependency 2015-09-29 19:50:32 +02:00
f926d5bb15 http2pic class with several editable options. Code is prepared for changing of rendering engines although at the moment only wkhtmltoimage is supported 2015-09-29 19:49:21 +02:00
b630fcd6b6 api.php updated so it just calls the http2pic class 2015-09-29 19:38:20 +02:00
chrisiaut
627a640bde Merge pull request #2 from danbovey/master
Switched to jQuery event handlers
2015-09-28 21:15:24 +02:00