Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Server image directory set to 'files' instead of 'images'

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 10-30-2010, 02:13 PM
 
Sisom Sisom is offline
 

eXpert
  
Join Date: Sep 2006
Posts: 310
 

Default Server image directory set to 'files' instead of 'images'

Hi, I'm trying to set up products, using images that I have already FTPed to the server, in the relevant 'images' directories, such as '/images/D/' etc. but when I go into Product Management, then click on the 'Change Image' button, and choose 'File on this server' 'Browse', it shows me the contents of the 'files' folder, and when I click on the 'up' option (../) it just refreshes and shows me the 'files' folder again.
Does anybody know how to fix this? I am trying to work out where the 'Files on this server' 'Browse' option gets the location that it's going to show you from.
Many thanks in advance for any help.
__________________
X-Cart Gold Version 4.3.2
Reply With Quote
  #2  
Old 10-30-2010, 02:31 PM
 
Shamun Shamun is offline
 

X-Adept
  
Join Date: Jun 2009
Location: North Carolina
Posts: 841
 

Default Re: Server image directory set to 'files' instead of 'images'

The image files for products are stored in /images/ as you expect.
However, the 'Select files' feature is jailed to the /files/ directory (which is likely to prevent security issues.)

If you need want to select on the server, I would suggest moving the images into the files directory and selecting from there.
__________________
- Shane Munroe
Reply With Quote

The following user thanks Shamun for this useful post:
Sisom (10-30-2010)
  #3  
Old 10-30-2010, 02:50 PM
 
Sisom Sisom is offline
 

eXpert
  
Join Date: Sep 2006
Posts: 310
 

Default Re: Server image directory set to 'files' instead of 'images'

Many thanks Shane, I thought it was just some setting that needed adjusting. I can easily upload the files again to the 'files' folder, and work from there.
__________________
X-Cart Gold Version 4.3.2
Reply With Quote
  #4  
Old 04-01-2011, 10:28 AM
 
cougar8000 cougar8000 is offline
 

Newbie
  
Join Date: Apr 2011
Posts: 9
 

Default Re: Server image directory set to 'files' instead of 'images'

Sorry to bring this old post up. Isn't there a way to change this? Anyone?
__________________
4.2.2
PHP 5.2.16
MySQL client 5.0.92
Reply With Quote
  #5  
Old 04-12-2011, 09:12 AM
  JWait's Avatar 
JWait JWait is offline
 

X-Man
  
Join Date: Nov 2005
Location: California
Posts: 2,440
 

Default Re: Server image directory set to 'files' instead of 'images'

The easiest way to do add your photos is to create a "backup_images" folder in the "files" sub directory using the same format as in the images folder (/D, /P, /T, etc.), and upload your images there.

Then you can either add the product images individually, or using a .csv using the filepath suggested in x-cart (.../images) and the images will automatically be added to the "images" directory.

Also, never "change" the image. Delete it and add a new one. This will prevent the subsequent images being altered to "imagename-01.jpg", "imagename-02.jpg", etc. in your "images" folder.

I hope this helps.
__________________
Two Separate X-Cart Stores
Version 4.4.4 Gold - X-AOM - Vivid Dreams Aquamarine (modified) - Linux
Mods - Newest Products - View All -, and a few others. Numerous upgrades from 4.0.x series.
Integrated with Stone Edge Order Manager + POS

Version 4.1.12 Gold (fresh install) - X-AOM - Linux
Mods - XCSEO free
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 02:05 PM.

   

 
X-Cart forums © 2001-2020