• Resolved holeytonal

    (@holeytonal)


    The full size of images on my site are too large and so it takes too long for WP Carousel to resize and load the images.

    Is there a way to change the type of image that the Carousel displays – the documentation doesn’t seem to point in this direction.

    Here is where the carousel is: https://www.fine-art-icons.com/

Viewing 4 replies - 1 through 4 (of 4 total)
  • 2 months old question, no answer. A serious one too. I just spent a week with designing and customizing this thing and now I have to face this :[

    Support: Please, if you have any question, problem or comment, ask them in the forum

    Yeah right…
    Anyone with a solution? Browsed through the source, but it’s a mess (a lot of disabled code, Spanish(?) comments)… I don’t want to throw it out now, not after the work I’ve put into it.

    Alright, I have a solution for my case, hope that helps. I’m using the thing with ‘categories’ mode. If you look around the code, you may realize why is this significant. My guess is it could work with other modes too… but I didn’t dig into it that deep.
    Anyways. Go to line 2977 at the original wp-carousel.php file. You should see this:

    $return['image_url'] = wp_get_attachment_url($img_url_temp);

    Now change it to this:

    $return['image_url'] = wp_get_attachment_thumb_url($img_url_temp);

    There. No more big images scaled to thumb size. Not very pretty, because it’s a 100×100 thumbnail, but if you designed the thumbnail sizes in the plugin’s config small enough, it’s not going to be a problem. Of course the aspect ratio still gone.
    Cheers.

    Thread Starter holeytonal

    (@holeytonal)

    Awesome! Works a treat – also you can edit the default size of the thumbnail in the Media settings from your dashboard.

    Of course you can! How did I missed that? ?? Thanks and you’re welcome.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: WP Carousel] How can you display featured image thumbnail in carousel’ is closed to new replies.