Pro version not picking up first image

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #12886
    mkjjj
    Participant

    I’ve just purchased the plugin to replace featured images with the first image of the post. First, the plugin throws many PHP warnings like this:

    Warning: Illegal offset type in isset or empty in /wp-content/plugins/quick-featured-images-pro/admin/class-quick-featured-images-pro-tools.php on line 2705

    WP debug is off. Server is running PHP 5.6, WP 4.9.4. While PHP warnings are usually not really a problem, they shouldn’t be visible, should they?

    Now to the more important issue. It seems that the plugin does not do a better job compared to the 4 years outdated free plugin in the plugin repository. For example:

    (Actually, I’m running the plugin in a test installation, but this is the orignal post. The test installation is restricted.)

    QFIP picks the second image, not the first one. This is exactly, what the free plugin did. This is the reason why I purchased QFIP.

    I regenerated the thumbnails and cleared the browser cache. No luck. All images are in the WP media library. Do I miss anything?

    #12887
    mkjjj
    Participant

    There seems to be pattern. Same here:

    #12890
    Martin Stehle
    Moderator

    Even with WP_DEBUG on I get no warnings. Maybe an upgrade to PHP 7.x would help.

    I am trying to figure out what the reason might be.

    #12901
    mkjjj
    Participant

    Changed to PHP 7.0, the warnings remain the same. Anyhow, this is really not important. The much more severe issue: Why does the plugin pick the second image sometime? As far as I can see: QFIP is not more succesful compared to the free plugin (https://wordpress.org/plugins/set-all-first-images-as-featured/).

    Thanks.

    #12912
    Martin Stehle
    Moderator

    The reasons for that behaviour are not obvious so I have to guess.

    It is unusual that a direct call of an image like https://manndat.de/?attachment_id=14603 redirects to the post which contains that image. It should lead to an attachment page. But I am thinking that is not the reason for your issue.

    I am seeing two approaches to try: using the option “Take the first thumbnail of the embedded remote content” and “Take the first attached image”. Did you try them out?

    #12914
    mkjjj
    Participant

    We don’t link to attached images, and we don’t use remote content. We simply embed the images in the body text using the standard editor workflow. We tried the ” Setze das erste Bild als Beitragsbild.” option, which seems to be the right choice. I checked the first example. The image is attached to the post. However, it is not picked as featured image. Instead, the second image in the post is picked. This occurs with a lost of posts. I have no idea why. Both images use the caption shortcode for some description. I can’t really see any difference. Here’s the HTML code:

    [caption id="attachment_13707" align="aligncenter" width="718"]<img class="wp-image-13707 size-large" src="https://temp.manndat.at/wp-content/uploads/2016/11/101970949_fotolia-com_luckyimages_718-718x516.jpg" alt="" width="718" height="516" /> <strong>fotolia.com, ©LuckyImages</strong><br />
     Wer kümmert sich um die Jungen im Bildungssystem?[/caption]
    • This reply was modified 2 years, 6 months ago by mkjjj.
    #12916
    Martin Stehle
    Moderator

    The domain temp.manndat.at in the image path is not the same as the server’s domain manndat.at.

    So it makes sense to use the option ‘Übernehme das erste externe Bild’. This will work as the free plugin you mentioned above.

    #12918
    mkjjj
    Participant

    As I said in my previous post: The plugin is registered on the temp.mannat.at domain for test purposes. The domain is restricted. This is why I posted the manndat.de URLs. You wouldn’t see the frontend of the temp domain. It’s an exact mirror of the live site. I will gladly send you credentials for the temp. domain. I just can’t test the plugin on the live site. All images are on the temp domain. The are not linked to the live site. The file system is a full copy of the live site.

    #12919
    Martin Stehle
    Moderator

    If you would send me the login credentials to info@quickfeaturedimages.com I would take a look at that.

    #12924
    Martin Stehle
    Moderator

    Thank you for the login credentials. After some testings I could find the bug in the code. I will publish a fix as soon as possible. If you see in the backend the notice about a new version of QFIP please upgrade it. After the upgrading the PHP warnings will not appear again. And the first image should be picked up correctly.

    #12931
    mkjjj
    Participant

    Thank you very much. I think, that did the trick! Awesome support, great plugin. Worth every penny! Keep up the good work!

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

Choose your currency:

Close
Converted prices are for reference only - all orders are charged in € Euros (€) EUR.
  • USDUS Dollars ($)
  • EUREuros (€)
  • GBPPounds Sterling (£)
  • CADCanadian Dollars ($)
  • AUDAustralian Dollars ($)
  • BRLBrazilian Real (R$)
  • INRIndian Rupee (₹)
  • CZKCzech Koruna
  • DKKDanish Krone
  • HKDHong Kong Dollar ($)
  • HUFHungarian Forint
  • ILSIsraeli Shekel (₪)
  • JPYJapanese Yen (¥)
  • MYRMalaysian Ringgits
  • MXNMexican Peso ($)
  • NZDNew Zealand Dollar ($)
  • NOKNorwegian Krone
  • PHPPhilippine Pesos
  • PLNPolish Zloty
  • SGDSingapore Dollar ($)
  • SEKSwedish Krona
  • CHFSwiss Franc
  • TWDTaiwan New Dollars
  • THBThai Baht (฿)
  • TRYTurkish Lira (₺)
  • RUBRussian Rubles