Jump to content

Welcome to Geeks to Go - Register now for FREE

Geeks To Go is a helpful hub, where thousands of volunteer geeks quickly serve friendly answers and support. Check out the forums and get free advice from the experts. Register now to gain access to all of our features, it's FREE and only takes one minute. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more.

Create Account How it Works
Photo

Internet Directory - How to insert an image in the body of the text


  • Please log in to reply

#1
crisoco33

crisoco33

    Member

  • Member
  • PipPip
  • 21 posts
I have seen a posting in one of the larger UK Classified Advertising sites which included an image within the body of the text. I am familiar with the process of copying an image location and inserting that link within the body of text where this facility exists. In this case this facility does not seem to exist yet this individual has managed to insert a gif image directly within the body of the text.

I have checked the image location. Here it is (in order to keep the user details private I have removed the web address) .....
"http://www.THEusersW....com/image.gif" without the quote marks.

If I view the Selection Source in Firefox for this gif and look at the first line where the image is located the html code is .......
<p><img src="http://www.THEusersW...e.gif"><br><br>

I do not understand how this source can be entered when the site offers no facility to add img source code within the body of the text.

I have tried adding similar code in the body of my posting text but all it does is adds a link from it without inserting the image. I have to admit I have not posted the changes but just previewed the result.

Where forums allow a link it is possible to use the link facility to Photobucket and that inserts a picture within the posting. I could try using Photobucket as I have pictures there already, but having tried inserting text that links to a picture on my web site and that does not work either I cannot see how Photobucket will be of any help.

This same Classified Advertising site does however offer a separate facility to add 3 pictures, but as there are a countless number Classified Sites on the internet that do not offer image insertion facilities at all it would be helpful to know how this can be achieved.
  • 0

Advertisements


#2
Major Payne

Major Payne

    Retired Staff

  • Retired Staff
  • 5,307 posts
You can use a link to PhotoBucket's or ImageShack's image if you have put it online. They both provide link codes for web pages, forums, etc.. I don't see why you are having problems with the <img> tag. If you have inserted:

<img src="path_to_image_here/image_file_name.gif">
You should get an image on your page. The proper way (one example) would be to do it as:

<img src="URL_path_to_image_here/image_file_name.gif" style="width: xxxpx; height: xxxpx; border: 0 solid #007878;" alt="description text here">
For using an image as a link:

<a href="url_path_here" title="link description here"><img src="URL_path_to_image_here/image_file_name.gif" style="width: xxxpx; height: xxxpx; border: 0 solid #007878;" alt="description text here"></a>
Post your code and we may be able to see what the problem is. Or a URL to your page online if you have one.

Ron

Edited by Major Payne, 25 July 2007 - 06:22 PM.

  • 0

#3
crisoco33

crisoco33

    Member

  • Topic Starter
  • Member
  • PipPip
  • 21 posts
Hello Ron,

Thanks for all the details. I will stick with the simpler one for the time being.

To illustrate the problem I have set up a link within my Gumtree posting to a photo on my web site.

The img text still does not place a picture in the post but merely provides a link to it.

This was the link code I placed in Gumtree .....

<img src="http://www.rosebayho...- no ring.jpg">

I have taken a screen shot and placed that picture on Photobucket so that you can see what the problem looks like.

I have not published the amendment because I do not want this code left on the first line of the post.

This is the link to the screen shot on Photobucket .......

Posted Image

If I upload the same picture from my web site to Photobucket I get the same problem when I provide a link to it there.

This is the Photobucket img link I pasted in the Gumtree text box ......

http://i146.photobuc...ntoe-noring.jpg

(with IMG at the front and /IMG at the end with brackets - because it places the picture here otherwise).

This is what the Photobucket link preview in Gumtree looks like (still no picture inserted) .....

Posted Image

David

Edited by crisoco33, 26 July 2007 - 03:15 AM.

  • 0

#4
hary

hary

    Member

  • Member
  • PipPip
  • 94 posts
I am not familar with Gumtree but if they allow images to be posted perhaps it is a different code.



Posted Image
  • 0

#5
crisoco33

crisoco33

    Member

  • Topic Starter
  • Member
  • PipPip
  • 21 posts
Hary,

Gumtree do not expect you to insert an image within the text because they separately allow 3 photo uploads.
The point I am making is that someone has managed to insert an image logo within the text area without any code being available. I am not able to give you the link to this image because I feel this would not be good practice, but if you go to Kent Gumtree / Business Services / Health & Beauty/Well-Being and then search for "thai" without the quotes and tick the box which searches for postings with photos it will direct you to it.

You will see that I have tried all the alternatives, but somehow it does seem possible to insert an image. You will also see from my initial post that this image was inserted using a standard img link. This comes back to my original question. How did they do it?
  • 0

#6
hary

hary

    Member

  • Member
  • PipPip
  • 94 posts
They do allow you to upload images from your pc using the button, or using the <img src= code, it says so in the instructions.

I tried using <img src= and got as far as an advert preview with image, but it took a few goes.

Watch for the rejection message at the top of the preview page, it the contents of the form its

rejecting not the image. Alter everything until it works
  • 0

#7
crisoco33

crisoco33

    Member

  • Topic Starter
  • Member
  • PipPip
  • 21 posts
Hary,

Thank you very much for your input. I think I can see what is going on now.

As you know, I have tried to add this code into the text area without success.

The clue here (I think) is to add the photo using the img link before adding the photos using the upload button.

When that has been done, go to edit and add the other 3 photos using the upload button.

I see now how they managed to do it and I could not.

I will try it out later as it will mean removing my 3 photos first. Even if I had seen the Gumtree instruction I doubt if it would have occurred to me to do the img link first. The fact that you tried it out from scratch seems to have solved this puzzle.

Many thanks.

Kind regards,

David
  • 0






Similar Topics

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

As Featured On:

Microsoft Yahoo BBC MSN PC Magazine Washington Post HP