Pictures resized just horizontaly

Home Forums Iconic One Pro Support Pictures resized just horizontaly

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #5469
    Axagon
    Participant

    Hello,

    when using your theme on mobile devices (if there is not enough resolution), pictures in the post are resized only horizontally (keeping their vertical size unchanged) which looks kinda strange as they have improper aspect ratio.

    http://imgworld.cz/gfVU8PfBHc.jpg

    it should look like this:

    http://imgWorld.cz/mry7NlBxpc.jpg

    Any help?

    Thank you.

    #5472

    Hi,

    The featured image must be bigger than the minimum resolution of thumbnail for proper cropping to take place. If the images are big already and still thumbnails are of different sizes then you have run this plugin once https://wordpress.org/plugins/regenerate-thumbnails/

    There is one more option in case it suits your site.

    line 54 of functions.php is

    add_image_size('excerpt-thumbnail', 200, 140, true); // Sets Index Page Thumbnails

    You can try to stop cropping from center by setting true to false.

    add_image_size('excerpt-thumbnail', 200, 140, false); // Sets Index Page Thumbnails

    For more usage and examples please refer:

    add_image_size()

    After every change, you will have to run the regenerate thumbnails plugin.

    Now that you know all options, I do think that the current image settings of the theme are the best suited for most sites.

    — Also check https://demo.themonic.com/io-pro/2/ on your device and do email the site link to [email protected] so I can check for issues.

    #5473
    Axagon
    Participant

    Thank you for your quick reply. I forgot to add that I plan to use your template to upgrade my old blog with 1000+ posts with images sourced externally via link. They are not featured nor embedded into WP database.

    I did try to build my theme in Genesis with Dynamic Web Site builder before I found about Iconic One Pro and scaling of theme was OK.

    http://imgWorld.cz/BfVXwubIB7.jpg

    Could this (external images) be a problem?

    #5474

    WP crop functions cannot work with external images but email me the link and I will see if this can be fixed via custom CSS.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.