This is a template I’m working with, and I am very new at this. I have almost 0 experience with php.
I’m not sure if this is an issue with where I’m saving the image, or something with the build. I get no errors through netlify, but a 404 error on the image. My site is www.nicolesalow.com. The page that has a test image is Design | Nicole Salow | Senior Graphic Designer
My github files are here: GitHub - nsalow32/Salow-portfolio-2022
I’ve tried 20 different locations and ways to link the image and none of them work. Right now the image is sitting in a public folder.
Here is the latest deploy log:
Deploy log
Preview
5:06:18 PM: Build ready to start
5:06:20 PM: build-image version: d2c6dbeac570350a387d832f64bc980dc964ad65 (focal)
5:06:20 PM: build-image tag: v4.8.0
5:06:20 PM: buildbot version: a018caed2ab46726023e1532e0d3214727318b1c
5:06:20 PM: Fetching cached dependencies
5:06:20 PM: Starting to download cache of 121.8MB
5:06:21 PM: Finished downloading cache in 1.306167608s
5:06:21 PM: Starting to extract cache
5:06:25 PM: Finished extracting cache in 3.608033191s
5:06:25 PM: Finished fetching cache in 4.93197457s
5:06:25 PM: Starting to prepare the repo for build
5:06:25 PM: Preparing Git Reference refs/heads/master
5:06:25 PM: Parsing package.json dependencies
5:06:27 PM: Starting build script
5:06:27 PM: Installing dependencies
5:06:27 PM: Python version set to 2.7
5:06:27 PM: Started restoring cached node version
5:06:28 PM: Finished restoring cached node version
5:06:29 PM: v12.16.1 is already installed.
5:06:29 PM: Now using node v12.16.1 (npm v6.13.4)
5:06:29 PM: Started restoring cached build plugins
5:06:29 PM: Finished restoring cached build plugins
5:06:29 PM: Attempting ruby version 2.7.2, read from environment
5:06:30 PM: Using ruby version 2.7.2
5:06:31 PM: Using PHP version 7.4
5:06:31 PM: No npm workspaces detected
5:06:31 PM: Started restoring cached node modules
5:06:31 PM: Finished restoring cached node modules
5:06:32 PM: Started restoring cached composer dependencies
5:06:32 PM: Finished restoring cached composer dependencies
5:06:32 PM: Installing dependencies from lock file (including require-dev)
5:06:32 PM: Verifying lock file contents can be installed on current platform.
5:06:32 PM: Package operations: 35 installs, 0 updates, 0 removals
5:06:32 PM: - Downloading doctrine/inflector (2.0.4)
5:06:32 PM: - Downloading erusev/parsedown (1.7.4)
5:06:32 PM: - Downloading hamcrest/hamcrest-php (v2.0.1)
5:06:32 PM: - Downloading voku/portable-ascii (1.5.6)
5:06:32 PM: - Downloading symfony/translation-contracts (v2.5.0)
5:06:32 PM: - Downloading symfony/polyfill-php80 (v1.23.1)
5:06:32 PM: - Downloading symfony/polyfill-mbstring (v1.23.1)
5:06:32 PM: - Downloading symfony/deprecation-contracts (v2.5.0)
5:06:32 PM: - Downloading symfony/translation (v5.4.1)
5:06:32 PM: - Downloading nesbot/carbon (2.55.2)
5:06:32 PM: - Downloading psr/simple-cache (1.0.1)
5:06:32 PM: - Downloading psr/container (1.1.2)
5:06:32 PM: - Downloading illuminate/contracts (v7.30.6)
5:06:32 PM: - Downloading illuminate/support (v7.30.6)
5:06:32 PM: - Downloading illuminate/container (v7.30.6)
5:06:32 PM: - Downloading illuminate/events (v7.30.6)
5:06:32 PM: - Downloading symfony/finder (v5.4.0)
5:06:32 PM: - Downloading illuminate/filesystem (v7.30.6)
5:06:32 PM: - Downloading symfony/polyfill-php73 (v1.23.0)
5:06:32 PM: - Downloading symfony/service-contracts (v2.5.0)
5:06:32 PM: - Downloading symfony/polyfill-intl-normalizer (v1.23.0)
5:06:32 PM: - Downloading symfony/polyfill-intl-grapheme (v1.23.1)
5:06:32 PM: - Downloading symfony/polyfill-ctype (v1.23.0)
5:06:32 PM: - Downloading symfony/string (v5.4.0)
5:06:32 PM: - Downloading phpoption/phpoption (1.8.1)
5:06:32 PM: - Downloading vlucas/phpdotenv (v4.2.1)
5:06:32 PM: - Downloading symfony/yaml (v5.4.0)
5:06:32 PM: - Downloading symfony/var-dumper (v5.4.1)
5:06:32 PM: - Downloading symfony/process (v5.4.0)
5:06:32 PM: - Downloading symfony/console (v5.4.1)
5:06:32 PM: - Downloading mockery/mockery (1.4.4)
5:06:32 PM: - Downloading mnapoli/front-yaml (1.8.0)
5:06:32 PM: - Downloading michelf/php-markdown (1.9.1)
5:06:32 PM: - Downloading illuminate/view (v7.30.6)
5:06:32 PM: - Downloading tightenco/jigsaw (v1.3.38)
5:06:33 PM: - Installing doctrine/inflector (2.0.4): Extracting archive
5:06:33 PM: - Installing erusev/parsedown (1.7.4): Extracting archive
5:06:33 PM: - Installing hamcrest/hamcrest-php (v2.0.1): Extracting archive
5:06:33 PM: - Installing voku/portable-ascii (1.5.6): Extracting archive
5:06:33 PM: - Installing symfony/translation-contracts (v2.5.0): Extracting archive
5:06:33 PM: - Installing symfony/polyfill-php80 (v1.23.1): Extracting archive
5:06:33 PM: - Installing symfony/polyfill-mbstring (v1.23.1): Extracting archive
5:06:33 PM: - Installing symfony/deprecation-contracts (v2.5.0): Extracting archive
5:06:33 PM: - Installing symfony/translation (v5.4.1): Extracting archive
5:06:33 PM: - Installing nesbot/carbon (2.55.2): Extracting archive
5:06:33 PM: - Installing psr/simple-cache (1.0.1): Extracting archive
5:06:33 PM: - Installing psr/container (1.1.2): Extracting archive
5:06:33 PM: - Installing illuminate/contracts (v7.30.6): Extracting archive
5:06:33 PM: - Installing illuminate/support (v7.30.6): Extracting archive
5:06:33 PM: - Installing illuminate/container (v7.30.6): Extracting archive
5:06:33 PM: - Installing illuminate/events (v7.30.6): Extracting archive
5:06:33 PM: - Installing symfony/finder (v5.4.0): Extracting archive
5:06:33 PM: - Installing illuminate/filesystem (v7.30.6): Extracting archive
5:06:33 PM: - Installing symfony/polyfill-php73 (v1.23.0): Extracting archive
5:06:33 PM: - Installing symfony/service-contracts (v2.5.0): Extracting archive
5:06:33 PM: - Installing symfony/polyfill-intl-normalizer (v1.23.0): Extracting archive
5:06:33 PM: - Installing symfony/polyfill-intl-grapheme (v1.23.1): Extracting archive
5:06:33 PM: - Installing symfony/polyfill-ctype (v1.23.0): Extracting archive
5:06:33 PM: - Installing symfony/string (v5.4.0): Extracting archive
5:06:33 PM: - Installing phpoption/phpoption (1.8.1): Extracting archive
5:06:33 PM: - Installing vlucas/phpdotenv (v4.2.1): Extracting archive
5:06:33 PM: - Installing symfony/yaml (v5.4.0): Extracting archive
5:06:33 PM: - Installing symfony/var-dumper (v5.4.1): Extracting archive
5:06:33 PM: - Installing symfony/process (v5.4.0): Extracting archive
5:06:33 PM: - Installing symfony/console (v5.4.1): Extracting archive
5:06:33 PM: - Installing mockery/mockery (1.4.4): Extracting archive
5:06:33 PM: - Installing mnapoli/front-yaml (1.8.0): Extracting archive
5:06:33 PM: - Installing michelf/php-markdown (1.9.1): Extracting archive
5:06:33 PM: - Installing illuminate/view (v7.30.6): Extracting archive
5:06:33 PM: - Installing tightenco/jigsaw (v1.3.38): Extracting archive
5:06:33 PM: Generating autoload files
5:06:33 PM: 21 packages you are using are looking for funding.
5:06:33 PM: Use the composer fund
command to find out more!
5:06:33 PM: Started restoring cached go cache
5:06:33 PM: Finished restoring cached go cache
5:06:33 PM: go version go1.16.5 linux/amd64
5:06:33 PM: go version go1.16.5 linux/amd64
5:06:33 PM: Installing missing commands
5:06:33 PM: Verify run directory
5:06:35 PM:
5:06:35 PM: ────────────────────────────────────────────────────────────────
5:06:35 PM: Netlify Build
5:06:35 PM: ────────────────────────────────────────────────────────────────
5:06:35 PM:
5:06:35 PM: ❯ Version
5:06:35 PM: @netlify/build 27.0.2
5:06:35 PM:
5:06:35 PM: ❯ Flags
5:06:35 PM: baseRelDir: true
5:06:35 PM: buildId: 6271a75a1f900c0009e14223
5:06:35 PM: deployId: 6271a75a1f900c0009e14225
5:06:35 PM:
5:06:35 PM: ❯ Current directory
5:06:35 PM: /opt/build/repo
5:06:35 PM:
5:06:35 PM: ❯ Config file
5:06:35 PM: /opt/build/repo/netlify.toml
5:06:35 PM:
5:06:35 PM: ❯ Context
5:06:35 PM: production
5:06:35 PM:
5:06:35 PM: ────────────────────────────────────────────────────────────────
5:06:35 PM: 1. build.command from netlify.toml
5:06:35 PM: ────────────────────────────────────────────────────────────────
5:06:35 PM:
5:06:35 PM: $ npm run prod
5:06:35 PM: > @ prod /opt/build/repo
5:06:35 PM: > mix --production
5:06:37 PM: [info] [webpackbar] Compiling Mix
5:06:40 PM:
5:06:40 PM:
5:06:40 PM: Laravel Mix v6.0.39
5:06:40 PM:
5:06:40 PM: Compiled Successfully in 2575ms
5:06:40 PM: ┌───────────────────────────────────┬───────────┐
5:06:40 PM: │ File │ Size │
5:06:40 PM: ├───────────────────────────────────┼───────────┤
5:06:40 PM: Creating deploy upload records
5:06:40 PM: │ /js/main.js │ 75.2 KiB │
5:06:40 PM: │ /js/main.js.LICENSE.txt │ 986 bytes │
5:06:40 PM: │ css/main.css │ 7.58 KiB │
5:06:40 PM: └───────────────────────────────────┴───────────┘
5:06:40 PM: [success] [webpackbar] Mix: Compiled successfully in 2.65s
5:06:40 PM: webpack compiled successfully
5:06:40 PM:
5:06:40 PM: (build.command completed in 4.9s)
5:06:40 PM:
5:06:40 PM: ────────────────────────────────────────────────────────────────
5:06:40 PM: 2. Deploy site
5:06:40 PM: ────────────────────────────────────────────────────────────────
5:06:40 PM:
5:06:40 PM: Starting to deploy site from ‘build_production’
5:06:40 PM: Creating deploy tree
5:06:41 PM: Starting post processing
5:06:40 PM: 2 new files to upload
5:06:40 PM: 0 new functions to upload
5:06:41 PM: Site deploy was successfully initiated
5:06:41 PM:
5:06:41 PM: Post processing - HTML
5:06:41 PM: (Deploy site completed in 569ms)
5:06:41 PM:
5:06:41 PM: ────────────────────────────────────────────────────────────────
5:06:41 PM: Netlify Build Complete
5:06:41 PM: ────────────────────────────────────────────────────────────────
5:06:41 PM:
5:06:41 PM: (Netlify Build completed in 5.5s)
5:06:41 PM: Caching artifacts
5:06:41 PM: Started saving node modules
5:06:41 PM: Post processing - header rules
5:06:41 PM: Finished saving node modules
5:06:41 PM: Started saving build plugins
5:06:41 PM: Finished saving build plugins
5:06:41 PM: Post processing - redirect rules
5:06:41 PM: Started saving pip cache
5:06:41 PM: Finished saving pip cache
5:06:41 PM: Started saving emacs cask dependencies
5:06:41 PM: Finished saving emacs cask dependencies
5:06:41 PM: Post processing done
5:06:41 PM: Started saving maven dependencies
5:06:41 PM: Finished saving maven dependencies
5:06:41 PM: Started saving boot dependencies
5:06:41 PM: Finished saving boot dependencies
5:06:41 PM: Started saving composer dependencies
5:06:41 PM: Finished saving composer dependencies
5:06:41 PM: Started saving rust rustup cache
5:06:41 PM: Finished saving rust rustup cache
5:06:41 PM: Started saving go dependencies
5:06:41 PM: Finished saving go dependencies
5:06:41 PM: Build script success
5:06:45 PM: Site is live
5:07:01 PM: Finished processing build request in 40.956105106s