{"id":106008,"date":"2019-07-03T03:41:50","date_gmt":"2019-07-03T03:41:50","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/responsive-image-sizes-divi\/"},"modified":"2023-08-24T04:41:58","modified_gmt":"2023-08-24T04:41:58","slug":"responsive-image-sizes-divi","status":"closed","type":"plugin","link":"https:\/\/ewe.wordpress.org\/plugins\/responsive-image-sizes-divi\/","author":16929048,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"2.0.0","stable_tag":"2.0.0","tested":"6.3.8","requires":"4.9.8","requires_php":"","requires_plugins":null,"header_name":"Responsive Image Sizes Divi","header_author":"WP Tools","header_description":"Divi image module with srcset attribute support. Make your website load faster","assets_banners_color":"1e71ac","last_updated":"2023-08-24 04:41:58","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"https:\/\/wptools.app","rating":0,"author_block_rating":0,"active_installs":100,"downloads":3230,"num_ratings":1,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","faq","changelog"],"tags":{"1.1.0":{"tag":"1.1.0","author":"wpt00ls","date":"2019-07-03 04:00:50"},"1.2.0":{"tag":"1.2.0","author":"wpt00ls","date":"2020-04-17 06:48:06"},"2.0.0":{"tag":"2.0.0","author":"wpt00ls","date":"2023-08-24 04:41:58"}},"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":2116601,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":2116601,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":2116601,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.png":{"filename":"banner-772x250.png","revision":2116601,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.1.0","1.2.0","2.0.0"],"block_files":[],"assets_screenshots":{"screenshot-1.jpg":{"filename":"screenshot-1.jpg","revision":2116601,"resolution":"1","location":"assets","locale":""}},"screenshots":{"1":"Divi Responsive Image Sizes Module Settings."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[10731,3473,2698],"plugin_category":[],"plugin_contributors":[169663],"plugin_business_model":[],"class_list":["post-106008","plugin","type-plugin","status-closed","hentry","plugin_tags-divi","plugin_tags-image-sizes","plugin_tags-responsive-images","plugin_contributors-wpt00ls","plugin_committers-wpt00ls"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/responsive-image-sizes-divi_1e71ac.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/responsive-image-sizes-divi\/assets\/screenshot-1.jpg?rev=2116601","caption":"Divi Responsive Image Sizes Module Settings."}],"raw_content":"<!--section=description-->\n<p>Make your website load faster in Divi Theme using image srcsets.<\/p>\n\n<h3>The Problem \u2013 Images on divi webpage serving single image size irrespective of devices sizes<\/h3>\n\n<ul>\n<li>Is your divi webpage slow?<\/li>\n<li>Do the  tags serve a single size irrespective of the device size?<\/li>\n<\/ul>\n\n<blockquote>\n  <p><a href=\"https:\/\/neilpatel.com\/blog\/speed-is-a-killer\/\">A slower website causes decrease in sales due to increase in bounce rate.<\/a><\/p>\n<\/blockquote>\n\n<p><strong>A responsive image offers different sizes of the same image<\/strong>. The browser decides the best image size to render.<\/p>\n\n<p><strong>Divi includes a fullsize and regular image module. They don't serve a responsive image. It's a one-size-fits-all.<\/strong><\/p>\n\n<p>The non-responsive image have a single image size. The same image loads on large desktop, tablet and mobiles.<\/p>\n\n<blockquote>\n  <p>Let's say you use the native divi image module with image of size 2000px. Serving the 2000px wide image on a device with width 400px serves no purpose other than to slow down the webpage.<\/p>\n<\/blockquote>\n\n<h3>The Solution \u2013 Divi responsive image size plugin<\/h3>\n\n<p>The <a href=\"https:\/\/wptools.app\/wordpress-plugin\/divi-responsive-image-sizes-plugin\/\">Divi Responsive Image Size<\/a> plugin has two modules.<\/p>\n\n<ul>\n<li><strong>Responsive Image divi module<\/strong> \u2013 It's available in regular divi section.<\/li>\n<li><strong>Fullwidth Responsive Image divi module<\/strong> \u2013 It's available in fullwidth divi section.<\/li>\n<\/ul>\n\n<blockquote>\n  <p>Both the modules help creates a image tag with responsive image sizes.<\/p>\n<\/blockquote>\n\n<p>A responsive image adds the srcset and sizes attributes to the image markup.<\/p>\n\n<h3>What does srcset and sizes do?<\/h3>\n\n<p>Consider the example of an &lt;img&gt; tag<\/p>\n\n<blockquote>\n  <p>&lt;img alt=&quot;Divi responsive image sizes&quot; src=&quot;default.jpg&quot; srcset=&quot;small.jpg 240w, medium.jpg 300w, large.jpg 720w&quot; sizes=&quot;(max-width: 360px) 300px, 100vw&quot;&gt;<\/p>\n<\/blockquote>\n\n<p>Let's go over each attribute.<\/p>\n\n<blockquote>\n  <p>alt=\"Divi responsive image sizes\"`<\/p>\n<\/blockquote>\n\n<p>The <code>alt<\/code> attribute describes the alternative text for the image. Browser loads this text when it can't find the image.<\/p>\n\n<blockquote>\n  <p>src=\"default.jpg\"<\/p>\n<\/blockquote>\n\n<p>The <code>src<\/code> attribute defines a fallback image path for browsers that don't support srcset and sizesattributes<\/p>\n\n<blockquote>\n  <p>srcset=\"small.jpg 240w, medium.jpg 300w, large.jpg 720w\"<\/p>\n<\/blockquote>\n\n<p>The <code>srcset<\/code> attribute lists images at different sizes. Along with each image path we specify it's width in pixels.<\/p>\n\n<blockquote>\n  <p>sizes=\"(max-width: 360px) 300px, 100vw\"<\/p>\n<\/blockquote>\n\n<p>The sizes attribute instructs the browser on how to pick the right image from the srcset based on the viewport (device) size.<\/p>\n\n<p>Going by the above example,<\/p>\n\n<ul>\n<li>For viewport size 360px and below, browser displays medium.jpg (300px) image.<\/li>\n<li>For viewport size above 360px, browser displays large.jpg image that is 720px wide.<\/li>\n<\/ul>\n\n<h3>Divi image sizes<\/h3>\n\n<p>Divi supports following css media breakpoints.<\/p>\n\n<ul>\n<li><strong>Large screens<\/strong> (1405px upwards)<\/li>\n<li><strong>Laptops and desktops<\/strong> (between 1100px and 1405px)<\/li>\n<li><strong>Tablets in landscape mode<\/strong> (between 981px and 1100px)<\/li>\n<li><strong>Tablets in portrait mode<\/strong> (between 768px and 980px)<\/li>\n<li><strong>Smart phones in landscape mode<\/strong> (between 480px and 768px)<\/li>\n<li><strong>Smart phones in portrait mode<\/strong> (between 0 and 479px)<\/li>\n<\/ul>\n\n<p>For every breakpoint, the responsive divi modules has a corresponding field to set the image width.<\/p>\n\n<h3>Improve image SEO score<\/h3>\n\n<p>Image SEO is important. The responsive divi modules follows <a href=\"https:\/\/developers.google.com\/style\/images\">google recommendations for image SEO<\/a><\/p>\n\n<ul>\n<li>The responsive divi modules wraps the image in a <code>figure<\/code> tag.<\/li>\n<li>It can display a caption for the image using the <code>figcaption<\/code> tag.<\/li>\n<li>The alt attribute text is got from the WordPress media attachment or custom text.<\/li>\n<\/ul>\n\n<h3>Full divi frontend builder support<\/h3>\n\n<p>The <strong>Responsive Image<\/strong> and <strong>Fullwidth Responsive Image<\/strong> divi modules provide full divi frontend builder support. Add custom styles to the image and caption text via the modules Design tab.<\/p>\n\n<h3>Divi Responsive Image Sizes Module Settings - See screenshot 1.<\/h3>\n\n<ul>\n<li>Image section \u2013 Upload\/select an image, set alt and figcaption tags. If alt and caption values are empty, it uses corresponding values from WordPress media attachment.<\/li>\n<li>Responsive Image Width section \u2013 Define the image sizes at different media breakpoints.<\/li>\n<li>Caption Text section \u2013 Add custom style to the caption text.<\/li>\n<li>Sizing section \u2013 Change the max and standard width for the <code>figure<\/code> element.<\/li>\n<li>Spacing section \u2013 Set the padding and margin values for the figure<\/li>\n<li>Border section \u2013 Set border styles for the <code>img<\/code> tag.<\/li>\n<li>Box shadow section \u2013 Set box shadow styles for the <code>img<\/code> tag.<\/li>\n<li>Filters section \u2013 Set filters for the figure element.<\/li>\n<li>Transform section \u2013 Set transforms for the figure element<\/li>\n<li>CSS ID &amp; Classes section \u2013 Set css id and classes for figure element<\/li>\n<li>Custom CSS section \u2013 Add custom css for <code>figure<\/code>, <code>img<\/code> and <code>figcaption<\/code> tags<\/li>\n<li>Visibility section \u2013 Set visibility for the <code>figure<\/code> tag on desktop, tablet and mobile.<\/li>\n<\/ul>\n\n<h3>Divi Premium Plugin<\/h3>\n\n<p>We offer other divi premium plugins. Each of them have a 7-day FREE trial, no upfront payment details required.<\/p>\n\n<ul>\n<li><a href=\"https:\/\/wptools.app\/wordpress-plugin\/gravity-forms-divi-module\/?utm_source=wp&amp;utm_medium=plugin-page&amp;utm_campaign=responsive-images&amp;utm_content=ups\">Gravity Forms Divi Module<\/a><\/li>\n<li><a href=\"https:\/\/wptools.app\/wordpress-plugin\/faq-manager-with-structured-data\/?utm_source=wp&amp;utm_medium=plugin-page&amp;utm_campaign=responsive-images&amp;utm_content=ups\">FAQ Plugin For Divi<\/a><\/li>\n<li><a href=\"https:\/\/wptools.app\/wordpress-plugin\/image-carousel-for-divi\/?utm_source=wp&amp;utm_medium=plugin-page&amp;utm_campaign=responsive-images&amp;utm_content=ups\">Image Carousel For Divi<\/a><\/li>\n<li><a href=\"https:\/\/wptools.app\/wordpress-plugin\/product-carousel-for-divi\/?utm_source=wp&amp;utm_medium=plugin-page&amp;utm_campaign=responsive-images&amp;utm_content=ups\">Product Carousel For Divi<\/a><\/li>\n<li><a href=\"https:\/\/wptools.app\/wordpress-plugin\/grid-styler-for-contact-form-7-and-divi\/?utm_source=wp&amp;utm_medium=plugin-page&amp;utm_campaign=responsive-images&amp;utm_content=ups\">Contact Form 7 Grid &amp; Styler For Divi<\/a><\/li>\n<li><a href=\"https:\/\/wptools.app\/wordpress-plugin\/divi-blog-carousel\/?utm_source=wp&amp;utm_medium=plugin-page&amp;utm_campaign=responsive-images&amp;utm_content=ups\">Blog Carousel For Divi<\/a><\/li>\n<\/ul>\n\n<!--section=faq-->\n<dl>\n<dt id='does%20this%20plugin%20have%20any%20dependencies%3F'><h3>Does this plugin have any dependencies?<\/h3><\/dt>\n<dd><p>Divi Theme from Elegant Themes is a pre-requisite to this plugin.<\/p><\/dd>\n<dt id='does%20this%20work%20with%20extra%20theme%20from%20elegant%20themes'><h3>Does this work with Extra theme from Elegant themes<\/h3><\/dt>\n<dd><p>We haven't tested it on Extra theme. If you happen to get it working, let us know :-)<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>2.0.0<\/h4>\n\n<ul>\n<li>WP 6.1.1 compatible.<\/li>\n<\/ul>\n\n<h4>1.2.0<\/h4>\n\n<ul>\n<li>Fixed bug where <strong>scaled<\/strong> image url is being used.<\/li>\n<li>Tested with WordPress 5.4<\/li>\n<\/ul>\n\n<h4>1.1.0<\/h4>\n\n<ul>\n<li>Updated for release on wordpress.org<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial version<\/li>\n<li><code>Responsive Image<\/code> divi module added for standard divi section.<\/li>\n<li><code>Fullwidth Responsive Image<\/code> divi module added for fullwidth divi section.<\/li>\n<\/ul>","raw_excerpt":"Divi image module with srcset attribute support. Make your website load faster","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/ewe.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/106008","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ewe.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/ewe.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/ewe.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=106008"}],"author":[{"embeddable":true,"href":"https:\/\/ewe.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/wpt00ls"}],"wp:attachment":[{"href":"https:\/\/ewe.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=106008"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/ewe.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=106008"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/ewe.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=106008"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/ewe.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=106008"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/ewe.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=106008"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/ewe.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=106008"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}