Skip to content
Menu
Open World News Open World News
  • Privacy Policy
Open World News Open World News

Category: News

health @ Savannah: MyGNUHealth 2.2 series released!

Posted on June 21, 2024 by Michael G

Dear all

I am happy to announce the release of MyGNUHealth 2.2.0!

The new series of the GNU Health Personal Health record comes with many improvements and bug fixes. Some highlights of this new version:

  • Support for Kivy 2.3.0
  • Localization. MyGNUHealth now has support for different languages. English, Spanish and Chinese are available to use, and French, German, Italian are ready to be translated. There will be a translation component for MyGNUHealth at Codeberg’s Weblate instance.
  • Bluetooth functionality: Starting with MyGH series 2.2 we provide bluetooth integration for open compatible devices and health trackers. We include the link with the Pinetime Smartwatch (experimental) and the possibility to link to any open hardware device (glucometer, scales, blood pressure monitors,  .. ). We need to get a list of available medical devices that respect our privacy and freedom, so let us know of any!
  • Charts now allow to select date ranges with calendar widgets
  • The Book of Life have a revised format for the pages.
  • The charts have been improved in the format and include x axis labels.


Thanks to Kivy, Mygnuhealth codebase can be ported to other architectures and operating systems such as Android AOSP (Pierre Michel is working on this) and GNU/Linux phones.

