PDA


View Full Version : images.. again


EasyTarget
08-02-2005, 11:29 PM
If I have the cmps in the forum directory, great, np at all, but as soon as I move it to the main directory the cmps install can't find the images anymore.

if I update the images to include the forum folder suddenly all the forum images stop working.

Can't you make it so the image paths from the cmps are separated from the paths in vbulletin so that it can allow the cmps to be in a different directory?

who wants all their images coming from a http:// call? I mean doesn't that increase the load time for the images?

also this message comes up everytime whether cmps has been installed before or not
"It has been determined that your "cleargifurl" option has been changed from the default to "". This is most likely from a previous installation of vBadvanced. Since then a problem has been discovered with using full URL to this image. If you would like to change this option back to it's original value of "clear.gif", simply make sure that 'Yes' is checked on the box to the right. If you do not wish to update this image, simply check 'No' on the box to the right."

ConqSoft
08-02-2005, 11:33 PM
You don't have to put the whole HTTP path, just put an absolute path.

Like:

/forums/images/whatever

instead of

forums/images/whatever

ConqSoft
08-02-2005, 11:35 PM
For clear.gif, just go to your vBulletin options where it has the entry for the filename of your clear.gif, and make sure it has the filename and isn't blank.

EasyTarget
08-02-2005, 11:42 PM
ok, thanks for your quick replies.

can you explain the difference between

/forums/images/whatever

and

forums/images/whatever

sorry, I'm new.

ConqSoft
08-02-2005, 11:45 PM
"forums/images/whatever" is a relative path. Meaning, it will assume that path is below the current directory. If the page referencing that image is in the root of your site, it will look in "/forums/images/whatever". If the page is in your forums directory, it will look in "/forums/forums/images/whatever".

By specifying the / at the beginning, you're always giving it an absolute starting point (hence the name, absolute path). The / tells it to start at the web root of your site when using that path, no matter how deep into the site you happen to be.

ConqSoft
08-02-2005, 11:47 PM
More info on Relative vs Absolute paths:
http://www.communitymx.com/content/article.cfm?cid=230AD

EasyTarget
08-02-2005, 11:49 PM
ahah, wow, I had no idea.. Thanks, this will come in very handy.