Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New to the CF scene
    Join Date
    Feb 2012
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question dynamic image float

    anyone seen any tutorials for something that allows users to upload an image and place it onto another? I.E. user uploads a logo and it is automatically placed onto a tshirt. I have seen this done with flash on a lot of sites but i was wondering if there is a way to do it with html5/javascript/php? Thanks much!

  • #2
    Senior Coder
    Join Date
    Aug 2010
    Location
    High Point, NC
    Posts
    3,338
    Thanks
    5
    Thanked 363 Times in 360 Posts
    It can be done with php, coldfusion, or any serverside language. I guess it could be done with js as well, but site functionality should never be left to js alone. Ideally you'd have a database, some server side queries and coding to retrieve and call the images, then CSS styles to position an image over the plain shirt image.

    I know of no automatic way of doing this with software.
    Teed

  • #3
    New Coder
    Join Date
    Sep 2011
    Location
    United Kingdom
    Posts
    74
    Thanks
    2
    Thanked 3 Times in 3 Posts
    Yes, there is a PHP function for uploading files:
    http://www.tizag.com/phpT/fileupload.php

    But you have to be careful, because uploading is like a open gate to your server. That means you can receive Viruses etc. I think you have to be very experienced to recommend it. Best is just to ask the customer to email their logo.


  •  

    Tags for this Thread

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •