Moderators joeri Posted August 21, 2009 Moderators Report Posted August 21, 2009 maby a stupit question, i am using a template for our site but i can't put in images in the header or footer. www.tnt-virtual.be i want some pictures under forum and maby later alsow under new pilots. gr joeri Quote
Thomas Posted August 21, 2009 Report Posted August 21, 2009 I dont think you can however are you using PHPvms on the website aswell as e107? reason im asking is that my old hosting company used a theme like that for e107. Quote
Moderators joeri Posted August 21, 2009 Author Moderators Report Posted August 21, 2009 what do you mean by E107 this is just a normal template from owsd. so i think this should be possible if i put in an image link (<img src="images/vatsim.gif" alt="" width="151" height="51" />) it shows up on my screen inside dw but not on the site. gr joeri Quote
Administrators simpilot Posted August 21, 2009 Administrators Report Posted August 21, 2009 Try - <img src="<?php echo SITE_URL?>/images/vatsim.gif"> Probably wont work in DW but should work on the site Quote
Moderators joeri Posted August 21, 2009 Author Moderators Report Posted August 21, 2009 nope isn't working Quote
Administrators simpilot Posted August 21, 2009 Administrators Report Posted August 21, 2009 Try this, it should work ??? <body> <div class="jqmWindow" id="jqmdialog"></div> <div id="header"> <center> <h1><span class="heading_color">TNT</span> Virtual Airways</h1></center> <center><img src="<?php echo SITE_URL?>/images/vatsim.gif" alt="VATSIM" width="151" height="51" /></center> </div> Quote
Administrators simpilot Posted August 21, 2009 Administrators Report Posted August 21, 2009 Looking at the source code on your page to display the vatsim image in the side bar, it looks correct to me. Using your path directly in my browser http://www.tnt-virtual.be/images/vatsim.gif will not display the photo at all My guess is that is not the actual path to the image on your server or you have something misspelled. Check to see if it is actually on your server, folder name, image name, and file extension are all correct. Quote
Moderators joeri Posted August 21, 2009 Author Moderators Report Posted August 21, 2009 no thats correct the picture is in my lib/skin/tnt/images but this path isn't working Quote
Administrators simpilot Posted August 21, 2009 Administrators Report Posted August 21, 2009 There is part of the issue... no thats correct the picture is in my lib/skin/tnt/images but this path isn't working your path should be.... http://www.tnt-virtual.be/lib/skins/tnt/images/vatsim.gif This still does not work here in my browser.... there has got to be something named differently between the path you are using here and what is actually on your server... Quote
Moderators joeri Posted August 21, 2009 Author Moderators Report Posted August 21, 2009 you are correct the file wans't uploaded to my host so no the link http://www.tnt-virtual.be/lib/skins/tnt airways/images/vatsim.gif is working but still i ame not seeing the picture on my site or even on my local server don't know what i ame doing wrong. gr joeri Quote
Moderators joeri Posted August 21, 2009 Author Moderators Report Posted August 21, 2009 finaly i got it working thanks. gr joeri Quote
Administrators simpilot Posted August 21, 2009 Administrators Report Posted August 21, 2009 http://www.tnt-virtual.be/lib/skins/tnt airways/images/vatsim.gif Is there a space in your folder name "tnt airways"? If so I would lose it, change the folder name on the server and in your code Earlier you were showing the folder as "tnt" not "tnt airways" Check these differences Are you sure the image is a gif and not a jpg or png extension? Also, I just looked at the source for your page and the image link is: <img src="http://www.tnt-virtual.be/images/vatsim.gif"> This needs to be changed to the absolute path EDIT - Looks like we posted at the same time. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.