Streaming live at 10am (PST)

Print screen of a div


#1

Hello webflow experts!
I want to make a website where the user can download a div as an image.
I found a way to do it with "html2canvas" but there seems to be a problem with the background image.

Here's my website (don't look at the design, I'm just trying the code):
https://preview.webflow.com/preview/printscreen?preview=4ec00c8bf93dd1edc6b3b6d314c2d018

The script I'm using is:
http://codepedia.info/convert-html-to-image-in-jquery-div-or-table-to-jpg-png/

Anybody knows another option? :blush:


#2

Why don't you just upload the image inside the div? Users can drag it to their desktop to save it if its not set as a background image.


#3

Yes, that's an option, but then they will not be able to change the title and text inside the div. I want user's to change some information inside that div.


#4

#5

They are using html2canvas at the end :confused:.....


#6

You didn't read the answers carefully. I believe it can be done.


#7