
Security News
Next.js Patches Critical Middleware Vulnerability (CVE-2025-29927)
Next.js has patched a critical vulnerability (CVE-2025-29927) that allowed attackers to bypass middleware-based authorization checks in self-hosted apps.
m24-gallery
Advanced tools
npm install m24-gallery
Inside your main vue file:
import Vue from 'vue'
Vue.component('article-gallery', require('./../../../m24-gallery').default)
Inside your css or similar be sure to include the gallery css located at node_modules/m24-gallery/dist/m24-gallery.min.css
If you're using PurgeCSS be sure to whitelist the m24g- pattern inside the config, for example:
whitelistPatterns: [
/^m24g-/
],
You can customize the color of the arrows and borders via
:root {
--mainGalleryColor: grey; /* Color of navigation buttons and thumb borders */
--secondaryGalleryColor: #292727; /* Color of the gallery background */
--mainGalleryFontColor: white;
--mainGalleryIconColor: white;
--expandedGalleryBackground: rgba(0, 0, 0, 0.6); /* Color of the opaque background when expanding the gallery */
}
Prop | Required | Default |
---|---|---|
images | true | [] |
title | false | 'Image Gallery' |
imageSizes | false | { wMax: 1200, wMin: 800, hMax: 'X', hMin: 500 } |
thumbSizes | false | { wMax: 400, wMin: 200, hMax: 240, hMin: 120 } |
The imageSizes and thumbSizes are only valid when your URL strings contain dynamic size values (##WIDTH##
and ##HEIGHT##
)
The images array should contain items with the following properties...
[
{
"id": 123213,
"title": "image.jpg",
"description": "A custom image example",
"author": "Author name goes here",
"url": "http://image-location.com/image-##WIDTH##x##HEIGHT##.jpeg"
}
]
FAQs
A simple vuejs gallery component in use by Media24(.si)
The npm package m24-gallery receives a total of 17 weekly downloads. As such, m24-gallery popularity was classified as not popular.
We found that m24-gallery demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Next.js has patched a critical vulnerability (CVE-2025-29927) that allowed attackers to bypass middleware-based authorization checks in self-hosted apps.
Security News
A survey of 500 cybersecurity pros reveals high pay isn't enough—lack of growth and flexibility is driving attrition and risking organizational security.
Product
Socket, the leader in open source security, is now available on Google Cloud Marketplace for simplified procurement and enhanced protection against supply chain attacks.