Add an image in Phoenix Code Community
28 seconds · On-screen instructions
This walkthrough uses the free Community features. It starts with photo.jpg already copied into the first-website project’s images folder.
Read the full tutorial and get the practice website
Read the video’s on-screen instructions
- Community: choose Highlight Mode beside the pen.
- Click the picture to find its existing image tag.
- Change only the src path to images/photo.jpg.
- Update the alt description. Keep the other attributes.
- Save with Ctrl+S on Windows/Linux or Cmd+S on Mac.
- Check your photo. Width and height are unchanged.