javascript - Output div contents and styling to image -


i have type of word cloud developed. simple database search result applies random css styling (size, color, vertical layout, etc) keywords make pretty inside div or single cell table. these keywords retrieved via php/mysql function.

i able output div/table cell's (whichever work better) contents along css styling image file. i've seen posts suggesting html2canvas haven't had luck getting search results css show in image , not sure if possible in case.

any ideas point me in right direction?

thanks,

you use html pdf script, this one, , use imagick php function convert image.

source: http://buffernow.com/html-to-image-php-script/


Popular posts from this blog