• Resolved cchildspi

    (@cchildspi)


    I recently finished a LAMP setup and installed WordPress to my new Raspberry pi 3 Rasbian Debian. I am able to access the webpage from various devices in my home that are on the network. However, when the page loads, it’s missing all of the images that are on the site. All of the text shows up just fine, just not the images. On the Raspberry PI itself, everything shows up. Is there a way to get my other devices to load the images on the webpage?

Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter cchildspi

    (@cchildspi)

    The Site Address and the WordPress address both say: https://localhost. Using the browser inspector on one of the computers on my LAN shows one of the image url to be:
    src=”https://localhost/wp-content/uploads/2018/02/cropped-Sunrise-Cruise.jpg”
    Based on this, is there anything in there that I need to change?

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    Does your pi have a “fixed” ip address on your network, either set explicity or via a DHCP reservation? Or have you assigned it a name on your local DNS?

    Whichever, you need to use a plugin like “better search replace” to change “https://localhost” to “https://example.com” or “https://123.123.123.123”.

    Thread Starter cchildspi

    (@cchildspi)

    My PI ip address is static. I set that in my router before I installed WordPress. I will go get the plugin you mentioned right now. Do I need to go into the wordpress settings and change it, or do I let the plugin do it? I don’t want to make any changes then get locked out of the site.

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    Let the plugin do it.

    Thread Starter cchildspi

    (@cchildspi)

    I just tried the Better Search Replace plugin, and it is still doing the same thing. No luck.

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    By default, it runs in “safe mode” and makes no changes. Did you uncheck (or check) that box?

    Thread Starter cchildspi

    (@cchildspi)

    Well, son of a gun!!!! It worked. Thank you so much

    Thread Starter cchildspi

    (@cchildspi)

    I would have never known to do that

    • This reply was modified 7 years ago by cchildspi.
Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Help with images’ is closed to new replies.