The Ultimate Guide To Using Images In Divi 5

by | Aug 6, 2026 | Etcetera | 0 comments

Pictures are some of the few components that contact nearly each and every a part of a construct: hero sections, weblog grids, workforce pages, product listings, portfolio playing cards, galleries, icons, backgrounds, and call-to-action sections all are living or die on how their imagery is treated.

In Divi 5, the picture device is extra constant throughout modules that show pictures. New Aspect Ratio and Framing settings, the consolidated gradient picker, Custom Attributes, reusable Symbol Presets, and tight integration with the Loop Builder trade how pictures get positioned, cropped, styled, and maintained throughout a website.

This information covers the whole picture workflow in Divi 5: the Symbol Module, background pictures, facet ratio and framing, opting for picture ratios via state of affairs, gradient overlays, accessibility, search engine optimization, loop conduct, presets, and record optimization sooner than pictures ever achieve the builder.

Pictures In Modules

Divi 5 has taken large steps towards making the builder really feel constant regardless of which module you’re operating with. Some of the clearest examples is how other modules care for pictures.

After all, there’s the Symbol Module, whose whole task is to show a picture. Use it when the picture is a part of the content material itself: a product photograph, workforce portrait, portfolio thumbnail, screenshot, diagram, chart, or any picture guests wish to perceive the web page. So as to add one, insert an Symbol Module, open the Content material tab, and make a choice a picture from the Media Library or add a brand new one.

Different modules come with pictures as a part of a bigger detail. A Particular person Module has a portrait, a Blurb Module can come with a picture or icon, WooCommerce modules show product pictures, and Loop Builder templates can pull featured pictures, challenge thumbnails, product pictures, creator footage, and different dynamic media.

Within the Design tab, you’re going to in most cases to find an image-related possibility crew for styling that picture. Relying at the module, you might genre it without delay or within a nested possibility crew reminiscent of Symbol, Symbol & Icon, or a an identical label. That is the place you’re going to generally organize sizing, framing, borders, shadows, filters, transforms, and presets.

Symbol Module Or Background Symbol?

Sooner than styling a picture, make a decision what task the picture is doing. Use an Symbol Module when the picture is content material: a photograph that carries which means, a product picture other people wish to check up on, a portrait that identifies an individual, a portfolio picture that represents a challenge, or a picture that wishes a hyperlink, lightbox, caption, or alt textual content.

Use a background picture when the picture acts as a floor for different content material to take a seat on most sensible of. A hero phase with a heading and button layered over a photograph is the clearest instance. Ornamental textures, summary shapes, background patterns, and picture washes in the back of CTA content material additionally belong on this class.

A normal Segment is a simple approach to see the variation. Open the phase’s Content material tab, amplify Background, make a choice the Background Symbol tab, and upload a large {photograph}. Then upload a Heading Module and Button Module within the row above it. The photograph helps the phase visually, however the replica and button elevate the true message.

This difference issues for accessibility. Background pictures are rendered via CSS and don’t elevate alt textual content. Display readers forget about them, which is right kind for ornamental surfaces. But when a picture communicates which means, reminiscent of a product photograph, diagram, portrait, or portfolio thumbnail, it must no longer are living solely as a background picture.

Facet Ratio And Framing

Two Divi 5 design controls resolve the most typical image-layout frustration: inconsistent add sizes breaking an in a different way blank format.

Facet Ratio defines the body. Framing controls how the picture sits within that body.

Facet Ratio lives in Design > Sizing. Input a ratio in width-to-height layout, reminiscent of 16:9 for widescreen, 1:1 for sq., or 4:5 for portrait. Divi calculates the detail’s top from its rendered width, so the form holds because the detail scales throughout breakpoints.

Facet Ratio is particularly helpful for pictures as it stops uploaded record dimensions from controlling the format. A large picture, sq. picture, and portrait picture can all take a seat within the similar body. It additionally applies past pictures, together with icons, packing containers, ornamental shapes, playing cards, buttons, and different components that reveal the Sizing controls.

Framing controls how the picture behaves within the body. At the Symbol Module, it sounds as if as its personal possibility crew below the Design tab. On sub-element modules like Particular person or Blurb, you’re going to in most cases to find it below Design > Symbol > Framing. The core keep an eye on is Object Are compatible:

  • Fill: Stretches the picture to fill the body and will distort it.
  • Comprise: Scales the entire picture within the body and would possibly go away empty house.
  • Quilt: Fills the body whilst conserving proportions, cropping the overflow.
See also  5 Seamless Examples of Divi AI-Generated Websites (& Their Prompts)

