Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
    1. COI definitely do need to be able to support most browsers. Firefox and IE10, 9, and 8 at least. The site owner owns a textiles company so he is more or less looking for an image to see how the client wanted the text. Then he will make the item as closely as possible to the image. I'm thinking your idea of re-rendering the image for the client at checkout as well as for the admin when he pulls the order is probably the best idea. I'm going to be using the codeigniter framework to code this with jquery and php. Any more thoughts. I like the track you're on.
      singulars
    2. COOkay, well until you drop IE8 support the canvas solution definitely won't work. However, seeing as you'll already know the x/y coordinates of the font, as well as the size and colour of the text, then I would recommend using something like the php ImageTTFText library available here: http://php.net/manual/en/function.imagettftext.php . You would first load up the base shirt image, then insert the text using the above library. You may also need to do a bit of math to see if all of the characters will fit on one line. I don't know if this wraps. If you need more help, I can edit my answer.
      singulars
    3. COSo are you saying to have the client use the draggable / droppable jquery ui to drag around the text where they want it, then based on the coordinates when they hit the submit button, use the imagettftext function to basically make a static image of the shirt with the text on top. That actually sounds totally doable.
      singulars
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload