Current location: Hot Scripts Forums » General Web Coding » JavaScript » changing image colours


changing image colours

Reply
  #1 (permalink)  
Old 05-17-04, 06:31 AM
washi01uk washi01uk is offline
New Member
 
Join Date: Jun 2003
Location: Cannock, UK
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Post changing image colours

I am designing a website for a company and they would like a system where there is a image on it and the users can select the shirt type and colours and it will be displayed for them to see before purchasing.

Is there any way this can be done.

Mike
Reply With Quote
  #2 (permalink)  
Old 05-17-04, 07:04 AM
TwoD TwoD is offline
Community VIP
 
Join Date: Sep 2003
Location: 404
Posts: 1,813
Thanks: 0
Thanked 0 Times in 0 Posts
Only if you have one image for each type/colour combo...

But, I'm working on a project called Liquid. It was created by Naltabyte AB and contains a lot of functions for easily creating tons of applications and neat effects on a site. Everything is built up using custom XML tags and works just like plain HTML except for the fact that it can be dynamically changed and animated. Some tags (like the <drag> tag) are even interactive).

The part I'm working on is called Draw. It is a 2D vector graphics engine which can be used to draw and fill any polygon, using a single XML tag.
Draw displays the images using <div> tags so the user can view the images even though he/she has disabled images!
The images can be generated on the server and passed to the client in about the same time a normal image would take to display.

With this technology you could draw a polygon for each shirt type and let the user choose the colour from a drop-down menu or something like that. After each change, the client passes a request to the server which regenerates the polygon with the new colour and sends it back to the client.

You can also change which shirt type the polygon will look like by replacing other tag-attributes such as path, or zoom...

You could even have things like Logos and stuff on the shirt by letting Draw fill the polygon with an image and position it wherever you want or repeat it all over the polygon... (The space not taken up by the images is filled with a background colour, including transparent areas in gifs.)

More info about Liquid can be found on www.naltabyte.com
More info about Draw can be found on www.naltabyte.com/draw if there's no link from the first page...
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Need thumbnail image show large image separately, on mouseover Cre8tvnrg JavaScript 12 03-05-08 11:01 AM
need help with upload image and getting image name to db mikewooten PHP 3 05-14-04 04:52 PM
how to change text dynamically with image? rabbit51 JavaScript 1 02-23-04 08:35 AM
How to change text dynamically with image? rabbit51 Script Requests 0 02-07-04 12:14 PM
Need help on a image slide show using php! xelanoimis PHP 2 10-16-03 06:51 PM


All times are GMT -5. The time now is 02:20 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.