![]() |
Re: Template Editing Guide
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">" |
Re: Home page image
Congrats :) Moving this to its own thread.
|
Re: Home page image
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 |
Re: Home page image
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:
|
Re: Home page image
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 |
Re: Home page image
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". |
Re: Home page image
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. :? |
Re: Home page image
Quote:
Try to change the name of the file on a more simple, "test.gif" for exm. :) |
Re: Home page image
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 |
Re: Home page image
Quote:
Tell your web site address (or send me in PM), with this picture, look its HTML-code. PS. The last hope. :) |
Re: Home page image
Hi Yurij - thankyou for your help - i've just pm'd you.
|
Re: Home page image
1 Attachment(s)
Quote:
Everything works fine for your site "http://www.........au/" ))) Attachment 979 I checked it in IE, Opera and Fire Fox :))) |
Re: Home page image
I have a similar issue....on my home page, http://store.zacuto.com, I have a "Welcome to Zacuto" message, below that a hyperlinked pic and the featured products.
The image is located on our server. When I try to edit the template using Webmaster mode I am unable to find the hyperlink and image link I originally inserted. Any help would be greatly appreciated. |
Re: Home page image
Perhaps you put the code in the welcome text language variable - look in your 'Languages' area.
|
Re: Home page image
here's the code snippet containing the hyperlink and image link,
<td class="WelcomeBoxEnd"> <h3><span class='Lbl' id='lbl_welcome_to' onmouseover="lmo('lbl_welcome_to')" onmouseout="lmu('lbl_welcome_to')" onclick="lmc('lbl_welcome_to')">Welcome to Zacuto</span></h3> <div class="WelcomeBoxEnd"><span class='Lbl' id='txt_welcome' onmouseover="lmo('txt_welcome')" onmouseout="lmu('txt_welcome')" onclick="lmc('txt_welcome')"> <a href="https://store.zacuto.com/register.php?xid=b01f3389624f06e836a04124dcc2d8cc" ><img align="center" src="http://www.zacuto.com/summer_banner.png"></a> </span></div> <br /> </td> |
Re: Home page image
Thanks Yurij - appreciate you checking on that for me.
|
All times are GMT -8. The time now is 04:15 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.