• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

pictures not showing up

New Here ,
Oct 05, 2022 Oct 05, 2022

Copy link to clipboard

Copied

I'm working on creating a webpage for an assignment. I am to send my html files on a flash drive. Upon testing the sites, none of my pictures are showing. Is there a way to "embed" them so that they will be there when I send my html files?  I am very new to Dreamweaver, so I'm sure there's something I'm missing. 

Views

64

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 05, 2022 Oct 05, 2022

Copy link to clipboard

Copied

Did you define a local site folder for your project files?  This is a critical first step when creating websites.  Go to Site > New Site.  Create a folder on your primary hard drive, i.e. C:\MyTestSite.

 

Insert > Image.  Point to a web optimized image from your local site folder.

<img src="my_image_file.jpg" alt="placeholder">

 

Save document as index.html (your site's home page).

 

When you're ready to share the assignment, copy your entire local site folder to the USB stick.

 

Hope that helps. 

 

 

Nancy O'Shea— Product User, Community Expert & Moderator
Alt-Web Design & Publishing ~ Web : Print : Graphics : Media

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 06, 2022 Oct 06, 2022

Copy link to clipboard

Copied

LATEST

No, there is no way to physically embed an image within an html file.

The way html files work, an image stored within your site folder is linked to from within the page and displays when a browser reads the code.

When you define your site as Nancy suggests, you will create a root folder for your site and all of your assets (images, pages, scripts, etc) will need to be stored there. When you put your work on your flash drive, you'll simply create a copy of that folder on the drive.


When your teacher opens the drive and browses to your .html pages, the image links will work correctly and the browser will show your pictures.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines