Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1159397

    Rad
    Moderator

    Hi there,

    1. Can’t tell since I can’t compare it to your site’s loaded images. I can confirm that if you’ll able to provide a sample URL where images are loaded.

    2. It shouldn’t hurt loading speed, the question will be what are your target devices? Do you only target old mobile devices? Because modern devices have high resolution, there are event Retina devices that surpass desktop resolution. Retina devices require double the size of original image. Standard mobile is now about 767px wide, turn it in landscape and it will about 1024px. 900px is about in the middle. If you prefer a fast loading image over quality then you can always modify the code 🙂

    3. I think resizing happen first, then cropping. Example, registered size is 400×400 and you uploaded a 800×1600 image (portrait). Then 800×1600 will then be resized to 400×800, then crop it 400×400 reducing the height.

    Same goes for 1600×800 image (landscape), it will be resized to 800×400, then crop it to 400×400 reducing the width.

    That’s why I recommend maintaining aspect ratio regardless of image size you upload. Example, 400×400, 600×600, 900×900, they are different sizes but have same aspect ratio. Cropping will not occur.

    Though, WordPress may have multiple algorithms and not just this.

    4. You’re welcome!

    Cheers!

    #1159557

    necxelos
    Participant

    1. True, without me having a live URL You can’t check those, against my screenshot.

    Just tell me how many image sizes are used specificaly by X Theme. Those 4 declared in setup.php theme I assume, but I only saw ‘entry’ and ‘entry-fullwidth’ being used (as featured images for normal and fullwidth content setting respectively). I didn’t see ‘cropped’ versions used anywhere. What’s their purpose?

    Do You also use some of the standard WordPress ones? Like the one with 150px*150px which seems to be a standard thumbnail across all themes I encountered? Anything else?

    [I just need to know which images I need to set to my own sizes and test how their look.]
    [If by any chance You get the idea where other sizes (generic WP ones) are declared I’d be happy to know too.]

    2. Thanks, that’s all I needed to know 🙂

    3. Thanks, little curious dwarf in my head is happy 🙂

    #1159896

    Rad
    Moderator

    Hi there,

    1. Yes, those 4 registered sizes. Cropped images are used within portfolio images. If you’ll go to customizer’s portfolio section, there is an option to crop it.

    We don’t use WordPress’s built-in image sizes, or not yet. But you can always utilize them and use on your custom code. They registered and declared within WordPress. And you can only change them at Admin > Settings > Media .

    Thanks!