Thread: image permission
-
March 18th, 2012, 07:01 PM #1Junior Member
- Join Date
- Mar 2012
- Posts
- 4
image permission
Hi all
I have downloaded core ftp lite. I want to include one .jpg image in my html file. What should I do to include it in my html program. I tried to following command -
<p>
<img src="http://.../...../ACSDP/king_logo.jpg" alt="UTPB Logo" width="100" height="50" align ="right"/>
</p>
and uploaded king_logo.jpg separately on ftp. I gave 755 permission to that image, but if I open that html program in browser, instead of image I get red x. why? I dont know where am I making a mistake? Does anyone know?
Thanks in advance
-
March 18th, 2012, 09:02 PM #2
What's with all the dots in the src? There shouldn't be a space between align and the = either, though I'm not sure that would cause the image to not load at all.
-
March 18th, 2012, 09:43 PM #3Junior Member
- Join Date
- Mar 2012
- Posts
- 4
dots are url actually. I am using correct url in my program. I removed space too, but it is not uploading image yet. Do you have any idea? Why is is not showing an image?
-
March 18th, 2012, 09:53 PM #4
Unless the URL you're using is wrong, nope. Have you tried using a static path instead of a URL?
-
March 18th, 2012, 11:28 PM #5Junior Member
- Join Date
- Mar 2012
- Posts
- 4
no I havent tried using static path. How will I use it?
Thanks
-
March 18th, 2012, 11:41 PM #6
If, for instance, the image is in the same directory as the .html file, you would just do
If it's in a sub-directory, just add it to the path.Code:<img src=image_name.jpg>
You can go back directories the same way.Code:<img src=images/image_name.jpg>
Code:<img src=../images/image_name.jpg>
-
March 18th, 2012, 11:42 PM #7Junior Member
- Join Date
- Mar 2012
- Posts
- 4
Million thanks.... It worked....
-
March 18th, 2012, 11:53 PM #8
Cool. Glad to help.
Always do static paths when possible. It just makes life easier for everyone involved (server, client, etc).
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
Drive Image 2002 & restoring image to a smaller partition
By videobruce in forum Applications and Operating SystemsReplies: 1Last Post: April 12th, 2005, 02:00 PM -
Halo2 Release date and first ever MP image...(huge image)
By Master Chief in forum General Gaming DiscussionReplies: 6Last Post: February 1st, 2004, 08:55 AM -
You do not have permission to view this image.
By VERT in forum General Tech DiscussionReplies: 8Last Post: February 14th, 2003, 05:07 PM



LinkBack URL
About LinkBacks



Reply With Quote

It depends. If she is an employee then she is probably taking advice from an "appointed" lawyer who is protecting the IRS. It will soon be her own personal lawyer, since she is likely to be charged...
IRS Lois Lerner Refuses to Resign