/    Sign up×
Community /Pin to ProfileBookmark

Im trying to put a pic. on an html file called “template.html” which is in a folder called “cgi-bin” but the pic. is in a folder called “images”. Both of these files are in a folder called “public_html”. So would the path to that pic. be

“public_html/images/top_logo.jpg” or what am I missing here because this path does not work.

Thanks

to post a comment
HTML

7 Comments(s)

Copy linkTweet thisAlerts:
@Aronya1Oct 31.2003 — I think all you need to do is remove "public_html" from your path.
Copy linkTweet thisAlerts:
@Rick_MaitlandauthorOct 31.2003 — No that doesnt work I tryed that already. Thanks though...Lets keep trying...Im up for any suggestions.
Copy linkTweet thisAlerts:
@Aronya1Nov 01.2003 — OK, my next suggestion is to get that web page out of the CGI-BIN folder. There may be restrictions on files in that folder. You still want to keep the public_html reference out of your path, though.
Copy linkTweet thisAlerts:
@PeOfEoNov 01.2003 — or you can just specify url instead of that path from what it sounds like.
Copy linkTweet thisAlerts:
@XMLMania_comNov 01.2003 — <img src="../images/top_logo.jpg" />

That should work!
Copy linkTweet thisAlerts:
@Rick_MaitlandauthorNov 01.2003 — That worked guys thanks. I had to use the full URL for it to work in the CGI folder.
Copy linkTweet thisAlerts:
@PeOfEoNov 01.2003 — ur welcome ? good luck
×

Success!

Help @Rick_Maitland spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.21,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...