an image into an html object. Doesn't diplay

This section is for posting questions which are not directly related to WYSIWYG Web Builder.
Examples of off topics: web server configuration, hosting, programming related questions, third party scripts.

Note that these questions will generally not be answered by the administrators of this forum.
Post Reply
UncleEti
 
 
Posts: 13
Joined: Thu Apr 03, 2014 7:06 am

an image into an html object. Doesn't diplay

Post by UncleEti »

I thought I would master how to code an image display in html, being an occasional html coder but after a few hours... (no kidding), no way
This code doesn't work and I do'nt understand why. Ok first I did that:
created breakpoints at 320px
view>toolbox>html object.
I had pasted some already coded text into it, between body tag.Smooth, thank you converters !

Willing an image, then I pasted these tags into before body (to be sur it stays up if possible) : image is 320x340px.

<span><img src=http://www.name of my site.fr/name of my picture.jpeg" alt="altern_text " width="320" height="340"/></span>

Actually I tried many other coding like :
<span><img src=/name of my picture.jpeg" alt="altern_text " width="320" height="340"/></span>
Etc...
Suppressing css to see what, etc...
So, thank you so much if you can help me a bit.
User avatar
BaconFries
 
 
Posts: 5326
Joined: Thu Aug 16, 2007 7:32 pm

Re: an image into an html object. Doesn't diplay

Post by BaconFries »

Maybe this. Also note all file names should not have any spaces in them or start with a number.

Code: Select all

<a href="https://www.yoursite.com">
<img src="yourimage.gif" alt="myimage" width="42" height="42" border="0">
</a>
UncleEti
 
 
Posts: 13
Joined: Thu Apr 03, 2014 7:06 am

Re: an image into an html object. Doesn't diplay

Post by UncleEti »

I have checked and my image is in the file :"images"
So I used this address (in real, I don't really care), because my image, I saw later, was in a file called "images".


<a href="https://www.mypersonaldomain.khenpo.fr">
<img src="./images/khenpo_young_small.jpg" alt="khenpo jeune homme"width="320" height="340" border="0"></a>

Then this page open :
https://www.mypersonaldomain.khenpo.fr/page6.html

Maybe it's good you to know it's a second site on the same domain : you have to upload in "blog", not "www". I understood it did not make any difference.
Alternative text shows up in red (near this weird half icon) and it point only toward the url of the site.
Your information hedped to start something. I am less stuck but er .. still stuck.
Thank you.
User avatar
Pablo
 
Posts: 21575
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: an image into an html object. Doesn't diplay

Post by Pablo »

The image is not on the server:
http://www.mypersonaldomain.khenpo.fr/i ... _small.jpg

Also the HTML code you have added to the page is not valid.
https://validator.w3.org/nu/?doc=http%3 ... page6.html

Note that this is unrelated to WWB.
UncleEti
 
 
Posts: 13
Joined: Thu Apr 03, 2014 7:06 am

Re: an image into an html object. Doesn't diplay

Post by UncleEti »

I corrected most of it : Now I get that ! that's the best so far but every object of the page became a link and the picture is blurry
http://mypersonaldomain.khenpo.fr/page6.html

I have tried other this code too : <img src="https://www.mydomain.khenpo.fr.com/blog ... _small.jpg" alt="khenpo jeune " width="320" height="340">

...and I got this. Mmy text has not turned into a link, but the picture this time is absent.

http://mypersonaldomain.khenpo.fr/page7.html


Ok sorry for posting in this "off topic". I thought it was like a "speak of what you want" space.

I drop the matter. Too much CSS to review. I think it comes from there. I have to find another way to introduce my html text in 320px.
Thank you for you time.
Post Reply