X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Picture Layering (https://forum.x-cart.com/showthread.php?t=1535)

brgreene 02-16-2003 05:17 PM

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?

jpsowin 02-16-2003 06:32 PM

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.

brgreene 02-16-2003 06:44 PM

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.

ivanrdgz 02-17-2003 02:35 AM

Try playinf with php_gd library :wink:


All times are GMT -8. The time now is 06:04 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.