Pro version not picking up first image

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

    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?


    There seems to be pattern. Same here:

    Martin Stehle

    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.


    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 (


    Martin Stehle

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

    It is unusual that a direct call of an image like 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?


    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="" alt="" width="718" height="516" /> <strong>, ©LuckyImages</strong><br />
     Wer kümmert sich um die Jungen im Bildungssystem?[/caption]
    • This reply was modified 2 years, 9 months ago by mkjjj.
    Martin Stehle

    The domain in the image path is not the same as the server’s domain

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


    As I said in my previous post: The plugin is registered on the domain for test purposes. The domain is restricted. This is why I posted the 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.

    Martin Stehle

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

    Martin Stehle

    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.


    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:

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