
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
react-image-browser
Advanced tools
React imageBrowser is simple and easy to use pre-built component for react projects. RiB contains slide and grid view, automated slideshow, image-info-options and fullscreen mode.
More preview images in preview-images folder.
v.1.2.1: propTypes removed (not needed) v.1.2.0: SVG icons for consistency and mediascreen update for small screens.
React imageBrowser is a simple to use image browser component for React applications. It is designed to be easy to set up and use, while still being customizable and responsive. It can be used to display images in a grid or as a slideshow, with swipe-motion and automated slideshow features.
npm install react-image-browser
Install react-image-browser package from NPM.
Clone the repository from GitHub and copy react-image-browser.jsx and imageBrowser.css to your project.
import ImageBrowser from 'react-image-browser'
const images = [
{ url: 'imageURL', title: 'imageTitle', description: 'ImageALT', author: 'imageAuthor' },
{ url: 'imageURL', title: 'imageTitle', description: 'ImageALT', author: 'imageAuthor' }
];
Set up an array of objects, each containing image url, title, description, author, date, and location. Only url is mandatory, other info is optional. Images can be local or fetched from internet.
<ImageBrowser images='images' />
Add componennt to your application where you want images to show.
<ImageBrowser images='yourImgArray' />
Array of image objects. Each object must contain url -property. Optional properties are title, description, author, date, location.
<ImageBrowser images='yourImgArray' open='grid' />
Set to grid to open ImageBrowser in grid view. Default is slide.
<ImageBrowser images='yourImgArray' button='Open ImageBrowser' />
Set a string / node to open ImageBrowser with button. Button style can be modified from inside imageBrowser.css file.
<ImageBrowser images='yourImgArray' actions={true} />
Set to true to display Like, Share, and Comment button on image info. Default is false. You need to create and pass your own functions to these buttons.
Read more about ImageBrowser from the website:
FAQs
React imageBrowser is simple and easy to use pre-built component for react projects. RiB contains slide and grid view, automated slideshow, image-info-options and fullscreen mode.
The npm package react-image-browser receives a total of 0 weekly downloads. As such, react-image-browser popularity was classified as not popular.
We found that react-image-browser demonstrated a healthy version release cadence and project activity because the last version was released less than 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.
Research
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.