Greenguy's Board


Go Back   Greenguy's Board > Newbie Questions
Register FAQ Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 2006-10-10, 07:09 AM   #1
Licker4U
Mean people suck, nice people swallow, are you mean or nice?
 
Licker4U's Avatar
 
Join Date: Sep 2003
Location: Lower Alabama-The Redneck Riviera
Posts: 2,377
Send a message via ICQ to Licker4U Send a message via AIM to Licker4U
Calling For An Image

Isn't there some way to call for an image one level up or something by using . . and /'s ?
Licker4U is offline   Reply With Quote
Old 2006-10-10, 07:17 AM   #2
dareutwo
You can't disprove anything with evidence that doesn't exist
 
dareutwo's Avatar
 
Join Date: Mar 2003
Location: NW Minnesota - pop 865 +/- 1
Posts: 2,038
../
__________________
This is me Mark's-Links
dareutwo is offline   Reply With Quote
Old 2006-10-10, 07:18 AM   #3
ladydesigner
~Serving Up Sinful Sex ~
 
ladydesigner's Avatar
 
Join Date: Apr 2003
Location: Missouri City, Texas
Posts: 1,928
Try using ../
__________________
Porn Pixie XxX ~ Looking for Link Trades
ladydesigner is offline   Reply With Quote
Old 2006-10-10, 07:20 AM   #4
ladydesigner
~Serving Up Sinful Sex ~
 
ladydesigner's Avatar
 
Join Date: Apr 2003
Location: Missouri City, Texas
Posts: 1,928
Ooops! I guess Dareutwo beat me to it.
__________________
Porn Pixie XxX ~ Looking for Link Trades
ladydesigner is offline   Reply With Quote
Old 2006-10-10, 07:37 AM   #5
Licker4U
Mean people suck, nice people swallow, are you mean or nice?
 
Licker4U's Avatar
 
Join Date: Sep 2003
Location: Lower Alabama-The Redneck Riviera
Posts: 2,377
Send a message via ICQ to Licker4U Send a message via AIM to Licker4U
OK, instead of putting in the entire path, just put ../ and the file name?
Licker4U is offline   Reply With Quote
Old 2006-10-10, 07:44 AM   #6
dareutwo
You can't disprove anything with evidence that doesn't exist
 
dareutwo's Avatar
 
Join Date: Mar 2003
Location: NW Minnesota - pop 865 +/- 1
Posts: 2,038
<img src="../whateverimage01.jpg">
__________________
This is me Mark's-Links
dareutwo is offline   Reply With Quote
Old 2006-10-10, 09:05 AM   #7
Licker4U
Mean people suck, nice people swallow, are you mean or nice?
 
Licker4U's Avatar
 
Join Date: Sep 2003
Location: Lower Alabama-The Redneck Riviera
Posts: 2,377
Send a message via ICQ to Licker4U Send a message via AIM to Licker4U
Kewl, thanks!
Licker4U is offline   Reply With Quote
Old 2006-10-10, 12:03 PM   #8
Licker4U
Mean people suck, nice people swallow, are you mean or nice?
 
Licker4U's Avatar
 
Join Date: Sep 2003
Location: Lower Alabama-The Redneck Riviera
Posts: 2,377
Send a message via ICQ to Licker4U Send a message via AIM to Licker4U
Will that work for calling from a folder? If so, how would I do it? Or does that require SSI?
Licker4U is offline   Reply With Quote
Old 2006-10-10, 12:22 PM   #9
Preacher
There's Xanax in my thurible!
 
Preacher's Avatar
 
Join Date: Apr 2005
Location: Wherever they screw on my head
Posts: 2,441
Send a message via ICQ to Preacher
<img src="../folder/whateverimage01.jpg">

These are relative paths and have nothing to do with ssi.
__________________
NSCash * This Depraved World
Preacher is offline   Reply With Quote
Old 2006-10-10, 02:03 PM   #10
Licker4U
Mean people suck, nice people swallow, are you mean or nice?
 
Licker4U's Avatar
 
Join Date: Sep 2003
Location: Lower Alabama-The Redneck Riviera
Posts: 2,377
Send a message via ICQ to Licker4U Send a message via AIM to Licker4U
Damn that's too cool!
Licker4U is offline   Reply With Quote
Old 2006-10-10, 02:06 PM   #11
virgohippy
Madness is like gravity. All it takes is a little... push.
 
virgohippy's Avatar
 
Join Date: Feb 2006
Location: California
Posts: 1,679
You can even go so far as "../../../moving/forward/to/image.jpg" but that can get pretty confusing.

Though not as confusing as managing and troubleshooting SSI and htaccess.
__________________
~Warm and Fuzzy.
virgohippy is offline   Reply With Quote
Old 2006-10-10, 03:09 PM   #12
Licker4U
Mean people suck, nice people swallow, are you mean or nice?
 
Licker4U's Avatar
 
Join Date: Sep 2003
Location: Lower Alabama-The Redneck Riviera
Posts: 2,377
Send a message via ICQ to Licker4U Send a message via AIM to Licker4U
LOL I've got SSI down pretty well, wasn't as difficult as I thought. If this: ../images/boobs.jpg displays the boobs.jpg image in a folder named images, what does ../../ do?
Licker4U is offline   Reply With Quote
Old 2006-10-10, 03:17 PM   #13
virgohippy
Madness is like gravity. All it takes is a little... push.
 
