WordPress.org

Ready to get started?Download WordPress

Forums

WordPress slider plugin - Featured Articles Lite
[Plugin: Featured Articles Lite] Featured Articles PRO - How to get homothetic image size (2 posts)

  1. keepclif
    Member
    Posted 1 year ago #

    Hello,

    I installed (and bought) your plugin in his PRO version and it is great !

    I just have one problem :
    I use the same featured images in different slideshows of different sizes (but always homothetic).
    The images widths are stretching well, but the height seems kind of blocked. On the different slideshows I have, the images height seems to always be the same and my images get twisted (in a non-homothetic way).

    I searched into the code (display.php, etc.) in order to unset the images height but couldn't find anything.

    Thank you in advance for your help !

    http://wordpress.org/extend/plugins/featured-articles-lite/

  2. constantin.boiangiu
    Member
    Plugin Author

    Posted 1 year ago #

    Sorry for the delay, we don't monitor this forum on a daily basis. Whenever you have a problem, please use our forums here: http://www.codeflavors.com/codeflavors-forums/forum/featured-articles/ or send us a support ticket from your CodeFlavors account.

    About images in slideshows, the size of images gets set by what sizes WordPress returns. When retrieving an image attached to a post/page based on image size set in slideshow settings, WordPress will return the image path along with image width and height. When displayed into a slideshow, the image will have the width and height parameters set on it for better page performance.

    What I don't understand though is what exactly are you trying to do. You want to change image size from JavaScript or CSS?

    As a note, complete image HTML is returned from template function and displayed directly into the slideshow to make it easier to create themes for Featured Articles. Function can be found in common.php file from folder includes but I wouldn't suggest you make changes into that file since it's a core file that might get overwritten whenever you update the plugin.

    Please let me know. Also, if you need help coding a theme, please post a support ticket on CodeFlavors and I'll do my best to help you in any way I can.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic