I have the same issue. the problem was in the module:

Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException: You have requested a non-existent service "colorbox.attachment";.

The module mantainer do not add colorbox to dependencies.

So you just to need to install and enable Colorbox module.

Answer from Romix on Stack Exchange
🌐
Drupal
drupal.org › project › magnific_popup
Magnific Popup | Drupal.org
February 13, 2024 - This module provides a "Magnific Popup" field formatter for File Entity and Image fields. Fields with multiple items (cardinality > 1) can be grouped into a Magnific Popup gallery, or shown individually as a stand-alone popup (no "previous"/"next" navigation options).
🌐
Drupal
drupal.org › project › magnific_popup › releases
Releases for Magnific Popup | Drupal.org
This is only for users upgrading from 8.x-1.1 (or earlier). See https://www.drupal.org/node/2653026 for more details · Adds video_embed_field integration - videos can now be rendered as magnific popups with the various gallery/formatting options.
Discussions

8 - Video Embed Field with Magnific Popup - Drupal Answers
I'm trying to display an embedded video in a popup window using the Magnific Popup Module. For the video field, I'm using Video Embed Field.The popup window works with images trouble-free. However ... More on drupal.stackexchange.com
🌐 drupal.stackexchange.com
September 14, 2017
Insert images and use Magnific Popups styling? | Drupal.org
Has anyone successfully added images with Insert module to use Magnific Popups styling on image fields? Images are easily inserted and link correctly, but popup styling is missing. More on drupal.org
🌐 drupal.org
February 1, 2019
Drupal - magnific popup only works when logged in - Stack Overflow
I am using magnific popup JS (http://dimsemenov.com/plugins/magnific-popup/) to produce a popup for a youtube video on my Drupal site. The implementation works fine, but only if I am logged into Dr... More on stackoverflow.com
🌐 stackoverflow.com
August 13, 2015
8 - Loading an Ajax form through Ajax (Magnific Popup) - Drupal Answers
I'm trying to load an Ajax form using the Magnific Popup Ajax type and as expected the returned Form is not Ajaxified as I need to attach behaviors to it. However, following other related issues d... More on drupal.stackexchange.com
🌐 drupal.stackexchange.com
June 14, 2017
🌐
Drupal
drupal.org › project › swipeable_magnific_popup
Swipeable Magnific Popup | Drupal.org
February 13, 2024 - The Swipeable Magnific Popup module makes the Magnific Popup module swipeable using the TouchSwipe jQuery plugin. No custom coding required!
🌐
Drupal8
drupal8.support › en › modules › magnific-popup
Magnific popup | Drupal 8 Support
August 28, 2017 - https://www.drupal.org/project/magnific_popup · fields · images · gallery · Simple gallery that occurs after clicking a picture. Set the display mode. The node shows all of the pictures. Use some CSS to order them. This is the gallery. Completely responsive..
🌐
Drupalsun
drupalsun.com › souvik › 2021 › 01 › 05 › implementing-magnific-popup
Implementing Magnific Popup | Drupal Sun
January 5, 2021 - You can find the minified JS file here: https://github.com/dimsemenov/Magnific-Popup/blob/master/dist/jquery.magnific-popup.min.js. Place this JS file in the theme you wish to use. Next in the template.php file for your corresponding theme, you need to add the above JS file for the particular content type. You can do something like this below: if ($vars['node']->type == 'article'') { drupal_add_js(drupal_get_path('theme','my_theme') .
🌐
Drupal
drupal.org › project › issues › magnific_popup
Issues for Magnific Popup | Drupal.org
Level up your skills at DrupalCon Chicago 2026 with focused Summits and immersive, hands-on Trainings led by community experts.
🌐
Drupal4u
drupal4u.org › tips-and-tricks › best-drupal-modules-show-image-and-video-contents-overlay-gallery
The best Drupal modules to show image and video contents in an overlay gallery | Drupal 4U
November 22, 2023 - Magnific Popup is a responsive jQuery lightbox plugin that is focused on performance and providing best experience for user with any device (Zepto.js compatible). ... Colorbox (Drupal 10/9 and 7) Colorbox is a light-weight customizable lightbox plugin for jQuery.
Find elsewhere
🌐
Drupal
drupal.org › project › swipeable_magnific_popup › releases
Releases for Swipeable Magnific Popup | Drupal.org
Level up your skills at DrupalCon Chicago 2026 with focused Summits and immersive, hands-on Trainings led by community experts. View all offerings and register today · 7.x-1.0Unsupported · Initial release · Read more about swipeable_magnific_popup 7.x-1.0 ·
🌐
Drupal
drupal.org › project › insert › issues › 3034583
Support for Magnific Popup? [#3034583] | Drupal.org
April 18, 2020 - Since the colorbox functionality is pretty similar, some insert_magnific_popup module would be kind of a clone of insert_colorbox: Just like in colorbox_insert, you could simply add duplicates of existing styles to be selected for inserting, that, if selected, would add the Magnific Popup functionality.
🌐
Drupal
drupal.org › project › magnific_popup › issues › 2210993
Can't get gallery Magnific Popup to initiate [#2210993] | Drupal.org
April 20, 2016 - The Image field formatter is set to Magnific Popup, and the formatter setting has "Gallery: All Items Displayed".
🌐
Drupal
drupal.org › project › magnific_popup › issues › 2714653
Problem Magnific pop and jquery [#2714653] | Drupal.org
August 31, 2017 - The problem is actually an issue in Drupal 7 (fixed in D8, but not backported) which doesn't respect #attached in text filters, so the only solution was to include Magnific Popup on every page (WYSIWYG+Media integration).
🌐
Drupal
drupal.org › forum › support › post-installation › 2019-01-31 › insert-images-and-use-magnific-popups-styling
Insert images and use Magnific Popups styling? | Drupal.org
February 1, 2019 - Images are easily inserted and link correctly, but popup styling is missing. Log in or register to post comments ⋅ Categories: Drupal 8.x ... I have had this problem, but this is only because I forgot to install the JS and CSS libraries which the module needs to work. You can find more information about how and where to install these libraries in the 8.x branch section in the link below - ... The issue isn't with Magnific Popup, I've got that working.
🌐
Quilltez
quilltez.com › blog › drupal-popup-image-functionality-fields-and-inline-images
Drupal Popup Image Functionality for fields and inline images | Quilltez
We searched a lot of jquery plugins to match the behaviors and finally found the plugin called Magnific Popup. It has the exact same zooming effect and behaviors. And one more interesting part is this there is available a Drupal module that is implemented in this library for drupal.
🌐
Stack Overflow
stackoverflow.com › questions › 31963514 › drupal-magnific-popup-only-works-when-logged-in
Drupal - magnific popup only works when logged in - Stack Overflow
August 13, 2015 - I am using magnific popup JS (http://dimsemenov.com/plugins/magnific-popup/) to produce a popup for a youtube video on my Drupal site. The implementation works fine, but only if I am logged into Drupal.
🌐
Drupal
drupal.org › project › usage › magnific_popup
Usage statistics for Magnific Popup | Drupal.org
Level up your skills at DrupalCon Chicago 2026 with focused Summits and immersive, hands-on Trainings led by community experts. ... This page provides information about the usage of the Magnific Popup project, including summaries across all versions and details for each release.
🌐
Drupal
drupal.org › project › magnific_popup › issues › 3194727
Support magnific popup for ckeditor images [#3194727] | Drupal.org
April 6, 2021 - Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center. ... Add a checkbox in the CKEditor image upload form to enable/disable the magnific popup for the images
🌐
Drupal
drupal.org › project › reader › issues › 3255795
Make magnific popup optional [#3255795] | Drupal.org
March 20, 2022 - Follow up to #3241512: Drupal Behaviors do not run when next page has been loaded with infinite scroll. - Magnific popup should become optional - for some reason, the magnific popup behavior doesn't run when infinite scroll goes to page 2 (even though the event is triggered)
🌐
Drupal
security.drupal.org › project › magnific_popup
Magnific Popup | Security
October 21, 2013 - This module provides a "Magnific Popup" field formatter for File Entity and Image fields. Fields with multiple items (cardinality > 1) can be grouped into a Magnific Popup gallery, or shown individually as a stand-alone popup (no "previous"/"next" navigation options).
🌐
Stack Exchange
drupal.stackexchange.com › questions › 238389 › loading-an-ajax-form-through-ajax-magnific-popup
8 - Loading an Ajax form through Ajax (Magnific Popup) - Drupal Answers
June 14, 2017 - (function ($, Drupal) { 'use strict'; Drupal.behaviors.MemberPhotosGallery = { attach: function (context, settings) { $(window).on('hashchange', function () { var url = window.location.hash.substring(1); if (url == '/' || url == '') { $.magnificPopup.close(); } else if (url.substring(0, 6) == "/photo") { $.magnificPopup.open({ items: { src: url }, type: 'ajax', mainClass: 'mfp-zoom-out', showCloseBtn: true, closeOnBgClick: false, callbacks: { close: function () { window.location.hash = '/'; }, ajaxContentAdded: function () { var form = $('form#member-photo-edit')[0]; Drupal.attachBehaviors(form, settings); //# Triggering this doesn't ajaxify the Form.