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 2 of 2
  1. #1
    Regular Coder
    Join Date
    Mar 2006
    Posts
    459
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Image Editor / Upload Image

    I have a small form on my site where users can upload there logo, I'm going to give specs like less than 300k, but I want them to be able to view what there image will look like at the size and move the logo around to where they are happy with it... Is there a simple script out there? I don't to go crazy and give them a million options that why I'm looking for something pretty straight forward...

  • #2
    Master Coder mlseim's Avatar
    Join Date
    Jun 2003
    Location
    Cottage Grove, Minnesota
    Posts
    9,389
    Thanks
    8
    Thanked 1,077 Times in 1,068 Posts
    Here's what I'm thinking ...

    If you were to use Javascript to do the mouse positioning of your
    logo over a background image in a <div>.

    Then a <form> with a "save" button to remember the X/Y coordinates
    of where the image was when it was saved. You could then display your
    original image and put the logo over the top in the same X/Y coordinates,
    or use PHP GD to actually make it one image (merge them).

    Sorry I don't have actual code, but this is a place to start:
    http://www.walterzorn.com/dragdrop/api_e.htm


  •  

    Posting Permissions

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