For many picture playing cards and grids, pair Facet Ratio with Object Are compatible: Quilt. This helps to keep the picture proportional whilst filling the body. Then use Object Place to keep an eye on the focus. 9 preset anchors vary from Best Left to Backside Proper, and customized X/Y percentages allow you to fine-tune the crop extra exactly.

One explanation is price making as it journeys other people up: Framing adjustments how the picture is displayed within its body. It does no longer completely crop the picture record, and it does no longer trade which supply record the browser downloads. Object Are compatible Quilt can visually crop a three:2 picture right into a tidy sq., however the browser nonetheless downloads the whole record until WordPress responsive picture sizes supply a smaller model to serve. Framing handles the show crop, whilst srcset and record optimization care for record weight.

Opting for Symbol Ratios Via Situation

The most productive picture ratio is dependent upon the place the picture seems and what it must do. Divi 5 makes it simple to go into nearly any ratio, however that freedom works easiest when the selection is intentional.

For hero sections, get started with 16:9 for a competent large format, 21:9 for cinematic banners, or 3:2 when the picture must really feel massive with out turning into too shallow. On cell, a hero would possibly desire a other crop, steadily nearer to 4:5 or 1:1, particularly when the topic wishes extra vertical room. Make a choice footage with sufficient calm house for reproduction, and steer clear of putting faces, merchandise, or vital main points close to the sides.

For weblog featured pictures and weblog grids, use ratios that may live on repeated uploads from other authors or resources. 3:2 is a sturdy default for normal editorial grids. 4:3 works neatly when playing cards come with titles, metadata, and excerpts underneath the picture. 16:9 fits tutorials, video-led posts, and YouTube-style thumbnails. 1:1 works for social-style grids and roundups, whilst 4:5 provides meals, style, way of life, and pictures blogs a taller editorial really feel.

For portfolio grids, let the paintings information the ratio. Internet design, branding, UI/UX, decks, and horizontal mockups in most cases paintings neatly at 3:2 or 4:3. Type, portrait pictures, posters, and vertical editorial paintings steadily want 4:5 or 2:3. Combined portfolios can use 1:1 to stay the grid impartial, whilst video-first portfolios must in most cases use 16:9.

For product grids, the class must force the verdict. 1:1 is a protected default for huge catalogs, electronics, books, equipment, and lots of white-background product photographs. 4:5 works neatly for attire, good looks, and taller product pictures. 3:4 provides bottles, baggage, footwear, and packaged items extra vertical room. 3:2 can paintings for furnishings, bundles, and way of life product pictures with wider compositions. Use Comprise as a substitute of Quilt when cropping would chop into the product itself.

For workforce footage and headshots, consistency and face coverage subject maximum. Use 1:1 for avatars, creator playing cards, and compact workforce grids. Use 4:5 or 3:4 for a extra editorial portrait format. Pair Quilt with Object Place: Best Heart when faces take a seat prime within the body.

For brand grids and icon-based pictures, steer clear of cropping. Use a constant container form reminiscent of 1:1, 4:3, or a shallow rectangle, then set Object Are compatible to Comprise so the whole brand, mark, badge, seal, or icon stays visual.

Those are beginning issues, no longer regulations. The ratio must beef up the content material, give protection to the topic, and stay repeated layouts constant.

Pictures In The Loop Builder

Facet Ratio and Framing transform much more helpful in dynamic layouts. The Loop Builder turns any detail, or crew of components, right into a query-driven repeating template. That suggests one picture choice can achieve each and every repeated weblog put up, product, challenge, creator, tournament, or customized put up sort within the loop.

Pictures can seem in a loop in two major tactics: as dynamic content material within an Symbol Module, or as dynamic background pictures on packing containers reminiscent of Sections, Rows, Columns, or Teams. If the picture is content material, use an Symbol Module and set the ratio in Design > Sizing. Then use Framing to set Object Are compatible and Object Place. If the picture is ornamental or a part of a card floor, observe the ratio to the container and use the background picture controls to put it.

Within the loop, set your picture to a shared facet ratio, reminiscent of 16:9, 3:2, 4:5, or 1:1, then pair it with Object Are compatible Quilt. Each card follows the similar body irrespective of the supply picture dimensions.

This is without doubt one of the most powerful makes use of for picture ratios in Divi 5. A unmarried loop template can stay a weblog archive, portfolio grid, product feed, or creator listing visually constant as new content material is added.

Symbol Presets For Reusable Styling

Should you repeat the similar picture remedy throughout a website, reserve it as an Symbol Preset. Symbol Presets allow you to reuse styling from the Symbol possibility crew as a substitute of rebuilding it manually on each and every module.

See also  New Starter Site for Freelancers (Quick Install)

A preset can come with repeated picture styling reminiscent of Facet Ratio, Object Are compatible, Object Place, border radius, border kinds, field shadow, filters, and different image-related design settings. This comes in handy for picture remedies that are meant to keep constant throughout a construct.

