Jump to content

image problems


patva1

Recommended Posts

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

Link to comment
Share on other sites

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?

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

  • Administrators

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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...