This post is a test of functionality for creating an Image gallery in Drupal 9 using the core Image module and the Colorbox module for overlay display.
This post is actually about my yet another attempt to create an image gallery in Drupal, but now I am using Drupal 9. I have a premium account in Juicebox, unfortunately, it is not yet available to Drupal 9, so I use Colorbox instead for overlay.
Create a database named database_name and enter your root database passwordmysql -u root -p -e "CREATE DATABASE database_name CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci";
mysql -u root -p -e "CREATE DATABASE database_name CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci";
Create a Drupal site directory. For this setup, websites are at /var/www/cd /var/wwwmkdir example.com
Note: Use Certbot for easy management of Let's Encrypt SSL certificates.
Code:chown -R www-data:www-data /path/to/folder/
chown -R www-data:www-data /path/to/folder/
Note that this is a personal workflow of mine and not a tutorial. Commands may vary according to your setup.