Examples come with:

  • Weblog Card Symbol: 3:2 ratio, Object Are compatible Quilt, slight radius.
  • Product Grid Symbol: 1:1 or 4:5 ratio, Object Are compatible Quilt or Comprise, blank border.
  • Staff Portrait: 4:5 ratio, Object Are compatible Quilt, Best Heart place.
  • Portfolio Thumbnail: 3:2 ratio, Object Are compatible Quilt, delicate shadow.
  • Emblem Tile: 4:3 body, Object Are compatible Comprise, beneficiant padding.

The preset helps to keep the styling attached. If the website’s picture remedy adjustments later, replace the preset as a substitute of modifying each and every picture module one after the other.

Background Pictures And Gradient Overlays

Background pictures steadily want lend a hand as a result of textual content sits on most sensible of them. A photograph can glance stunning by itself and nonetheless fail within a hero phase if the headline turns into arduous to learn. Probably the most dependable repair is an overlay. In Divi 5, the consolidated gradient picker makes it more straightforward to mix background pictures with gradients that beef up distinction, upload intensity, or information consideration towards the replica.

Not unusual overlay patterns come with:

  • Darkish-to-transparent gradient: Excellent for hero sections with textual content on one aspect.
  • Comfortable coloration wash: Excellent for brand-heavy touchdown pages.
  • Best or backside fade: Excellent when textual content sits close to one fringe of the phase.
  • Radial glow: Excellent for spotlighting a product, portrait, or CTA.
  • Gradient Variable overlay: Excellent when the similar model remedy repeats throughout a number of sections.

Don’t depend at the picture on my own for textual content distinction. Take a look at the phase with actual replica, actual buttons, and responsive perspectives. A powerful background picture must beef up the message, go away sufficient calm house for reproduction, and keep distinction throughout desktop and cell. If the picture fights the textual content, reposition it, upload an overlay, or make a choice a quieter photograph.

Accessibility: Alt Textual content, Captions, And ARIA

Accessibility in Divi 5 is treated in the course of the Attributes possibility crew at the Complex tab, which now manages HTML attributes for a component.

For pictures, the Symbol Module can pull alt and identify attributes from the WordPress Media Library when they’re outlined there and no longer overridden in Divi. That makes the Media Library the sensible supply of fact: upload descriptive alt textual content on add, and Divi can use it anyplace that picture seems in a module.

Alt textual content must describe the picture’s objective in context. A product picture may want the product sort and a visible element. A diagram must describe what the diagram explains. An ornamental picture must no longer be described in any respect. For purely ornamental pictures, use an empty alt characteristic as a substitute of including needless textual content. Ornamental icons or visual-only components can be marked with attributes reminiscent of aria-hidden=”true” when suitable.

For pictures that desire a visual caption or attribution, use the determine and figcaption HTML components. The determine detail wraps content material that stands by itself, whilst figcaption ties a caption to it semantically. Alt textual content and figcaption serve other functions: alt describes the picture to display screen readers and serps, whilst figcaption provides visual context that customers can learn at the web page.

Use captions after they truly upload context, reminiscent of supply credit, workforce names and titles, diagram explanations, portfolio challenge notes, or editorial picture attribution.

Symbol search engine optimization

Symbol search engine optimization begins with the similar basics as accessibility: correct alt textual content, helpful captions the place wanted, and pictures that beef up the encompassing content material. Alt textual content is helping serps perceive what a picture depicts, but it surely must nonetheless be written for other people first. Stay it explicit, correct, and freed from key phrase stuffing.

Background pictures are other. As a result of they’re rendered via CSS and no longer as picture components, they aren’t the precise position for significant search engine optimization imagery. If a picture is vital to the content material, use an Symbol Module or some other semantic picture output as a substitute of depending on a CSS background.

The following largest search engine optimization lever is efficiency. WordPress generates more than one picture sizes on add and makes use of srcset so browsers can make a choice a record that matches the customer’s display screen. With responsive pictures enabled, your task is to add a supply this is big enough for the most important position it wishes to seem, then let WordPress and your optimization workflow care for smaller variations.

For vital above-the-fold pictures, particularly the picture possibly to transform the Greatest Contentful Paint detail, you’ll upload fetchpriority=”prime” via Complex > Attributes. Use this moderately. It isn’t a environment for each and every picture at the web page, however it could possibly lend a hand the browser prioritize crucial picture within the preliminary viewport.

Report Varieties And Saving House

One of the vital maximum consequential picture selections occur sooner than Divi. A lovely format can nonetheless really feel sluggish if the photographs are too massive, poorly compressed, or exported within the improper layout.

