
Security News
Crates.io Users Targeted by Phishing Emails
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
@delicious-simplicity/next-image-imgix-loader
Advanced tools
A comprehensive [Imgix](https://imgix.com/) image loader for the [Next.js Image component](https://nextjs.org/docs/api-reference/next/image).
A comprehensive Imgix image loader for the Next.js Image component.
next/image
buildUrl
from react-imgix
import Image from "next/image";
import { imgixLoader } from "@delicious-simplicity/next-image-imgix-loader";
const Component = ({ image }) => {
return (
<>
<Image
loader={(props) => imgixLoader(props, { fit: "crop", ar: "1:1" })}
src={image.url}
alt={image.title}
width={image.width}
height={image.height}
/>
</>
);
};
shopify
This option transforms any passed url to the loader with cdn.shopify.com
and replaces it the value of the NEXT_PUBLIC_SHOPIFY_IMGIX_URL
environment variable. You can set this value in whatever local .env file in your project.
Required: ❌
Type: boolean
Default: false
Usage:
imgixLoader(props, { fit: "crop", ar: "1:1" }, { shopify: true });
FAQs
A comprehensive [Imgix](https://imgix.com/) image loader for the [Next.js Image component](https://nextjs.org/docs/api-reference/next/image).
The npm package @delicious-simplicity/next-image-imgix-loader receives a total of 93 weekly downloads. As such, @delicious-simplicity/next-image-imgix-loader popularity was classified as not popular.
We found that @delicious-simplicity/next-image-imgix-loader demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers 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
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
Product
Socket now lets you customize pull request alert headers, helping security teams share clear guidance right in PRs to speed reviews and reduce back-and-forth.
Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.