In addition to Savannah, we have incorporated Codeberg to the GNU Health development environment. Mailing lists, news and file downloads are at GNU, while the development repositories are at Codeberg (https://codeberg.org/gnuhealth)

You can download the latest MyGNUhealth sourcecode from GNU ftp site, pypi (using pip) or from your operating system package (like openSUSE).

Upgrading should be straightforward, and all the health history will remain in the MyGH database. In any case, please make sure you make a backup before upgrading (and daily 😉 ).

Thank you to all the contributors that have possible this milestone!

Happy hacking

Luis

Additional repos shaping the UI

Posted on June 21, 2024 by Michael G

This Week in F-Droid

TWIF curated on Thursday, 20 Jun 2024, Week 25

F-Droid core

One feature of F-Droid Client since 2018 is the support of loading additional repositories from the custom partition, this is used by custom ROMs Android distributions to include their own repositories and provide updates for their own apps or more. Examples of such are CalyxOS and DivestOS.

Since the latest 1.20 update redesigned not only the way repos are shown but how priorities work, one issue that was raised was that additional repos are added at the bottom of the list with a lower priority. In the past, while these were at the top, with a lower priority (in that old design), F-Droid had no concept of favorite repo for an app, hence updates were installed from whichever one had a newer version with a correct signature. This means that now, additional repos not only end up at the bottom of the list but also F-Droid will ignore updates they host if they are not marked as favorites for an app. In last week’s TWIF we’ve encouraged users to at least take a look in Settings – Manage Repos, more so if you have repos from your Android distribution there, you can move them to the top as a quick fix.

There is an issue discussing this here and a proposed work-in-progress fix here. If you are integrating additional repos in your own custom Android, feel free to read and provide your feedback.

Talking about updates, and auto-updates more exactly, users of Android 14 should be all setup for that perfect flow of unattended F-Droid bliss. Yet, we’ve heard from Fedi users that latest Android 14 June 2024 Quarterly Platform Release might break this on certain distributions. Here’s the CalyxOS issue and the GrapheneOS report, so if you see the same do share your experience.

Community News

CineLog, Rate and review movies and series that you saw, was removed back in April as its dependencies were not fully FOSS. But this week version 2.0.0 is back!

Delta Chat was updated to 1.46.5. The developers recently blogged about “Hardening Guaranteed End-to-End encryption based on a security analysis from ETH researchers and the security improvements that got into version 1.44 and about the improved “Instant Onboarding and Instant Message Delivery”.

Fennec F-Droid and Mull were updated to 127.0.0 with a bit of a delay. Mozilla, the developers of Firefox, the base for both apps, have recently gone through some repo and code changes that took more time and more polish than usual. We hope future versions land faster now that fixes were applied. We want to thank @relan and @IratePorcupine, the F-Droid contributors that take care of this huge endeavor.

Newly Added Apps

5 apps were newly added
  • AlexCalc – Scientific calculator with LaTeX equation display
  • CaptureSposed – Add support for blocking the Screenshot Detection API introduced in Android 14!
  • Notification Listener – Get notified only of important notifications
  • Raven – Use APIs and web scraping to fetch news articles
  • The One App – Manage a player’s characters in the RPG The One Ring

Updated Apps

133 more apps were updated
  • 8Vim Keyboard was updated to 0.17.4
  • AELF – Bible and day’s reading was updated to 2.8.7
  • ANOTHERpass was updated to 1.9.5
  • Aggregator was updated to Preview:034
  • Amethyst was updated to 0.87.7
  • AniHyou – AniList client was updated to 1.3.2
  • Apollo was updated to 1.5.2
  • Asteroid’s Revenge was updated to 0.10.8
  • Aurora Store was updated to 4.5.1
  • Auth was updated to 3.0.12
  • Avare was updated to 10.3.2
  • Aves Libre was updated to 1.11.2
  • BOINC was updated to 8.0.3
  • BVD was updated to 2.1.0.foss
  • BitBanana was updated to 0.8.3
  • BleOta was updated to 1.0.3
  • Broccoli: The Green Recipe App was updated to 1.2.10
  • Caffeinate was updated to 1.4.5
  • Candle was updated to 1.4.0
  • ChatLaunch for WhatsApp was updated to 0.6.0
  • Circles was updated to 1.0.31
  • Clock was updated to 2.5
  • Daily Dozen was updated to 25
  • Dark Mode Live Wallpaper was updated to 1.6.9
  • Databag was updated to 1.1
  • DeepL was updated to 8.2
  • EVMap – EV chargers was updated to 1.9.3
  • Easy Diary was updated to 1.4.309.202406100
  • Easy Launcher – Minimal launcher was updated to 0.1.5
  • EasySync was updated to 1.10
  • EinkBro was updated to 11.10.0
  • Etar – OpenSource Calendar was updated to 1.0.46
  • FFShare was updated to 1.3.0
  • FairEmail was updated to 1.2204
  • Feeder was updated to 2.6.28
  • Files was updated to 0.6.4
  • Fintunes was updated to 2.3.3
  • Flexify was updated to 1.1.26
  • Flux News was updated to 1.4.3
  • Forkyz was updated to 54
  • FreeOTP was updated to 2.0.4
  • Fridgey was updated to 1.1
  • Gas Prices was updated to 2.6
  • Gauguin was updated to 0.27.0
  • Green: Bitcoin Wallet was updated to 4.0.30
  • Healthy Battery Charging was updated to 2.0.2
  • ICSx⁵ was updated to 2.2.3
  • Immich was updated to 1.106.4
  • Infomaniak Mail was updated to 1.3.3
  • Infomaniak kDrive was updated to 4.4.11
  • Infomaniak kMeet was updated to 2.6.2
  • Jerboa for Lemmy was updated to 0.0.69
  • Joplin was updated to 3.0.4
  • KDE Connect was updated to 1.31.1
  • KeyPass was updated to 1.4.29
  • Keyboard Switcher was updated to 3.2
  • Kitsune was updated to 1.10.7
  • Linwood Butterfly was updated to 2.1.1
  • Linwood Butterfly Nightly was updated to 2.1.1
  • Léon – The URL Cleaner was updated to 42
  • Mattermost Beta was updated to 2.17.0
  • MedTimer was updated to 1.8.9
  • Media Merger was updated to 1.2.117
  • Metronome was updated to 4.12.1
  • Mill was updated to 4.13.0
  • MoeMemos was updated to 0.8.1
  • Money Manager Ex was updated to 2024.06.14
  • Mullvad VPN: privacy is a universal right was updated to 2024.3-beta1
  • Musify was updated to 8.2.0
  • My Expenses was updated to 3.8.6
  • NFCGate was updated to 2.4.2
  • NeoStumbler was updated to 1.2.2
  • NewPass was updated to 1.2.0
  • Nextcloud Cookbook was updated to 0.17.0
  • Nextcloud Dev was updated to 20240617
  • NextcloudServices was updated to 1.1-beta20
  • Nunti was updated to v2.5.2
  • Obtainium was updated to 1.1.11
  • Odin was updated to 3.3.7
  • Offi was updated to 13.0
  • Open Camera was updated to 1.53.1
  • Orgzly Revived was updated to 1.8.23
  • Orion Viewer – Pdf & Djvu was updated to 0.94.2
  • PasseGares was updated to 1.4.12
  • Plant-it was updated to 0.7.3
  • Podcini – Podcast instrument was updated to 5.5.0
  • Power Ampache 2 was updated to 1.00-60-fdroid
  • Proton Pass: Password Manager was updated to 1.22.1
  • ProtonVPN – Secure and Free VPN was updated to 5.3.93.0
  • Quote Unquote was updated to 4.40.3-fdroid
  • RiMusic was updated to 0.6.39
  • Ricochlime was updated to 1.9.0
  • Roc Droid was updated to 0.2.2
  • RunnerUp was updated to 2.7.0.1
  • SMS Import / Export was updated to 2.4.0
  • Saber was updated to 0.23.3
  • Screenshot Tile (NoRoot) was updated to 2.9.0
  • Shiori was updated to 1.33.01
  • Simple Search was updated to 2.0.1
  • SimpleTextEditor was updated to 1.26.1
  • Sobuu was updated to 1.1.1
  • SpamBlocker (Call & SMS) was updated to 1.13
  • Squeezer was updated to 2.3.6
  • Status Bar Speedometer was updated to 3.11.0
  • Tailscale was updated to 1.68.0-t52ddf0d01-g4528ee61760
  • The Light was updated to 3.85
  • Thor was updated to 1.6.4
  • Thumb-Key was updated to 3.2.4
  • TorrServe was updated to MatriX.133t.F-Droid
  • Tournant was updated to 2.7.1
  • Track & Graph was updated to 4.0.3
  • Traditional T9 was updated to 33.0
  • URLCheck was updated to 2.16
  • Unciv was updated to 4.12.0-patch1
  • Vespucci was updated to 20.0.3.0
  • Voyager for Lemmy was updated to 2.12.4
  • Wulkanowy was updated to 2.7.0
  • Wuxia Learn – Learn Chinese was updated to 1.1.0
  • Xed Editor was updated to 1.1.9
  • Xtra was updated to 2.32.4
  • Youamp was updated to 1.0.0-alpha07
  • Your local weather was updated to 6.0.1
  • Zulip was updated to 27.229
  • aTalk was updated to 4.1.1
  • baresip was updated to 60.4.0
  • baresip+ was updated to 47.5.0
  • campfire was updated to 0.3
  • ente Photos was updated to 0.9.0
  • floccus bookmark sync was updated to 5.2.2
  • huggingAssist was updated to 1.9
  • neutriNote CE was updated to 4.5.2
  • openHAB Beta was updated to 3.13.4-beta
  • whoBIRD was updated to 3.4

Thank you for reading this week’s TWIF 🙂

Please subscribe to the RSS feed in your favourite RSS application to be updated of new TWIFs when they come up.

You are welcome to join the TWIF forum thread. If you have any news from the community, post it there, maybe it will be featured next week 😉

To help support F-Droid, please check out the donation page and contribute what you can.

Is 2024 the year of Windows on the desktop?

Posted on June 21, 2024 by Michael G
It should be no secret to anyone reading OSNews that I’m not exactly a fan of Windows. While I grew up using MS-DOS, Windows 3.x, and Windows 9x, the move to Windows XP was a sour one for me, and ever since I’ve vastly preferred first BeOS, and then Linux. When, thanks to the tireless efforts of the Wine community and Valve gaming on Linux became a boring, it-just-works affair, I said goodbye to my final gaming-only Windows installation about four or so years ago. However, I also strongly believe that in order to be able to fairly criticise or dislike something, you should at least have experience with it. As such, I decided it was time for what I expected was going to be some serious technology BDSM, and I installed Windows 11 on my workstation and force myself to use it for a few weeks to see if Microsoft’s latest operating system truly was as bad as I make it out to be in my head. Installing Windows 11 Technically speaking, my workstation is not supported by Windows 11. Despite packing two Intel Xeon E5 V4 2640 CPUs for a total of 20 cores and 40 threads, 32 GB of ECC RAM, an AMD Radeon Pro w5700, and the usual stuff like an M.2 SSD, this machine apparently did not meet the minimum specifications for Windows 11 since it has no TPM 2.0 security chip, and the processors were deemed too old. Luckily, these limitations are entirely artificial and meaningless, and using Ventoy, which by default disables these silly restrictions, I was able to install Windows 11 just fine. During installation, you run into the first problem if you’re coming from a different operating system – even after all these years, Windows still does not give a single hootin’ toot about any existing operating systems or bootloaders on your machine. This wasn’t an issue for me since I was going to allow Windows to take over the entire machine, but for those of used to have control over what happens when we install our operating systems, be advised that your other operating systems will most likely be rendered unbootable. The tools you have access to during installation for things like disk partitioning are also incredibly limited, and there’s nothing like the live environments you’re used to from the Linux world – all you get is an installer. In addition, since Windows only really supports FAT and NTFS file systems, your existing ext4, btrfs, UFS, or ZFS partitions used by your Linux or BSD installs will not work at all in Windows. Again – be advised that Windows is a very limited operating system compared to Linux or BSD. Once the actual installation part is done, you’re treated to a lengthy – and I truly mean lengthy – out of box experience. This is where you first get a glimpse of just how much data Microsoft wants to collect from its Windows users, and it stands in stark contrast to what I’m used to as a Linux user. On my Linux distribution of choice, Fedora KDE, there’s really only KDE’s opt-in, voluntary User Feedback option, which only collects basic system information in an entirely anonymous way. Windows, meanwhile, seems to want to collect pretty much everything you do on your machine, and while there’s some prompts to reduce the amount of data it collects, even with everything set to minimum it’s still quite a lot. Once you’re past the out of box experience, you can finally start using your new Windows installation – but actually not really. Unlike a Linux distribution, where all your hardware is detected automatically and will use the latest drivers, on Windows, you will most likely have to do some manual driver hunting, searching the web for PCI and vendor IDs to hopefully locate the correct drivers, which isn’t always easy. To make matters worse, even if Windows Update installs the correct drivers for you, those are often outdated, and you’re better off downloading the latest versions straight from the vendors’ websites. This is especially problematic for motherboard drivers – motherboard vendor websites often list horribly outdated drivers. Updating Windows 11 Once you have all the drivers installed and updated, which often requires several reboots, you might notice that your system seems to be awfully busy, even when you’re not actually doing anything with it. Most likely, this means Windows Update is running in the background, sucking up a lot of system resources. If you’re used to Linux or BSD, where updating is a quick and centralised process, updating things on Windows is a complete and utter mess. Instead of just updating everything all at once, Windows Update will often require several different rounds of updates, marked by reboots. You’ll also discover that Windows Update is not only incredibly slow both when it comes to downloading and installing, but that it’s also incredibly buggy. Updates will randomly fail to install for no apparent reason, and there’s a whole cottage industry of useless ML and SEO content on the internet trying to “help” you fix these issues. On my system, without doing anything, Windows Update managed to break itself in less than 24 hours – it listed 79 (!) driver updates related to the two Xeon processors (I assume it listed certain drivers for every single of the 40 threads), but every single one of them, save for one or two, would fail to install with a useless generic error code. Every time I tried to install them, one or two more would install, with everything else failing, until eventually the update process just hung the entire system. A few days later, the listed updated just disappeared entirely from Windows Update. The updates had no KB numbers, so it was impossible to find any information on them, and to this day, I have no idea what was going on here. Even after battling your way through Windows Update, you’re not done actually updating your system. Unlike,

Bike driving game for Android

Posted on June 20, 2024 by Michael G
Best bike driving game for Android #games #shorts

Putin no Vietname para reforçar os laços com o Sudeste Asiático perante isolamento russo

Posted on June 20, 2024 by Michael G
Após uma deslocação à Coreia do Norte no início desta semana, o Presidente russo está no Vietname para uma visita de Estado em busca de reforçar parcerias no Sudeste Asiático, perante uma Rússia isolada no cenário internacional.

Teardown Official Folkrace DLC Launch Trailer

Posted on June 20, 2024 by Michael G
Hit the gas! Teardown’s new “Folkrace” expansion launches on PlayStation 5, Xbox Series X|S, and PC via Steam. This second premium DLC for the award-winning destructible sandbox game from Tuxedo Labs and Saber Interactive introduces a new standalone single-player campaign*, as well as new maps and vehicles, three driving modes, and more. “Folkrace” is free today for owners of Teardown’s Season Pass, Deluxe Edition, or Ultimate Edition. It is also available as a standalone purchase for $7.99/€7.99/£6.69.

Strap in, because “Folkrace” is here to take you on the ride of your life! Do whatever it takes to win against formidable AI opponents in intense championship races, rallies and demolition derbies. Explore three new maps as you cruise and crash to the finish line across dozens of competitive automotive challenges. With each win, you’ll earn cash to upgrade and customize your fleet of vehicles, from slick sports cars to lumbering food trucks and more!

“Folkrace” is the second of four DLC releases featured in Teardown’s Season Pass, including the time-travelling, Wild West-themed “Time Campers” DLC, plus two more DLCs still to come. Players can buckle up with all four DLC packs by purchasing the game’s Season Pass or Ultimate Edition. Both the “Folkrace” and “Time Campers” DLCs also come bundled with Teardown’s Deluxe Edition.

For more Teardown, visit https://www.TeardownGame.com

*The “Folkrace” campaign can be started at any time from Teardown’s main menu under “Expansions.”

JOIN THE XBOXVIEWTV COMMUNITY
Twitter ► https://twitter.com/xboxviewtv
Facebook ► https://facebook.com/xboxviewtv
YouTube ► http://www.youtube.com/xboxviewtv
Dailymotion ► https://dailymotion.com/xboxviewtv
Twitch ► https://twitch.tv/xboxviewtv
Website ► https://xboxviewtv.com

Note: The #Teardown Folkrace DLC #Trailer is courtesy of Tuxedo Labs and Saber Interactive. All Rights Reserved. The https://amzo.in are with a purchase nothing changes for you, but you support our work. #XboxViewTV publishes game news and about Xbox and PC games and hardware.

Membership – How To Allow Any User To Register On Your Site With The Permission You Choose: Itay…

Posted on June 20, 2024 by Michael G
The Complete Guide On The Option To Register For All Your Users With All The Permissions That Wordpress Has:
https://itayverchik.com/membership-wordpress/

In this guide, I show you how to allow membership – anyone can register – for any user to register on your site with the permission you choose.

To Sign Up For The Keywords Tracking System:
https://say-v.com/

Join now the community of Webmasters and SEO Marketers completely free:
https://www.facebook.com/groups/itayverchik

To purchase Elementor Pro, the world’s best WordPress page designer:
https://trk.elementor.com/2500

Don’t Have A Web Hosting Account Yet Or Are You Just Not Satisfied With Your Existing Hosting?
Get A 25% Discount For Cloudways Web Hosting For The First 3 Months:
https://platform.cloudways.com/signup?id=314159&coupon=VERCHIK

Newcomers, trustworthiness, and privacy: priorities from the Japanese Wikipedia community

Posted on June 20, 2024 by Michael G
The Wikimedia Foundation develops an Annual Plan every year, where we outline our key goals and priorities and explain the work we will set out…

Mario Hernandez: Managing image embeds with Drupal media

Posted on June 20, 2024 by Michael G

Allowing your content creators to embed images in text fields is a big risk if you don’t have the right measures in place to get properly rendered images without jeopardizing your site’s performance. We faced this issue first-hand with embedded images due to not using the right configuration and this lead to extremely large images being rendered. In this post I’ll go over the techniques I took for addressing those issues and set up a system for image embeds that is solid and performant.

I started by writing a seven-part guide on how to setup responsive images. In this post I’ll focus on image embeds. If you followed or read the responsive images guide, you should be able to take advantage of some of the work we did there in this post. The guidelines covered here include:

  • Defining requirements
  • Image styles
  • Media view modes
  • Text format configuration

Defining requirements

Before you write the first line of code or set the first drupal configuration for this issue, you need to have a clear understanding of your requirements. Here is a summary of my requirements:

  • Only certain user roles can embed images

    This means we need to figure out if the text formats used in our site will allow us to set the restrictions we need. Otherwise we may need to create or edit a text format for our target user roles.

  • Users need to be able to choose the image size and aspect ratio when embedding images

    We defined the image sizes and aspect ratios and assigned names that were user-friendly for non-technical users. We came up with name options we think our users will find easy to work with such as:

    • Small square, Small portrait, Small rectangular
    • Medium square, Medium portrait, Medium rectangular, Medium rectangular wide
    • Large square, Large rectangular, Large rectangular wide
    • Extra large square, Extra large rectangular, Extra large rectangular wide
  • If no option is selected by users, set a default image size

    For the default option when no selection is made by the user, we decided to use the Medium rectangular option. This has an aspect ratio of 3:2 and it measures about 720×480.

  • Existing Media items need to be available for embedding

    This was a tricky one because my original inclination was to create a new Media type so we can isolate all configuration for its view modes and not overpopulate our default Media type. However, this ended up not working for us because when you limit your image embeds to only use a new Media type, you don’t get access to any of the media items (images), that have already been uploaded to the Media library using other media types. Ultimately we ended up using Drupal core’s Media type, Image, and our dev team had to compromise on having a very busy list of view modes for this media type.

  • Images need the ability to be cropped wihin the Media page

    Since most of our images already provide the ability to be cropped at different aspect ratios, using the core Media type in the previous bullet point made this an easy solution.

Image styles

It all starts with image styles. I’m not going to go over how to create image styles, you can read my post Image styles in Drupal. The one thing I am going to repeat however is the importance of creating reusable image styles. Reusable image styles can help you reduce the number of image styles you create while providing the flexibility you need with each use case.

Image styles are key as each of the size options we defined above translate into image styles. So Small square for example, is an image style that is defined as 1:1 (250px). Medium rectangular would be something like 3:2 (720x480), etc. You may be wondering, how do you plan on using fiendly names for your content editors when your image styles names are not very friendly? Great question. Since we are using Drupal’s Media, content editors do not interact directly with image styles, they do with Media view modes and this is where we will use more friendly names.

Media view modes

View modes are one of Drupal’s powerful features. Being able to display content is different ways with little effort can turn a simple website into a dynamic content hub. The example I always give when someone asks me what view modes are or how do they work is the Amazon website. When you are viewing a product in amazon.com, or most retail websites for that matter, you will notice that the same product or similar ones appear all over the page but in slightly different ways, with different fields or styles. See the page below for an example.

Mario Hernandez: Managing image embeds with Drupal media

The image above shows many ways in which a product can be displayed. I’ve numbered each display.

In Drupal, every entity such as content types, media types, blocks, etc., offer the ability to create view modes. For the purpose of image embeds, we will create a Media type view mode for each image style we plan on using. The view modes is what content editors will interact with when choosing an image size or aspect ratio during the image embed process. This is where we will use the user-friendly names we defined earlier. Let’s go over how this relationship between view modes and image styles works for image embeds.

Configure view modes for the Image media type

  1. In your Drupal site, create an image style for each image size option you wish to provide to users when embedding images.

  2. Next, create a Media view mode for each image style (/admin/structure/display-modes/view). Very iimportant: Remember the view mode’s label (name) is where we are going to use the friendly name (i.e. Medium rectangular (720×480)). I like to keep the machine name similar to the label so it’s easier to debug or identify in code (i.e. medium_rectangular_720x480).

  3. Now, let’s tie 1 & 2 together:

    • Go to the media type you plan on using for media embeds (/admin/structure/media/manage/image/display). I am using Drupal core’s Image media type.
    • Scroll down and expand the Custom display settings fieldset.
    • Check each of the view modes you created in step 2 and click Save.
  4. Now click each of the view modes and update the image field to use the respective/matching image style.

Configure the text format

View modes and image styles are all configured. Now let’s configure the Text format that authorized users will use to embed images.

  1. Go to the Text formats and editors page (/admin/config/content/formats)
  2. Click Configure next to the text format you plan on using (i.e. Full HTML)
  3. Ensure the right user roles are selected
  4. Within the Toolbar configuration section, drag the Drupal media button from the Available buttons options to the Active toolbar section. You could probably remove the original insert image button since you won’t be using it.
  5. Scroll to the Enabled filters section and check the Embed media checkbox
  6. Scroll to the Filter settings section and set the following:
    • Default view mode: This is the default display that will be used if content editors don’t pick an option when embedding images. Select any of the view modes that represents the image size you want to use as default.

    • Media types selectable in the Media Library: Select the Media type you plan on using. In my case is Image.

    • View modes selectable in the ‘Edit media’ dialog: Finally, select each of the view modes you created in the previous section. FYI: View modes will be sorted in alpha order by their machine name. In my case I had to prefix some of the machine names with either “a” or “b” so the list of options for the users to choose from would be nicely organized by their label name. See screnshot below.

    • Click Save configuration

Testing your configuration

Now that we’ve completed all the configuration we should be able to take it for test drive.

  • Go to any page where there is a text field with a WYSIWYG editor
  • Make sure you are using the right text format by selecting it at the bottom of the text field where you want to embed an image
  • Click the Insert media button from the editor’s toolbar
  • Select or upload the image you’d like to embed
  • When the image has been inserted, click on it and you should see several options of actions you can do with the image. Things like align the image, add a caption, link it, and you should also see a selection box listing all the view modes you created.
  • After making your selection you should immediately see the image size/aspect ratio change to the one you selected. When you are happy with your selection, click the Save button to save your page.

Important: Depending on your site’s configuration, the options for changing your image size may look different than mine. In my case, I am only using Drupal’s core modules and this is how the options look for me:

Example of image embed editor options

In closing

Putting a system like this for your image embeds will give you the piece of mind that content editors have options to choose how big or small they would like images to be displayed, and from a performance point of view, if your image styles are done properly, you can rest assurred that bloated images will never be rendered because you have put the guard rails in place to avoid this from happening.

I hope you found this article useful and can put these techniques to use in your own Drupal project. Happy New Year! 🎉 🎊 🎆 👋

command_kit 0.6.0 released

Posted on June 20, 2024 by Michael G
Released command_kit 0.6.0.
  • Previous
  • 1
  • …
  • 202
  • 203
  • 204
  • 205
  • 206
  • 207
  • 208
  • …
  • 821
  • Next

Recent Posts

  • Qwen3-Coder
  • Open Source is Back
  • An easy way to develop Home Assistant integrations
  • SmartEsq has launched an AI-powered MFN Election tool
  • Open Source email Clients

Categories

  • Android
  • Linux
  • News
  • Open Source
©2025 Open World News | Powered by Superb Themes
We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept All”, you consent to the use of ALL the cookies. However, you may visit "Cookie Settings" to provide a controlled consent.
Cookie SettingsAccept All
Manage consent

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.
CookieDurationDescription
cookielawinfo-checkbox-analytics11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".
cookielawinfo-checkbox-functional11 monthsThe cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".
cookielawinfo-checkbox-necessary11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary".
cookielawinfo-checkbox-others11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other.
cookielawinfo-checkbox-performance11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance".
viewed_cookie_policy11 monthsThe cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data.
Functional
Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.
Performance
Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.
Analytics
Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.
Advertisement
Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.
Others
Other uncategorized cookies are those that are being analyzed and have not been classified into a category as yet.
SAVE & ACCEPT