patva1 Posted July 28, 2009 Report Share Posted July 28, 2009 I am having some problems with images showing up in my skin. All of the images that phpvms uses/displays all show up fine. But, images related to the skin, such as the header image and html link images I have been trying to put in, do not. In Firefox they simply don't show up. Where the html image links should be, all that shows up is a little box. In IE it shows the little box in the upper left corner with the red x. Here is a link to the site if you want to look: http://www.patva1.comli.com/phpvms Quote Link to comment Share on other sites More sharing options...
CrashGordon Posted July 28, 2009 Report Share Posted July 28, 2009 The URL for the image on your site is http://www.patva1.comli.com/phpvms/images/header-photo.jpg Put that URL directly in your browser and you will notice the following at the bottom Error 404: Page does not exist The displayed graphic is http://blog.mpl.org/nowatmpl/american-flag-2a.jpg Quote Link to comment Share on other sites More sharing options...
patva1 Posted July 28, 2009 Author Report Share Posted July 28, 2009 The URL for the image on your site is http://www.patva1.comli.com/phpvms/images/header-photo.jpg Put that URL directly in your browser and you will notice the following at the bottom Error 404: Page does not exist The displayed graphic is http://blog.mpl.org/nowatmpl/american-flag-2a.jpg Shouldn't the images folder be in the skin folder though, or am I supposed to put the images in a created folder inside the base phpvms directory? Quote Link to comment Share on other sites More sharing options...
patva1 Posted July 28, 2009 Author Report Share Posted July 28, 2009 I got the header image displayed. But it still will not display image links. Quote Link to comment Share on other sites More sharing options...
Leiserson Posted July 28, 2009 Report Share Posted July 28, 2009 make sure you are linking correctly using the system standard ( <?php echo SITE_URL?>/lib/skins/yourskin/images/imagehere.ext ) I would highly recommend that if you have images located somewhere else on a different systems image repository that you move it over if you plan to use it within the skin. Quote Link to comment Share on other sites More sharing options...
patva1 Posted July 29, 2009 Author Report Share Posted July 29, 2009 I tried that and I still can't get them to show up. It still acts as though the images do not exist. Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted July 30, 2009 Administrators Report Share Posted July 30, 2009 Shouldn't the images folder be in the skin folder though, or am I supposed to put the images in a created folder inside the base phpvms directory? Whichever way you want. If you have skin-specific images, it's probably good to put them inside that skin folder. But images you would use all over, put them in the base directory. Either way is fine. Try doing it into the base directory and work from there Quote Link to comment Share on other sites More sharing options...
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.