• Resolved nima12312

    (@nima12312)


    Hello
    I installed the plug-in in the lamp.
    And I have given the photo link as ‘/folder/image.jpg’
    There is no problem and it works, but sometimes when I go to the posts in the site, the photo is not displayed.
    To solve the problem, I have to go to edit the post and click on update.

    If you want to see this problem sooner, install the wp Rocket plugin and go to the database menu and check all the boxes and click ‘save change and optimize’, you will see that most of the photos you have on the site are no longer displayed.
    And you have to go into post editing and click on update to fix it.

    Note: This problem happens even when the Rocket plugin is not installed and is not because of this plugin

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Marcel

    (@marceljm)

    Hi, @nima12312.

    First, FIFU was made to work with EXTERNAL images. There is no advantage in using this plugin with local images.

    Second, you must use FULL URLs, not relative paths, otherwise the images may not be found when the theme or a third-party plugin needs that.

    Thread Starter nima12312

    (@nima12312)

    Hello @marceljm
    Thank you for your reply
    First of all, what I am doing is also an external link.
    In WordPress, it is not possible to select photos that are outside the WordPress uploads folder as features photos.
    So every photo outside this folder is considered as an external link.

    Secondly,
    I am a web designer
    First, I design the sites locally.
    Then I transfer them to the real host.
    That’s why I give a relative link.
    No plugin has a problem with this and I will link like this everywhere.

    And it should not be a problem and this is a bug that can be fixed.
    I didn’t try it on a real host, maybe the same problem exists on a real host

    • This reply was modified 1 year, 3 months ago by nima12312.
    • This reply was modified 1 year, 3 months ago by nima12312.
    Plugin Author Marcel

    (@marceljm)

    Hi, @nima12312.

    Even if you have moved the images to a different directory, they are still local, otherwise you couldn’t access them using relative paths.

    As I said, there is no advantages in using the plugin with local images, but it’s possible. You just need to use the URL (Internet address) instead of relative paths.

    FIFU means Featured Image from URL, not Featured Image from Relative Paths.

    Since “/folder/image.jpg” is NOT an URL, this is not a bug.

    Use something like https://localhost/folder/image.jpg instead.

    When moving the site to another server, just follow:

    FIFU > Troubleshooting > “Images missing due domain change”.

    Thread Starter nima12312

    (@nima12312)

    OK
    However, I chose FIFU because it had relative url capability (like Elementor), otherwise other plugins also work well with absolute url.

    Thanks for your reply

    Plugin Author Marcel

    (@marceljm)

    Hi, @nima12312.

    FIFU never supported relative paths. It may work if your are lucky, but depending on where and how plugins and themes will call those images, they won’t be found. It’s not something we can control, because FIFU doesn’t display any image. It only saves the URL in the database and other components will get that.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘photo not displayed’ is closed to new replies.