Skip to content
Mario Hernandez
  • Home
  • About
  • Blog
  • Contact
  • Search

Posts tagged with “drupal”

  • April 12, 2025

    Using modern image formats to improve performance

    Media, in particular images, have always been a hot topic for discussion as it relates to website performance. Learn about this relatively easy approach to reduce image file sizes.

  • August 18, 2024

    SOLVED - Cannot crop based on original image after initial crop has been set

    Cropping images in Drupal is a great way to ensure your images always look their best.

  • June 2, 2024

    Automating your Drupal Front-end with ViteJS

    If you are searching for the next front-end build tool for your Drupal project, or any project, you should try ViteJS.

  • May 2, 2024

    Integrating Drupal with Storybook components

    In this post we'll go over the process of making Drupal aware of the components we have built in Storybook.

  • April 14, 2024

    Migrating your Drupal theme from Patternlab to Storybook

    Storybook has emerged as a promising tool for building a modern front-end Drupal environment in recent years. In this post we are going to build a Drupal theme with Storybook as its design system.

  • December 8, 2023

    Responsive images, wrapping up

    In Drupal, the core Media module manages the creation, editing, deletion, settings, and display of media entities.

  • December 1, 2023

    Responsive images and Media

    In Drupal, the core Media module manages the creation, editing, deletion, settings, and display of media entities.

  • November 24, 2023

    Responsive image styles

    Responsive image styles in Drupal are bundles that contain one or more image styles.

  • November 17, 2023

    Image styles in Drupal

    I'd like to think of Drupal's image styles as templates for cropping and sizing images.

  • November 10, 2023

    Image resolution switching using srcset and sizes attributes

    Resolution switching uses identical images that are simply larger or smaller based on the device but retain the same aspect ratio and cropping settings.

  • November 3, 2023

    Art Direction using the picture HTML element

    In the context of responsive images, art direction is the ability to display differently-cropped images based on the device size.

  • October 27, 2023

    Responsive images in Drupal - a series

    In this seven-part guide I cover everything you need to know about responsive images and how to manage them in a Drupal site.

  • September 27, 2023

    Drupal base path

    There are times when building a Drupal site you need to dynamically point to an asset or resource that may not be saved in the database but instead is located somewhere in the site's file system.

  • June 17, 2021

    Demystifying components integration with Drupal

    Components integration with Drupal can be a complicated task, but there are also ways in which this task can be simplified. This post shows you how.

  • June 29, 2020

    Building an automated DDEV-based Drupal environment

    As a trainer, having an environment that is easy to setup to achieve consistency among all students is key for a successful training workshop.

  • January 10, 2019

    Handling Drupal attributes in components

    As a Front-End developer, working with Twig and Drupal is a pretty liberating thing which presents all kinds of posibilies, but it can also open the doors to breaking things Drupal counts on.

  • Instagram
  • Twitter
  • Github
  • LinkedIn

Copyright © 2025 • Mario Hernandez