Viewing Problem with the images when I publish my website

Problem with the images when I publish my website



User: cecile 12 years ago
Hi,
I just publish my website art-by-ljung.com and have problem with all the images.
I used this code

<img src={!-ASSETSPATH-!}Images/drawing-meadow-ljung.jpg style="height:429px;width:600px;border:none" alt="charcoal drawing-meadows-trees-original art" title="drawing of a meadow by Ljung" />
Do I need to publish the images?

Thanks
Cécile
User: pumpkin 12 years ago
Try it like this:

<img src="{!-ASSETSPATH-!}Images/drawing-meadow-ljung.jpg" alt="charcoal drawing-meadows-trees-original art" title="drawing of a meadow by Ljung" width="600" height="429" border="none">

You should see the image within EasyWeb (sometimes the html widgets don't update though), and of course when published (web or folder)

Last edit 12 years ago

-------------------------------
Darian
new to web design
______________________
My websites: <b>Vocal Affairs</b> // <b>Singkehlchen</b>
User: cecile 12 years ago
I publish my website in a folder and the images are missing. Do I have to load the images
to the server in a separate folder and how can I do that?
Cécile
User: pumpkin 12 years ago
Your code in the html widget is wrong. Use the code I posted and it should work when you have the images in your Assets list.

-------------------------------
Darian
new to web design
______________________
My websites: <b>Vocal Affairs</b> // <b>Singkehlchen</b>
User: cecile 12 years ago
I tried and the image doesn't appears in Everweb
User: pumpkin 12 years ago
Did you drag and drop your images into the Assets list?

-------------------------------
Darian
new to web design
______________________
My websites: <b>Vocal Affairs</b> // <b>Singkehlchen</b>
User: cecile 12 years ago
First I drag the image on the page, it appears in the assets list, I copy the relative path, create an html snippet pasted the assets path in the code. The image appears on the page and delete the first image.
User: pumpkin 12 years ago
Quote: cecile - 02/11/2013 5:48:08
The image appears on the page and delete the first image.

I'm confused. So does that mean it works now? If not, try to drag your image into the assets list, not onto the page and then copy the relative file path and create the html snippet.

Last edit 12 years ago

-------------------------------
Darian
new to web design
______________________
My websites: <b>Vocal Affairs</b> // <b>Singkehlchen</b>
User: cecile 12 years ago
I was talking about the way I'd put the image on the page in the first place.

I tried to drag the image in the assets list directly, copied the relative path again, and pasted in the html code. It still doesn't work.
The images are not transferred onto the server.
User: cecile 12 years ago
Pumpkin,
I made a mistake when I copied Roddy's code: I deleted the " after and before the image path,
and I didn't copy the relative path again when I tried yours. The two codes work.
Thanks for your help!
Cécile
User: pumpkin 12 years ago
Glad it works for you now :)

-------------------------------
Darian
new to web design
______________________
My websites: <b>Vocal Affairs</b> // <b>Singkehlchen</b>


Post Reply
You must login or signup to post.