WordPress.org

Ready to get started?Download WordPress

Forums

Cyclone Slider
[resolved] Makes compressed image instead of using original upload (5 posts)

  1. jingco
    Member
    Posted 1 year ago #

    When I upload an image to use with correct size it still compresses the image and uses the awful looking one.

    For my site, it uses this image 940x244 but the original uploaded was also 940x244.

    How do I turn this off?

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

  2. kosinix
    Member
    Plugin Author

    Posted 1 year ago #

    Hello there,

    You can modify the template.

    Replace <img src="<?php echo cycloneslider_thumb($slider_meta['id'], $slider_settings['width'], $slider_settings['height'], false, $slider_meta); ?>" alt="<?php echo $slider_meta['img_alt'];?>" title="<?php echo $slider_meta['img_title'];?>" />

    with

    <img src="<?php echo wp_get_attachment_url($slider_meta['id']); ?>" alt="<?php echo $slider_meta['img_alt'];?>" title="<?php echo $slider_meta['img_title'];?>" />

    for info in customizing templates check this: http://www.codefleet.net/cyclone-slider-2/#templating

  3. jingco
    Member
    Posted 1 year ago #

    Thanks dude for the plugin.

    My dev made the fix yesterday. I'm sure others are having same concern, might want to make it an option in the upgrade.

  4. kosinix
    Member
    Plugin Author

    Posted 1 year ago #

    Thanks for the feedback. That would be a nice addition.

    FYI there is always cyclone's template system. Developers can pretty much do anything with it.

  5. Stefan
    Member
    Posted 1 year ago #

    Great! Works as a charm. Very nice plugin this. Thank you so very much. Here is how i use it. http://www.swedenpicture.se

    Thanks again!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic