Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1271675

    In 2017 we’ve build a website with Enfold. Few weeks ago we did our first update … Since then we are facing a quiet large issue.

    Fist this: the website gets it post content from an external system. In that external system we input all data, then we use WP All Import to sync that system with the website. Until shortly this worked perfectly.

    And in fact this still works like it should. Except for 1 (important) thing: the header image doesn’t show up any more.

    That header image is set as a background image of a color section. When we check in the backend we see that the correct image is still set as a background … So the import/sync with the external system still works. So what’s going on?

    The image that we want to show as a header is hosted elsewhere. I thought that maybe that was the problem but then at the same time I see that other images that are on the same page (and that are also hosted elsewhere) DO show up.

    Can somebody take a look what is going wrong?

    I will put some links and logins in the Private Content field.

    Thank you for taking a look.

    #1272347

    Hello?

    #1272971

    Hi,
    Sorry for the very late reply and thanks for the links, video, and login.
    I was able to copy the test page shortcode to my localhost and I found that your shortcode is missing the image attachment ID:
    2021-01-16_153349.jpg
    This information is required, it looks like your WP All Import is missing it somehow. In my tests I found that the color section retained the URL to the image in the shortcode, but there is no attachment ID for the image, and this is what WordPress is looking for. Yet because this image doesn’t exist on my server, there is no correct attachment ID to use, thus the image won’t show.
    If I then open the color section and click on the image thumbnail and upload that image to my localhost the shortcode is updated with the correct attachment ID and the image shows.

    So I don’t know if your WP All Import is missing the attachment ID, or if during the import the actual attachment ID for the newly imported image is different and the error results in the ID being removed, or if your not importing the images and are relying on the URL to include the image, which would not work because you will also need the correct attachment ID.

    Best regards,
    Mike

    #1273288

    Hi Mike. Thanks for taking a look.

    I had noticed the same thing about that attachment ID. However: previously there wasn’t an id either en then it worked … And then even more: we can’t put an attachment id over there … Because there is no attachment ID. That image comes from another website, it’s not in our media library. So it can’t have an ID.

    (There is another image on that page (just below the header: the map) that is shown the same way (without attachment ID) and that image does show.)

    #1273307

    Hi,
    Thank you for the feedback, I do not know if this worked before, but this does follow the long-standing WordPress image issue for images that are not “installed” will not show, such as images that are FTP into the file system and not uploaded though the “media library”. Perhaps you are aware of this issue and how it relates to your issue?
    So with this in mind, I asked if you were trying to “not” import the images with WP All Import and are relying on the URL to include the image, which would not work because you will also need the correct attachment ID, which means the image needs to be imported.
    Please review this WP All Import documentation on how to also import the images with WP All Import.
    I also note that your site is running WordPress 5.6, which has been reported to have 197 bugs, you could try to downgrade to WP v5.5 to see if this issue conteues, but I believe the correct solution is to include the images with your WP All Import.

    Best regards,
    Mike

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.