Results 1 to 5 of 5

Hybrid View

  1. #1
    Join Date
    Oct 2006
    Posts
    14
    Plugin Contributions
    0

    Default Uploading images to server by their names not numbers

    Ok , i setup my store so that my clients cand send the picture to me for their personalised product.

    The uploading to server goes ok , I find the pictures on /images/upload directory BUT .... there is a problem :

    If the client is browsing the picture named pic.jpg or anyname.jpg , that picture reaches the server with name 1.jpg , next pecture with 2.jpg and so on . I see that the script renames all the pictures that my clinetd upload from their own names to numbers - acscending . Wen for exemple 10 client send (upload) me 10 pictures per day , i seen in /upload folder all that pictures renamed : 1.jpg, 2.jpg .... -> 10.jpg , and I can`t guess with picture was send by whom.

    My question is : how can I set the scrit so that the pictures that are uploaded by my client reachest the upload folder with their original names and not renamed.

    Thank you.

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Uploading images to server by their names not numbers

    10 customers named jack come to your site and load:
    jack_logo.jpg

    bad plan ...

    This is the reason for the numbering system ...

    The associated name of the image and the numeric name is shown on the order as well as stored in the database for comparrison in the files_uploaded table ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  3. #3
    Join Date
    Oct 2006
    Posts
    14
    Plugin Contributions
    0

    Default Re: Uploading images to server by their names not numbers

    1 x Perna inima

    - Imaginea dvs. :: 21. 623.JPG1 x Perna patrată

    - Imaginea dvs. :: 20. Picture 006.jpg1 x Şapcă Neagră cu text

    - Textul dvs. :: AMEN CLUB DJ1 x Cravata Personalizata

    - Imaginea dvs. :: 19. Sol_key.JPG

    I findet my self the answer (bolded) :))

  4. #4
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Uploading images to server by their names not numbers

    Yes the numbers next to the filename(s) on the order will be the matching filename in the /images/uploads directory ...

    Thanks for making that more clear ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  5. #5
    Join Date
    Oct 2006
    Posts
    14
    Plugin Contributions
    0

    Default Re: Uploading images to server by their names not numbers

    yes, is very well thinked this option. :)

 

 

Similar Threads

  1. Server move - images not uploading
    By sdoiron in forum General Questions
    Replies: 0
    Last Post: 23 May 2012, 06:40 PM
  2. Product images not uploading since I changed server.
    By robsnowden in forum General Questions
    Replies: 0
    Last Post: 31 Aug 2010, 02:35 PM
  3. Problem uploading images on new server.
    By buyashed in forum General Questions
    Replies: 4
    Last Post: 15 Feb 2010, 03:03 PM
  4. Can I use numbers (1001_0.jpg) as my image names? My addtional images aren't loading
    By lizord in forum Setting Up Categories, Products, Attributes
    Replies: 3
    Last Post: 2 Apr 2009, 06:48 PM
  5. easy populate - export category id numbers not names
    By longstockings in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 1 Dec 2008, 04:09 PM

Posting Permissions

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