See also  How To Price Your WordPress Services in 2025

The process issues lower than the method. Resize and compress pictures sooner than importing, or use a competent optimization plugin to care for compression and modern-format era at add time. See our guides on optimizing images for web performance and the best WordPress image optimization plugins for a deeper breakdown.

Use those record sort regulations as a place to begin:

  • JPEG: Excellent for full-color footage when leading-edge codecs don’t seem to be to be had.
  • PNG: Excellent for transparency, UI graphics, emblems, and screenshots with sharp edges, however heavy for footage.
  • WebP: A powerful leading-edge default for many internet pictures as it steadily reduces record weight whilst conserving high quality.
  • AVIF: Helpful when your optimization workflow helps it and may give correct fallbacks.
  • SVG: Highest for emblems, icons, and easy vector art work when the record is blank, depended on, and correctly ready.

Don’t add complete digicam originals until the challenge really wishes them. Get started with the biggest measurement the picture must show. Hero pictures steadily want greater resources than card thumbnails, and lightbox pictures want sufficient solution to seem just right when opened at a bigger measurement.

As a realistic baseline, full-width hero pictures steadily land round 1600–2400px large, full-width content material pictures round 1200–1800px, and weblog, portfolio, or product card pictures round 800–1200px. Those don’t seem to be fastened regulations. A retina-heavy portfolio website would possibly want greater resources, whilst a easy weblog won’t. The purpose is to steer clear of importing way more pixels than the format can use.

Report-weight goals must additionally keep versatile, however an invaluable function is to stay thumbnails small, same old content material pictures lean, and massive hero pictures compressed sufficient that they don’t dominate the web page load. Don’t overwhelm pictures such a lot that faces, product labels, gradients, or screenshots transform blurry. The function is the smallest record that also seems proper in context.

Symbol Workflow Highest Practices In Divi 5

A just right picture workflow is a part design device, phase content material procedure. Set the root early so each and every new picture has a transparent function, ratio, crop, record measurement, and accessibility remedy.

Use those conduct to stay image-heavy layouts constant:

  • Make a decision the picture function first. Content material pictures belong in Symbol Modules. Ornamental pictures will also be backgrounds.
  • Make a choice one ratio in step with repeated grid. Weblog playing cards, product playing cards, and portfolio playing cards must in most cases percentage a constant picture form.
  • Pair Facet Ratio with Object Are compatible Quilt. This prevents stretching when uploaded pictures range.
  • Use Object Are compatible Comprise for emblems and delicate product pictures. Don’t crop marks, labels, or product edges until the crop is intentional.
  • Use Object Place to give protection to the topic. Best Heart steadily works for faces. Heart steadily works for merchandise and normal weblog pictures.
  • Save repeated picture remedies as presets. Reuse commonplace vegetation, borders, shadows, filters, and framing kinds.
  • Upload alt textual content within the Media Library. Deal with it as a part of the add procedure, no longer an afterthought.
  • Get ready product pictures with sufficient padding. A bit whitespace across the matter provides Object Are compatible more space to paintings.
  • Take a look at responsive perspectives. A crop that works on desktop can fail on cell.
  • Optimize sooner than or throughout add. Show settings don’t resolve record weight on their very own.

The most productive picture programs are predictable in the precise puts. The ratios are constant, the vegetation are intentional, the recordsdata don’t seem to be outsized, and the significant pictures have helpful alt textual content.

The Complete Image In Divi 5

Each phase of this information issues again to at least one concept: pictures must beef up the design, no longer combat it.

Divi 5 will give you the equipment to keep an eye on that device without delay within the builder. Facet Ratio defines the body. Framing controls the crop. Loop Builder repeats the guideline throughout dynamic content material. Symbol Presets stay repeated remedies constant. Gradient overlays beef up clarity over background pictures. Customized Attributes lend a hand with accessibility and function main points when you want extra keep an eye on.

Get started with the picture’s function, make a choice the precise ratio for the state of affairs, body the topic moderately, and optimize the record sooner than it slows the web page down. As soon as the ones selections are in position, Divi 5 makes it more straightforward to stay pictures constant throughout standalone pages, dynamic loops, product grids, workforce sections, portfolios, and each and every format that is dependent upon robust visible content material.

The put up The Ultimate Guide To Using Images In Divi 5 gave the impression first on Elegant Themes Blog.

WordPress Maintenance Plans | WordPress Hosting

read more

0 Comments

Submit a Comment

DON'T LET YOUR WEBSITE GET DESTROYED BY HACKERS!

Get your FREE copy of our Cyber Security for WordPress® whitepaper.

You'll also get exclusive access to discounts that are only found at the bottom of our WP CyberSec whitepaper.

You have Successfully Subscribed!