| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Home page image | ||||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() OH MY GOD... I did it.. finally after three days... thanks balinor and everyone else that helped....
getting that image in the welcome area what the ball buster.. but I just followed this - "- When calling images, be sure to use Smarty. Upload all of your graphic images (not the product images, they go elsewhere) into the skin1/images directory and call them using this format: <img src="{$ImagesDir}/imagename.jpg">"
__________________
Paige White "It's lonely here, there is no one left to torture...." X Cart Gold Version 4.1.8 |
|||||||
#2
|
|||||||
|
|||||||
![]() Congrats
![]()
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#3
|
|||||||
|
|||||||
![]() Paige - thanks for the info - but I'm using the code you mentioned, and i have smarty enabled in the general settings - and it doesnt work for me.
Hoping you can point me in the right direction or pick up what i may be doing wrong. Many thanks
__________________
Sunset X-Cart Gold v4.1.8 |
|||||||
#4
|
|||||||||
|
|||||||||
![]() Sunset, post the exact code you are using, in what template you put it, and where you put it. (we don't need the whole code, just what is right before and after your <img> tag. Also the directory structure and file name of the image i.e. I placed it in /skin1/images, file name is myimage.gif, code used to call it is <img src="{$ImagesDir}/myimage.gif">, placed it in welcome.tpl right after "Welcome to x-cart" and before "this is a secure store". A link to the page where the image is not showing up would be greatly beneficail as well to those trying to help.
P.S. The only thing wrong with this code: Quote:
![]()
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey XcartGuru X-cart Tutorials | X-cart 5 Tutorials Check out the responsive template for X-cart. |
|||||||||
#5
|
|||||||
|
|||||||
![]() Hi Mike
Thanks so much for your reply. My images are stored in skin1/images too. I was trying to add an image on the home page under News on the right hand side. I have done so now, but not with the correct code as you have above. I tried this: <img src="{$ImagesDir}/News-at-Sunset-Bead-Crystal-Supplies.gif"> but it didnt show at all. Yet when i enter it on a static page - it shows. ![]() Cheers Mike Paula
__________________
Sunset X-Cart Gold v4.1.8 |
|||||||
#6
|
|||||||||
|
|||||||||
![]() Quote:
Have you tried to clear the cache of the store, and disable the browser cache (or press CTRL + F5 on main page), after adding images to the template? And check the file name and make sure that it coincides with "News-at-Sunset-Bead-Crystal-Supplies.gif". |
|||||||||
#7
|
|||||||
|
|||||||
![]() Hi Yurij
Thanks for your reply. Yes I just tried all of that. And in mozilla firefox, the image doesnt even show the little red empty box. One thing i have noticed is after I have hit the save button, it seems to put a space after the .gif" eg. <img src="{$ImagesDir}/News-at-Sunset-Bead-Crystal-Supplies.gif" /> even though i have entered it as: <img src="{$ImagesDir}/News-at-Sunset-Bead-Crystal-Supplies.gif"> So I am not sure what I'm doing wrong. ![]()
__________________
Sunset X-Cart Gold v4.1.8 |
|||||||
#8
|
|||||||||
|
|||||||||
![]() Quote:
Try to change the name of the file on a more simple, "test.gif" for exm. ![]() |
|||||||||
#9
|
|||||||
|
|||||||
![]() Hi Yurij
Just tried that too - no luck ![]() http://www.sunsetcrystals.com.au/skin1/images/image source2.jpg http://sunsetcrystals.com.au/skin1/images/image source.jpg
__________________
Sunset X-Cart Gold v4.1.8 |
|||||||
#10
|
|||||||||
|
|||||||||
![]() Quote:
Tell your web site address (or send me in PM), with this picture, look its HTML-code. PS. The last hope. ![]() |
|||||||||
|
|||
X-Cart forums © 2001-2020
|