I need to make a redactor where the user can put one image over another is that possible?
Fore example if we have a T-shirt of white color, and we have another image of flowers and when we drag a flowers image and drop it on the T-shirt, then the T-shirt have a drawed flowers of the previous image, and the result is a T-shirt with the picture of flowers, what can i use to do that faster?, i think i will need Javascript(drag and drop) to drag the image that i want it to be in the other image, in other words i want to combine 2 images, but the second get cropped when it droped on the first image, i hope you understand what i am trying to say
You could use this simple HTML:
The masking images can also be combined by using layers when creating the image. The trick here is that only the T-shirt-pattern within the image is transparent, and shadows which make the T-shirt “alive” are only partly transparent.
And when you’ll finish your drag&drop:
This is rather an old-fashion way, but it works in older browsers too. I think there are utilites in HTML5/CSS3, with which you can crop images with an other.