| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Image is not showing up! | ||||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() I'm using the same code and everything that I have for LOTS of other images through out the store. I can't figure out why this one isn't showing up. I have it in 2 places and it's like it's not really where I'm pointing the code to. I have put the image into the image file just like the others though. I've checked the image size to make sure it's correct. I copied and pasted the file name so that's right and not misspelled.
The image I'm having issues with is the one center top of my home page: http://www.scrapbookdreamer.com and in the gallery: http://www.scrapbookdreamer.com/photos/index.php I'm stumped! Please help! Laura
__________________
X-Cart Gold v4.1.11 |
|||||||
#2
|
|||||||
|
|||||||
![]() Hey Laura...you have the code botched up somehow. Are you trying to use {$ImagesDir} inside a language variable like the welcome text?
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#3
|
|||||||
|
|||||||
![]() Hello,
For the center image from Welcome screen you have an error in welcome.tpl The path for the image looks like this: http://www.scrapbookdreamer.com/store/{$ImagesDir}/sundayintsm.jpg in the browser. It looks like you are missing missing some quotes. Alin |
|||||||
#4
|
|||||||
|
|||||||
![]() Where would I put quotes?
Yes using {$ImagesDir} inside the language variable like the welcome text. Can't I do that? That still doesn't explain why it's not working in the gallery. Help & Thanks! Laura
__________________
X-Cart Gold v4.1.11 |
|||||||
#5
|
|||||||
|
|||||||
![]() I don't see any broken images in the gallery. The correct way to call an image using the {$ImageDir} is:
[img]{$ImagesDir}/imagename.jpg[/img] That's it, don't put http:// or anything else in there.
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#6
|
|||||||
|
|||||||
![]() For the broken link on top of the page the browser shows the follwing link:
http://www.scrapbookdreamer.com/images/sundayintsm.jpg Are you sure that the image file name is sundayintsm.jpg? Alin |
|||||||
#7
|
|||||||
|
|||||||
![]() I copied and pasted the file name so I'm sure it isn't misspelled.
I used your code: [img]{$ImagesDir}/imagename.jpg[/img] and pasted the file name in. I still don't get the image to appear. The only thing that I had really that was different on the home page was that I told it the size of the image. In the gallery it is the missing image right under the header before you get to the images in the gallery. Any other ideas? Laura
__________________
X-Cart Gold v4.1.11 |
|||||||
#8
|
|||||||
|
|||||||
![]() Not sure you can use smarty in a language variable. Try just calling it as [img]images/imagename.jpg[/img] or [img]../images/imagename.jpg[/img]
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#9
|
|||||||
|
|||||||
![]() Didn't work.
__________________
X-Cart Gold v4.1.11 |
|||||||
#10
|
|||||||
|
|||||||
![]() Ok, let's go back to basics. Just put the absolute link in there to see if it works right:
http://www.scrapbookdreamer.com/store/skin1/images/imagename.jpg
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
![]() |
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|