Support » Plugin: Simple Sponsorships » Some sponsor images display as thumbnails

  • Resolved msielski


    We are using WordPress 5.2.2 and Simple Sponsorships 3.0.0. Some sponsor images show up as thumbnails and others do not. Our sponsor widget is set to show Full images.

    The images which are shown as thumbnails have HTML like:

    <img src="http://wordpress.local/wp-content/uploads/2019/07/logo-150x89.png" class="attachment-0x100 size-0x100 wp-post-image" alt="" width="150" height="89">

    The images which work properly have HTML like:

    <img src="http://wordpress.local/wp-content/uploads/2019/07/logo2-300x100.png" class="attachment-0x100 size-0x100 wp-post-image" alt="" srcset="http://wordpress.local/wp-content/uploads/2019/07/logo2-300x100.png 300w, http://wordpress.local/wp-content/uploads/2019/07/logo2.png 418w" sizes="(max-width: 300px) 100vw, 300px" width="300" height="100">

    I don’t see a pattern in which HTML gets displayed, but my expectation is that all sponsors are rendered consistently so this seems broken.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Igor Benic


    Hi @msielski, I’ll have to check that, but Simple Sponsorships is at 1.2.2 so I guess this might be related to “Sponsors” plugin which I acquired recently.

    The function for showing the images is always the same so it has to do something with how WordPress processes it. Sometimes, images don’t get at all processed for all of their sizes so they use it uses the only image it could find.

    I will test the widget images and see if it has something to do with the code.

    Also, are you maybe using the horizontal option? If the horizontal option is used, it will not use the image size but the image size up to 100px in height. As said in the Widget section, the image size is used only for vertical display.

    • This reply was modified 5 months ago by Igor Benic.
    Plugin Author Igor Benic


    Hi @msielski,

    this was fixed in the other plugin in the recent version.

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