![]() |
Image is not showing up!
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 |
Hey Laura...you have the code botched up somehow. Are you trying to use {$ImagesDir} inside a language variable like the welcome text?
|
Error in Welcome.tpl
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 |
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 |
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. |
Broken link
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 |
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 |
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]
|
Didn't work.
|
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 |
All times are GMT -8. The time now is 01:30 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.