Support » Theme: Clean Box » WP responsive images and Clean Box

  • I have been using a child of Clean Box 2.3 for awhile now. I have the Adaptive Images plugin installed. But while trying to optimize my site, I came across the issue of responsive design images created by WP 4.4+, something I had not previously paid attention to.

    I am trying to figure out if I ever needed Adaptive Images to begin with; that is, does Clean Box itself create multiple image sizes for different devices, or does it just resize images in CSS?

    When I uploaded a new image to see what happens, I found it and 8 variations of it in the wp-content/uploads folder. Adaptive Images makes its own versions if requested by a device and stores the images in their own folder, wp-content/cache/adaptive-images.

    This strikes me as redundant and possibly just eating up my storage space on my server.

    Therefore, does Clean Box work with this new responsive design core feature of WP?

    Do I need any plugins at all to deliver smaller images to smaller devices in order to optimize my responsive design site?

    When I ask the plugin developer, they say I still need the plugin because WP is merely creating multiple image sizes as per my theme’s instructions:

    WordPress only creates the image sizes that the theme developer has instructed it to create. It does not create any images according to actual responsive needs whatsoever. Of course, as I said, before this approach is helpful, but not responsive web design oriented.

    The 8 other image size that you see this image appearing are image sizes set up by your theme. Most probably your theme developer made that design decision in advance for you.

    (The thread is https://wordpress.org/support/topic/why-this-now-that-wp-4-4-is-responsive/#post-10672082.)

    But if Clean Box is instructing WP to make multiples of images uploaded to the media library, then surely there must be a reason for this, yes?

    Any help is much appreciated.

Viewing 3 replies - 1 through 3 (of 3 total)
  • @bad_egg: Using CSS is not enough to resize images as the image may be needed in different places in the site. Somewhere it maybe needed as a thumbnail where as somewhere it maybe needed in its original size. Even the default WordPress themes does that by cropping images it into different sizes.

    Let me know if this helps you out!
    Also for swift replies, post your issues and queries on our official theme support forum please post in our free forum at https://catchthemes.com/support-forum/

    Kind Regards,
    Skandha

    Hi Skandha,

    Not really. 🙁

    What I am trying to figure out is which software — WP, Clean Box, or Adaptive Images — is actually handling image delivery in responsive design.

    For example, in order to accommodate Retina screens, one needs 2X the normal pixels. So for my header I uploaded a 2500 x 462 pixel image. On my laptop and desktop this is scaled to 1160 x 214. Interestingly, this should not be scaled but rather a smaller image should be delivered. Yet neither WP, Clean Box, or the Adaptive images plugin are doing so (though Adaptive Images say their plugin only works for mobile devices). This image (and others) scaling is slowing down the loading of my site.

    So my questions are these: Since Clean Box is responsive design, when I upload an image to my WP library, does Clean Box create multiple, resized images for delivery to different devices?

    If not, how does Clean Box work with WP 4.4 and the way it creates multiple image sizes? Is what WP does true responsive images; that is, does it deliver different image sizes to different devices?

    (I noticed, though, that WP does not really scale images; it just seems to make cropped versions. Not sure what good that does.)

    Is there any need for the Adaptive Images plugin in this new(ish) environment whereby WP has supposedly made responsive imaging a part of the core WP environment?

    Thanks.

    Hi Bad_Egg,

    I think there is some misunderstanding. As you’ve mentioned above, yes, Clean Box, generates 8 different image sizes. Among them, 3 are auto generated by WP itself i.e. thumbnail, medium and large. All these image sizes are generated not for responsive purpose, but for design purpose.

    There are different sections throughout the theme and different sections require different image sizes (Design perspective). Below are the image sizes generated by the theme and there usage:

    • Clean Box Featured: Used in archive page
    • Clean Box Featured Grid: Used in Featured Grid Content section
    • Clean Box Featured Content: Used in Featured Content section
    • Clean Box Featured Header: Used in Header
    • Clean Box Featured Slider: Used in Featured Slider

    All these image has there own usage rather than the responsive design. So, if you need the responsive image design, as the Plugin Developer said,

    WordPress only creates the image sizes that the theme developer has instructed it to create. It does not create any images according to actual responsive needs whatsoever. Of course, as I said, before this approach is helpful, but not responsive web design oriented.

    you’ll will need to use the plugin.

    You can avoid these auto generated image, but will cause the design issue, so I strongly recommend you not to do so.

    Regards,
    Mahesh

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘WP responsive images and Clean Box’ is closed to new replies.