virgohippy's Avatar
 
Join Date: Feb 2006
Location: California
Posts: 1,679
"../../images/boobs.jpg" goes back two levels before it grabs the boobs.

Personally, I only like to go back one level before I grab some boobs. I might be tall and skinny, but my arms are only so long.
__________________
~Warm and Fuzzy.
virgohippy is offline   Reply With Quote
Old 2006-10-10, 05:18 PM   #14
juggernaut
Registered User
 
juggernaut's Avatar
 
Join Date: Apr 2005
Location: Central Jersey! If I was rich and powerful I would dress as my avatar does.
Posts: 1,448
Send a message via Yahoo to juggernaut
If your not sure ask your host what your sites are running on. Some time back there was a hack on a MS box (roughly 1 year ago) for paths. Believe it or not some hosts forget to run an IIS lockdown tool.

http://searchsecurity.techtarget.com...134252,00.html
juggernaut is offline   Reply With Quote
Old 2006-10-17, 09:15 AM   #15
Licker4U
Mean people suck, nice people swallow, are you mean or nice?
 
Licker4U's Avatar
 
Join Date: Sep 2003
Location: Lower Alabama-The Redneck Riviera
Posts: 2,377
Send a message via ICQ to Licker4U Send a message via AIM to Licker4U
What would cause the ../ to not work? I used it to get some images for recip tables and it worked just fine. I copied and pasted the EXACT path and on a few recip tables it doesn't work.
Licker4U is offline   Reply With Quote
Old 2006-10-17, 09:29 AM   #16
dareutwo
You can't disprove anything with evidence that doesn't exist
 
dareutwo's Avatar
 
Join Date: Mar 2003
Location: NW Minnesota - pop 865 +/- 1
Posts: 2,038
Are the images in fact on the server in the folder 1 level up?
check your htaccess
__________________
This is me Mark's-Links
dareutwo is offline   Reply With Quote
Old 2006-10-17, 09:50 AM   #17
Fonz
Former pr0n slinger.
 
Fonz's Avatar
 
Join Date: Aug 2003
Location: Antwerp, Belgium
Posts: 7,932
Could you show us the page where you're calling the image and the location where the image is?
__________________
See how I abuse little trees on my Shumi no Bonsai Blog
Fonz is offline   Reply With Quote
Old 2006-10-17, 12:35 PM   #18
juggernaut
Registered User
 
juggernaut's Avatar
 
Join Date: Apr 2005
Location: Central Jersey! If I was rich and powerful I would dress as my avatar does.
Posts: 1,448
Send a message via Yahoo to juggernaut
Quote:
Originally Posted by Licker4U View Post
What would cause the ../ to not work? I used it to get some images for recip tables and it worked just fine. I copied and pasted the EXACT path and on a few recip tables it doesn't work.
Call your host and make sure they dont have relative paths shut off. This is in option with most webservers. Not an option when you purchase the service, rahter and option that can be shut off after you in stall Apahce or IIS. Most leave it on. dareutwo is correct also, could be your htacess. Put in the full path on the page, save it then check if the images come up. If so, if I had to guess it's something in the code, like most things with code when it wont work it's something simple. You may just be missing ' or something.
juggernaut is offline   Reply With Quote
Old 2006-10-17, 01:18 PM   #19
Licker4U
Mean people suck, nice people swallow, are you mean or nice?
 
Licker4U's Avatar
 
Join Date: Sep 2003
Location: Lower Alabama-The Redneck Riviera
Posts: 2,377
Send a message via ICQ to Licker4U Send a message via AIM to Licker4U
Well crap. Everything is working now. I guess it had something to do with old shit still stored in a cache somewhere. As I said in another post I cleared out History, deleted cookies and offline content, but still was seeing old stuff. I even re-booted my PC. I guess overnight everything reset.
Licker4U is offline   Reply With Quote
Old 2006-10-17, 01:31 PM   #20
juggernaut
Registered User
 
juggernaut's Avatar
 
Join Date: Apr 2005
Location: Central Jersey! If I was rich and powerful I would dress as my avatar does.
Posts: 1,448
Send a message via Yahoo to juggernaut
Sometimes doing the things you have don't wont work. I have found that out myself. But for some reason if you press f5, it's not really a refresh of the page. f5 will call the server and request and new changes to the page since your last visit. There were times I refreshed till my finger hurt, then I pressed f5 and everything I changed showed up.
juggernaut is offline   Reply With Quote
Old 2006-10-17, 02:02 PM   #21
Licker4U
Mean people suck, nice people swallow, are you mean or nice?
 
Licker4U's Avatar
 
Join Date: Sep 2003
Location: Lower Alabama-The Redneck Riviera
Posts: 2,377
Send a message via ICQ to Licker4U Send a message via AIM to Licker4U
I'll try that
Licker4U is offline   Reply With Quote
Old 2006-10-19, 08:59 AM   #22
DJilla
You can now put whatever you want in this space :)
 
DJilla's Avatar
 
Join Date: Sep 2005
Posts: 525
Send a message via ICQ to DJilla
Don't forget that using ../../image.jpg as your file basis can work fine for the page you are using. However, if you take that page later and copy it into a new folder then the relative paths back to the root may no longer be correct and fail to work properly. This is why using the absoute path is often the preferred choice.
DJilla is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 01:39 PM.


Mark Read
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc