| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Images not recognized in created image folder | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() I have created an images folder with the path:
www.hausofpods.com/xcart/files/images When I place an image in there and modify the head.tpl to point to the graphic I want to use for the header, it shows up as a broken link. If I view source, the path is exactly correct. It is interesting to note that images work just fine placed in the default folder: www.hausofpods.com/xcart/skin1/images I have checked the permissions for the first-mentioned image folder, and even chmodded them to 777 (all access for everyone). This is temporary, of course, until development is complete whereupon it will revert to a more safe setting, limiting everyone to read only. This is making me nuts ![]() Anyone run across this? Thanks in advance.
__________________
Jim Yarrow hausof.com guru and chief whipping boy X-Cart version: 4.0.14 Web server: Apache/1.3.31 (Unix) DAV on Linux |
|||||||
#2
|
|||||||
|
|||||||
![]() Always place your site images in xcart/skin1/images and call them by this technique:
[img]{$ImagesDir}/imagename.gif[/img] The files/images folder should be used for product images only. Hard-coding images will cause issues with your secure connection down the road.
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#3
|
|||||||
|
|||||||
![]() When I RTFM, on page 352 they recommend using a different directory for the images as "the best variant".
Why would they recommend this when it just won't work? I'm very confused here. Additional BTW, I did follow the instructions in the Images Location section to make seperate folders (and put absolute paths) for the Detail and Thumbnail pictures. Hopefully this will work. Thanks for your speedy response.
__________________
Jim Yarrow hausof.com guru and chief whipping boy X-Cart version: 4.0.14 Web server: Apache/1.3.31 (Unix) DAV on Linux |
|||||||
#4
|
|||||||
|
|||||||
![]() They are talking about PRODUCT images, not site images
![]() Seperate sub-folders for detailed, category and thumbail images works just fine and I use it all the time. Just need to alter the .htaccess file in there to read 'allow from all'.
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
|
|||
X-Cart forums © 2001-2020
|