| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Where is code that creates image file name? | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() I need to customize the image file name that is created when a product image is added. In which template(s) is this?
Sorry if this has already been asked. I spent some time searching the forums for it. ~thanks~ |
|||||||
#2
|
|||||||
|
|||||||
![]() If you upload the image to the server first and call it from there, you can keep the image name.
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#3
|
|||||||
|
|||||||
![]() Interesting, thanks.
I just tried that method and am hitting some issues. When I add pics by 'file on this server' I am only able to grab from the /xcart/files/<usernames> directories. The problems with this: a) i cannot upload to my username (??) via an FTP program. I'm not even able to change the CHMOD of that directory. b) so i upload to another user directory and add an image from there (via the admin panel), but the image does not appear in the store. I suppose the easiest way would be having the ability to change to the parent directory of /xcart/files (which I cannot do from within the 'add pics' popup) so I can have the new images with all the other images from our supplier (done by import). But then, would the image appear in the store... |
|||||||
#4
|
|||||||
|
|||||||
![]() The solution I found:
change the variable: $files_dir_name in config.php (located in xcart root directory) Now the 'image selection' popup will browse to the desired directory under 'File on this server' |
|||||||
|
|||
X-Cart forums © 2001-2020
|