• Resolved Andrew

    (@brookingsphoto)


    I found an issue when the WordPress install is in a subdirectory of the siteurl. When this is the set up, the pictures on the slider will come back broken and not working. This is because when the plugin is building the src links for the images, it’s using the WP function get_bloginfo(‘url’).

    This occurs four times in the plugin, twice in the function ‘get_featured_image()’ – lines 513 and 516 – and ‘get_featured_image_thumbnail()’ – lines 549 and 552.

    I was able to solve this issue by changing the get_bloginfo(‘url’) in those lines to get_bloginfo(‘wpurl’), therefore using the subdirectory install of wordpress to get the image source url.

    I tested it on a root install as well and it worked just fine. This would be very wise to update.

    https://www.ads-software.com/plugins/numix-post-slider/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author numixtech

    (@numixtech)

    Hello Andrew,

    Thanks for letting us know about the issue as well as providing a solution too.

    We really appreciate it. We will fix this in next release.

    Thank you!

    Thread Starter Andrew

    (@brookingsphoto)

    My Pleasure, glad I could help ??

    Plugin Author numixtech

    (@numixtech)

    Hello Andrew,

    We have just updated our plugin to version 1.0.2 and we have included fix you suggested for building the src links for images.

    Thanks again.

    Thread Starter Andrew

    (@brookingsphoto)

    ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Problem with image source urls’ is closed to new replies.