Viewing 15 replies - 1 through 15 (of 15 total)
  • Plugin Author Brian Harris

    (@zgani)

    This is a theme territory but I’m looking in to the possibility to manipulate the size via the plugin.

    Will update as soon as I have a good working solution.

    Zulf

    Thread Starter Lucas Janin

    (@lucasjanin)

    Thanks for checking this option !
    Have a nice week-end ??

    Plugin Author Brian Harris

    (@zgani)

    Doing a separate setting for the slider to adjust width and height – still testing this.

    Will update as soon as I can.

    Zulf

    Thread Starter Lucas Janin

    (@lucasjanin)

    Cool thanks !

    Plugin Author Brian Harris

    (@zgani)

    Slider options added in v1.1.4 – width, height and auto slide are now available.

    Do let me know if there’s anything that needs adjusting.

    Thread Starter Lucas Janin

    (@lucasjanin)

    Hi Zulfikar,

    I try the new option in “Feature slider option”.
    No difference… Picture on slider still using 672×372 media.

    https://blog.lucas3d.com/wp-content/uploads/2013/07/how-to-train-your-dragon-2-teaser-une-672×372.jpg

    Perhaps, I’m not understanding something.

    Perhaps a documentation with only some screen capture can me very helpful ?? I know it’s take time…

    Plugin Author Brian Harris

    (@zgani)

    Hello Lucas,

    Could you set up the slider so that I can take a look and see what’s causing the changes not to take effect.

    Cheers,
    Zulf

    Thread Starter Lucas Janin

    (@lucasjanin)

    OK so it’s working perfectly on diorama mode but not grid.
    Grid still using all width.

    Regarding the request, I get confuse for the name (my broken English). I was talking about the picture display on the top of the post (Featured image?). like this :

    https://blog.lucas3d.com/2013/12/18/bacack-obama-a-dreamworks-animation/

    This images is 672×372 and it need to be 1038×576.

    Sorry of the confusion, My Wordpres is in french (I did this only for have the theme in french).

    Plugin Author Brian Harris

    (@zgani)

    Ah OK, now I get what you mean.

    The 672×372 is the default thumbnail size set by the theme in its functions.php.

    For the plugin – under the “TwentyFourteen General Options” the overall content max-width is applied to the Featured image correctly. The height however is set to auto which is controlled by the theme – so I’m guessing we need to take control of the height as well?

    As for the Grid featured section, I had left that alone and for the theme to handle as the impression I got was we were talking about the slider. Again I can look at ways to have that adjusted via the plugin too if required.

    Let me know if I’m on the right track and I’ll look in to these issues on the weekend with an update on Monday coming.

    Thread Starter Lucas Janin

    (@lucasjanin)

    Hi Zulfikar,

    I think I understand better, to be clear a spend some time to create pictures of what I look like to do :

    https://www.dropbox.com/sh/18mznqssekyyl04/cXD6PX_AZT

    So let me know what can be done by future implementation of your plugin or by a child theme. Thanks a lot !!!!

    Have a nice day !

    Plugin Author Brian Harris

    (@zgani)

    Hello Lucas,

    Image height control added in v1.1.5 – please update and let me know how we are doing.

    Thanks,
    Zulf

    Thread Starter Lucas Janin

    (@lucasjanin)

    Thanks to add control of Image height !
    It’s working nice but it’s still using 672×372 picture not 1038×576

    So let me know what can be done by future implementation of your plugin or by a child theme.

    Thanks

    Plugin Author Brian Harris

    (@zgani)

    Hello Lucas,

    That would have to be done via a child theme as it requires or would require editing some template files.

    What you’d need to do is declare the thumbnail size you want like so (this is done in the functions.php)

    function childthemename_setup() {
        add_image_size( 'childthemename-home-thumb', 1038, 576, true );
    }
    add_action( 'after_setup_theme', 'childthemename_setup' );

    You’d then copy over template-tags.php file in to the child theme and amend the the_post_thumbnail(); to
    the_post_thumbnail( 'childthemename-home-thumb' );

    In addition you’ll need to change the reference to twentyfourteen over to your child theme’s slug.

    Hopefully that helps you get started but you can always come back and ask some more if the need be ??

    Regards,
    Zulf

    Thread Starter Lucas Janin

    (@lucasjanin)

    Thanks for trying to help a child theme designer very beginner ??
    So I have created a new image size, childthemename-home-thumb

    It’s working because new files upload get this resolution.

    copy inc/template-tags.php to child theme and change :

    the_post_thumbnail(); to
    the_post_thumbnail( ‘childthemename-home-thumb’ );

    But I don’t get the next step…
    Perhaps is too late too ??

    Thread Starter Lucas Janin

    (@lucasjanin)

    Hi Zulfikar,

    Changing inc/template-tags.php in parent theme work pefectly.
    Unfortunately, it’s not working in my child theme. I suppose it’s miss a call to this php in my functions.php ?

    <?php
    /* functions for child of twentyten */
    function mytheme_setup() {
        set_post_thumbnail_size(341, 189, true );
        add_image_size( 'twentyfourteen-full-width', 1023, 567, true );
    }
    add_action('after_setup_theme', 'mytheme_setup', 20);
    ?>

    Let me know if you have time ??

    Thanks

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘Slider Image Size Issue’ is closed to new replies.