登录 | 注册 | FAQ
Anonymous

How to save a picture in HTML page

+ 发表回复

8 篇帖子 分页: 1 / 1


How to save a picture in HTML page

Marsha Daryabeigi » 周三 3月 18, 2015 7:26 am

I tried to save a picture on bio.htm and included a picture from my computer. The picture file is in the same directory and I named check.jpg. Picture fill entire page since then when I want to save as bio.htm I get the message that" If I save it as ANSI the information will be lost save under unicon."

Any Idea how to handle that?
头像

Marsha Daryabeigi

  • 帖子: 29
  • 注册: 周一 12月 08, 2014 5:40 pm

Re: How to save a picture in HTML page

Chikwado » 周三 3月 18, 2015 7:52 pm

You have to specify image size for example: the width and height. Or can you show your code?
头像

Chikwado

  • 帖子: 87
  • 注册: 周一 7月 29, 2013 11:36 pm
  • 地址: Nigeria
--
Focus On Advance Science And Programming.

Re: How to save a picture in HTML page

nanoverso » 周三 3月 18, 2015 8:09 pm

Can you post it online so we can see what are you doing ?
头像

nanoverso

  • 帖子: 253
  • 注册: 周六 5月 10, 2014 12:08 am
  • 地址: Brazil
--
Free VST Plugins Download.

Re: How to save a picture in HTML page

Marsha Daryabeigi » 周四 3月 19, 2015 4:08 pm

Chikwado 写道:You have to specify image size for example: the width and height. Or can you show your code?


I already put height and width but I found out it should be inside the image (img) source(src) command line
<img src="C:\duments\HTML\chek.JPG" width="100" height="130" />

Thank you
头像

Marsha Daryabeigi

  • 帖子: 29
  • 注册: 周一 12月 08, 2014 5:40 pm

Re: How to save a picture in HTML page

Chikwado » 周五 3月 20, 2015 1:34 pm

头像

Chikwado

  • 帖子: 87
  • 注册: 周一 7月 29, 2013 11:36 pm
  • 地址: Nigeria
--
Focus On Advance Science And Programming.

Re: How to save a picture in HTML page

XainPro » 周六 3月 28, 2015 7:45 am

maybe you are using the wrong editor use notepad
and it's ok to save in that format
plus do not use full path in img tag only use image name
C:\duments\HTML\chek.JPG

<img src="check.JPG">
头像

XainPro

  • 帖子: 3933
  • 注册: 周五 2月 17, 2012 8:10 pm

Re: How to save a picture in HTML page

Veeramanikandan » 周三 4月 29, 2015 12:30 pm

hi,the all pages show in an one method <img src=""> your site file path to clear in this method,
ex:
<img src="check.jpg">its enough but <img src="sample1/images/check.jpg">is used it in path.
头像

Veeramanikandan

  • 帖子: 20
  • 注册: 周一 9月 22, 2014 4:03 pm

Re: How to save a picture in HTML page

Veeramanikandan » 周一 5月 04, 2015 3:57 pm

you need to mention image dimension of every images in html pages its simple to download
头像

Veeramanikandan

  • 帖子: 20
  • 注册: 周一 9月 22, 2014 4:03 pm


+ 发表回复

分页: 1 / 1