Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

Picture Layering

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 02-16-2003, 05:17 PM
 
brgreene brgreene is offline
 

Advanced Member
  
Join Date: Oct 2002
Posts: 70
 

Default Picture Layering

Is picture layering possible with php.

We make braided rugs and a a few set patterns. Customers always want to see how a pattern looks with the colors they choose. I figured this could be done by taking a picture of an oval rug in all of our colors and resizing the pictures with a transparent background.

A pattern the could be distinguished by stacking the pictures on top of each other starting with the largest picture first.

Is something like this even possible?
__________________
Brian
X-Cart 4.0.18
Reply With Quote
  #2  
Old 02-16-2003, 06:32 PM
 
jpsowin jpsowin is offline
 

X-Adept
  
Join Date: Sep 2002
Posts: 459
 

Default

Yes, but it wouldn't be limited on PHP. Probably the simplest way would to make separate JPEG/GIFs for each rug pattern and then when the customer clicks on the desired pattern it replaces the picture with the specfic pattern picture.
__________________
Joshua Sowin
...taking things one TPL at a time.
Reply With Quote
  #3  
Old 02-16-2003, 06:44 PM
 
brgreene brgreene is offline
 

Advanced Member
  
Join Date: Oct 2002
Posts: 70
 

Default Pictures of Each pattern not possible.

With 100+ colors and patterns that can contain up to 5 different colors make a picture of each possible pattern would not be feasible.
__________________
Brian
X-Cart 4.0.18
Reply With Quote
  #4  
Old 02-17-2003, 02:35 AM
 
ivanrdgz ivanrdgz is offline
 

Member
  
Join Date: Jan 2003
Posts: 22
 

Default

Try playinf with php_gd library
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 05:10 AM.

   

 
X-Cart forums © 2001-2020