Home › Forums › Iconic One Pro Support › Pictures resized just horizontaly
- This topic has 3 replies, 2 voices, and was last updated 5 years, 9 months ago by Themonic-Support.
- AuthorPosts
- March 8, 2019 at 7:21 am #5469AxagonParticipant
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.
March 8, 2019 at 1:13 pm #5472Themonic-SupportKeymasterHi,
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:
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.
March 8, 2019 at 1:39 pm #5473AxagonParticipantThank 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?
March 8, 2019 at 1:56 pm #5474Themonic-SupportKeymasterWP crop functions cannot work with external images but email me the link and I will see if this can be fixed via custom CSS.
- AuthorPosts
- You must be logged in to reply to this topic.