Page 1 of 1

Imaging Similar to CafePress

Posted: Thu Jan 16, 2003 1:00 pm
by red98zq8
Hey everyone. Newbie here. I've been doing HTML and CGI programming for the past few years and the PHP is quite new to me. Well, I'm developing a web site for an embroidery business and they suggested having something on their site that allows customers to upload their logo in JPG format and preview it on clothing before they actually purchase it. I told them that CafePress.com offers that kind of program and that I would look into it to see how involved or pricey it would be. So... Here I am. :) Looking for help. I found this software (http://www.viaden.com/products/storemaker.html) and it sounds like it would do what I'm looking for, however, $499.00 seems a little steep. I figured that I would seek help/advice here before making any decisions. Thank you in advance for any replies!

Posted: Thu Jan 16, 2003 4:32 pm
by glo-wurm
Welp, it sounds like if you don't want to go with an expensive piece of software, you can always build it from scratch :D

If you choose to build it from scratch, there are a couple of tools you can use. The first is imagemagick, the other, is through using the GD image library.

You can get imagemagick from http://www.imagemagick.org, but will need to use some command-line arguments to accomplish your goal. However, imagemagick supports a wide range of image formats, and is very efficient. After installing, several binaries are already created to allow users to perform basic to advanced image manipulation tasks.

The other way would be through GD. To do this, you will have to install the GD library, or install PHP 4.3 (PHP 4.3 comes pre-packaged with the GD library). You will need to make use of PHP's GD API in order to accomplish this though: http://www.php.net/manual/en/ref.image.php

You will likely have to rework the logic for each item though in order to place the uploaded logo in the correct position. However, it is very possible to do.

Good luck :D

Posted: Fri Jan 17, 2003 7:28 am
by red98zq8
Eeek! :) Hehehhehe.... I think I got all of that. :) Okay, I'll look into those and see what I'm jumping into. Like I said, I'm extremely new to PHP, so this'll probably take some time. If I can't get this down, would someone configure a system like this for me for a price? I definately appreciate the help.

Thanks from the noob. :)