Thanks, you both were on the right track.
My Apache document root is htdocs, so, WordPress files are located there.
But the actual WP document root is the “wp-content” directory.
So to reach the images directory I had to use:
TheDoc has given me the right PHP tag to use for this situation. Thanks!