| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
getting pics out of db | ||||
|
|
Thread Tools | Search this Thread |
#21
|
|||||||
|
|||||||
Hello all,
I'm trying to get the images to be stores NOT IN FILES directory, I want the here. WEB ROOT ..IMAGES/Thumb ..IMAGES/detail ..XCART DIR So, the directory for the images is at the same directory level as x-cart. I see how I can change the template files to display the to the customer. BUT, why does the full paths that are asked (durring import, products and detail images) for not being used, if they HAVE to be in the x-cart/FILES directory, why ask for the full path? Also, I did a complete install of the V4.0.11 and the config.php had that extra last line feed inthe config.php - no one fix that for how many versions..?? Any input/direction/enlightenment would be greatly appreciated. Mark
__________________
X-Cart V3.3.6 - w/ Product Import Mod Unix --------------------------------------------- Currently migrating to V4.0.11 |
|||||||
#22
|
|||||||||
|
|||||||||
Mark,
When you are importing your images using a cvs file X-cart uses the path to find and load the images into the DB. Once they are loaded in the DB they get assing a name that has to do with your product number and after you take them out of your DB they will be named as follows: t_######.jpg for thumbnails d_#####.jpg for detailed images I hope this will help you Kind regards, Ricky
__________________
X-CART Gold version 4.0.14 & 4.1.11 Apache Version 1.3.29 (Unix) EWDHosting-Quality X-cart Hosting We will always sell you the right shoe and the left one is free. |
|||||||||
#23
|
|||||||
|
|||||||
My images were never in the database - I CANT toooo many for even for temp (10MB database size limit) So I want to import right into the file system.
But, thanks, I think what I needed to know is that (if I am correct?) The paths asked at import ARE ONLY for importing and NOT for displaying? In other words; The full path to images specified durring product and detail image import, are ONLY to read and insert BLOB into the database when 'Stored in database' option is used. Am I understanding correctly? Thanks Mark.
__________________
X-Cart V3.3.6 - w/ Product Import Mod Unix --------------------------------------------- Currently migrating to V4.0.11 |
|||||||
#24
|
|||||||
|
|||||||
OK, I followed the first post exactly, but everything failed...anyone have any ideas???
Thanks! Danielle
__________________
Danielle X-Cart Pro 4.0.10 X-Gift-Registry X-AOM |
|||||||
#25
|
|||||||
|
|||||||
Quote:
Hi, I had exactly the same problem affecting the thumbnail directory having already added images to the database. The only way I could remove thumbnail images from the database in order to set up an image file directory was to install phpMyAdmin and truncate the xcart_thumbnails table in mysql. This cleared the images and allowed me to change the image location in xcart from database to file directory. Works fine now. DB
__________________
Version 4.0.16 |
|||||||
#26
|
|||||||
|
|||||||
And then you had to reupload all your pics right???
__________________
Danielle X-Cart Pro 4.0.10 X-Gift-Registry X-AOM |
|||||||
#27
|
|||||||
|
|||||||
Can someone help me with this? I am trying to switch my pics to the file system, but they keep saying failed. My permissions are 777. I really do not want to have to reupload all my pics as I have a TON. Does anyone know I make the switch?
Thanks!
__________________
Danielle X-Cart Pro 4.0.10 X-Gift-Registry X-AOM |
|||||||
#28
|
|||||||
|
|||||||
Whew OK I finally got them to move and it says success. BUT, the images are all still in my database. I tried the optimize table thing suggested earlier in this thread and it did nothing. Even worse, I tried deleting a few of the images from the database manually, and now the thumbnail isn't showing. I looked and all the images are in the file system like they're supposed to be. Why aren't they showing on the product?
Thanks!
__________________
Danielle X-Cart Pro 4.0.10 X-Gift-Registry X-AOM |
|||||||
#29
|
|||||||
|
|||||||
Make sure they successfully transferred. You should now have images in your Files directory, and the Images location should say File System.
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#30
|
|||||||
|
|||||||
Yep, the images are in the folders in the file system and the image location says file system. It all worked perfectly except that the images are still coming from the database, because if I delete an image in the database, it makes the product image disappear.
__________________
Danielle X-Cart Pro 4.0.10 X-Gift-Registry X-AOM |
|||||||
|
|||
X-Cart forums © 2001-2020
|