How to add images in website through the HTML component?

  • 1
  • Question
  • Updated 8 years ago
Want various images to be added into the website using HTML component. But the images are not getting displayed. Where do I need to upload these images?
Photo of shibinr

shibinr

  • 2 Posts
  • 0 Reply Likes
  • confident

Posted 8 years ago

  • 1
Photo of smithy

smithy

  • 1222 Posts
  • 28 Reply Likes
hi shibinr,

1. drag n drop a HTML widget onto your website

then copy and paste this code in.

<!--
<img src="resources/NAMEOFMIAGE.jpg with="50" width="50" alt="NAME YOUR IMAGE" />
-->

(please remove the <!-- and -->. that is to stop the forum readin it)

the resources bit is the yola file manager (DO NOT CHNAGE THAT OR IT WON'T WORK) nameofimage.jpg or .gif or.png is the name of your picture. width and the height is qwhere you can aljust the height and width. the alt is when you hover it will say what ever u have got typed in that alt part.

i hope this helps
Photo of papa

papa

  • 327 Posts
  • 20 Reply Likes
Hi

Another way is to load your images in the file manger, Then under widgets, take the picture widget to when you want it. From there the file manger will open and you can select the picture that you want

papa
Photo of smithy

smithy

  • 1222 Posts
  • 28 Reply Likes
4got that widget lol
Photo of shibinr

shibinr

  • 2 Posts
  • 0 Reply Likes
Thanks a lot, Smithy, Papa :)