Answer the question
In order to leave comments, you need to log in
What is the best way to implement a print designer on cases?
In general, the task is to write a "constructor" for prints. The bottom line is simple - there are blanks for phone cases in png format (suppose where there are cutouts for cameras, etc., it's transparent there). Further like this:
Answer the question
In order to leave comments, you need to log in
I used masks in css. I created 2 images of each layout, where 1 of them is a mask, and the second one is superimposed on top of the first one (position: absolute), which has shadows and highlights. I used jquery to load the image. The uploaded image was placed under 1 layer (where there was a mask (case shape)). As a result, a ready-made layout for the user was obtained. This is the minimum set for your implementation.
After submitting the form, we do the same in PHP. We take the uploaded image, apply a mask image on it, after which a picture with shadows and highlights was added to this finished image - this image served for storage in orders, and since I could rotate, resize the image and shift it, then for execution of the order such as the user made it.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question