I'm working on a project related to Online Management Information System for Hospitals with core php and mysql. Most components I've completed but where I'm stuck is probably not the problem with coding its probably not having the Idea how to do it; What I want to do is; when the management prepares the report of a patient it is published and remains entirely only for the management and doctors to view and review and verification purposes etc after which the site admin PUBLISHES it by click of command button. With this function the entire report which is in the form of HTML/PHP page & MySQL at the back-end is converted to a .jpg format and this image is supposed to be inserted to a MySQL database at another URL. Its simple as that and I don't know how to do it? Any help would be appreciated please! Thanks!
You can parse html & create pdf/jpg image of site using library as http://wkhtmltopdf.org/ or https://github.com/spatie/browsershot using headless chrome