Save Container Box as an Image

Hello Beautiful people,

Can anyone tell me how can we save a container box as an image so that we can use that image for uploading the image in the upload button?


This is my container box. Just want to convert it into an image.

Thanks in Advance

I don’t think I understand the question.
Please explain in other words.

Prem Kumar, did you manage to solve? Ideas?

Hi @ppremkumar055 ! Unfortunately, Wix Code does not have a built-in method to convert a container box into an image.

They solution for your success is —> CANVAS <— inside an HTL-Component, for example.

Or the better way would even be a CUSTOM-ELEMENT.

EXAMPLE…

  • createate your custom canvas element inside of HTML-Component
  • create a communication-connection between html-component and your page
  • add a button which would start the → conversion to image <— which would just grab everything what is inside of CANVAS-AREA into an IMAGE.