Blog

How to use an existing image in your Midjourney Prompts

Here are some tips on how to use image prompts in Midjourney.

Blog

Get url path of referenced node image in Twig and Drupal 10

This snippet will definitely save you some time searching for the proper structure, it loops over entity referenced nodes and sets a background image from that node

Blog

Get url path of an entity reference in Twig in Drupal 10

This post gives you a snippet to get the URL path of an entity reference in Twig

Blog

All the Midjourney parameters explained (with examples)

In this post, we'll explore all of the Midjourney image generation parameters, including basic parameters like aspect ratio, chaos, quality, seed, stop, style, and stylize, as well as model version parameters and upscaler parameters.

Blog

Remove shortcut links with Drush in Drupal 10

During configuration imports, you can stumble upon this issue: not being able to import config because there are existing entities of type shortcut

Blog

Get page title inside of a paragraph in Drupal 10

I encountered this when I had to build a hero paragraph. I needed the page title inside my paragraph.

Blog

How to access custom block content field in Twig (Drupal 10)

I started using custom blocks for reusable content on a website. It turns out twig works a bit different on block content than on paragraphs.

Blog

How to set permissions to a route programmatically in Drupal 8, 9 or 10

Are you looking for a way to create custom permissions for your Drupal 8 module? Since Drupal 8, permissions are defined in a MODULENAME.permissions.yml file.

Blog

What is LoRa in image generation?

LoRA (Low-Rank Adaptation) is a mathematical technique used to reduce the number of parameters that need to be trained when fine-tuning Stable Diffusion models

Blog

A transform pipe to highlight and replace text in an Angular 13 template

I had this project where search results coming from an API service needed to be highlighted.

Subscribe to