WordPress.org

Forums

Len Slider
[resolved] Banner images not working (I've got a fix) (4 posts)

  1. karololszak
    Member
    Posted 2 years ago #

    So I couldn't upload any images to slider - it didn't copy them, it created all the codes etc but the image wasn't there (on FTP). I found a fix in function lenslider_resize_image_library() - line 1810, the copy() function - it uses httpPath and it should use absAttUrl.

    To fix replace line 1810 from this:
    @copy($obj->httpPath, $newpath);
    to this:
    @copy($obj->absAttUrl, $newpath);

    http://wordpress.org/extend/plugins/len-slider/

  2. Igor Sazonov
    Member
    Plugin Author

    Posted 2 years ago #

    Thanks, karololszak! I will take a look at this week!

  3. Igor Sazonov
    Member
    Plugin Author

    Posted 2 years ago #

    Are you sure this is right solution? copy function takes http path as well

  4. acekuz
    Member
    Posted 2 years ago #

    Tnx karololszak this help me a lot, and fix my problem with upload an image.
    this fix must be on next update in len slider.

    tnx again

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Len Slider
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags