Ecommerce software home
Shopping Cart Software Forum for Ecommerce Templates
 
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

Find us on Facebook Follow us on Twitter View our YouTube channel
Search our site
Forum Search
Google Site Search
 All Forums
 Technical
 ASP (Windows server) versions
 Overriding product images
Author « Topic »  

Harry
Starting Member

7 Posts

Posted - 11/28/2024 :  13:31:07  
Hi,
When uploading a product photo, if the same finename exists, it currently overrides it. Is it possible to change the behaviour and rename the new uploaded file i.e. filename(1).jpg if filename.jpg exists?

thanks

Best regards,
Harry

Edited by - Harry on 11/28/2024 13:44:05

dbdave
ECT Moderator

USA
10430 Posts

Posted - 11/28/2024 :  14:56:14  
Hi Harry, that's not a feature, but it's a good idea and perhaps add it to the suggestions forum.
I think using the product ID in some way would be a good idea.

Thanks,
David

Edited by - dbdave on 11/28/2024 14:56:31

Phil
ECT Moderator

United Kingdom
7687 Posts

Posted - 11/29/2024 :  02:44:58  
quote:
Is it possible to change the behaviour and rename the new uploaded file i.e. filename(1).jpg if filename.jpg exists?


Personally I would rather be offered the option with a pop up to either overwrite or rename.



*Contact Us*
*Buy The PHP Capture Card Plugin*
*Rate Our Services/View Our Feedback*

Harry
Starting Member

7 Posts

Posted - 11/29/2024 :  04:16:51  
Hi,
With aspUpload plugin it was very easy. It was just a global variable, to override or not the uploaded file if already exists. It is weird that it is not done by default. The idea of renaming the image to the prodID is also good, assuming we have different variations for all the photos uploaded per product.

One other thing i noticed, is that im uploading a photo by clicking the "..." button. Once it is uploaded, the path and filename appear in the input box. If i delete that line manually, the file is still in the uploaded directory, it doesnt get deleted as well. So, im wondering why is that input box not defined as "readonly".

thanks
  « Topic »  
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022 ecommercetemplates.com
This page was generated in 0.03 seconds. Snitz Forums 2000