Wicklers / Tee-Designer

A Simple T-shirt Designing Web App to create custom tees.
156 stars 92 forks source link

Saving a Design #2

Closed kadnan closed 8 years ago

kadnan commented 8 years ago

Loved your script. Main thing is that it's just interface editor. A few questions:

Thanks

harshvladha commented 8 years ago

Hello Kadnan,

Currently, this Plugin just supports Image creation from the HTML5 canvas. Also, you can check out image directory where we have added base tshirt which you can replace with your base-style of the t-shirt.

Hope this helps.

kadnan commented 8 years ago

Thanks

Guess you forgot to answer last 2 points

Yogi1994 commented 8 years ago

Hello Adnan,

Answer 1: If you want to replace base tee with your own, then simply replace the tee-shirts or hoodies in /tdesignAPI/images/product/ directory.

Answer 2: If you want to add the new type of products then go to line number 39 in /tdesignAPI/js/mainapp.js file in any text editor and add new products accordingly. Also, open /tdesignAPI/new_applit.php open file in any text editor at line number 82 add radio button 4,5,6 according to your need.

Answer 3: This you have to implement by yourself. We have not yet implemented this. Read about HTML5 Canvas. Line number 307 to 365 is HTML form used to submit the data.

NOTE: To add a new product or replace the previous one go to line number 5 in /tdesignAPI/js/mainapp.js file and read the line. You will understand the directory format and names to be given for the products.

kadnan commented 8 years ago

Awesome. If implemented successfully, I'd fork it and submit my PR.

harshvladha commented 8 years ago

Thank You Kadnan :+1: