image-gallery-plugin

2.0.0 • Public • Published

jQuery Image Gallery Plugin

Overview The jQuery Image Gallery Plugin allows you to create a simple image gallery with customizable features. Users can add images, save image URLs, and configure the behavior of the gallery.

(https://galeria-fotos-three.vercel.app/)

Getting Started

Installation To use this plugin, follow these steps:

Include jQuery in your HTML file. You can use a CDN or host the jQuery file locally:

<script src="https://code.jquery.com/jquery-3.7.1.min.js"></script>

Include the main.js file for the plugin:

<script src="main.js"></script>

Add the HTML structure for the gallery. See the example HTML code.

Initialize the plugin on your page. You can customize the behavior with options.

Options

The plugin provides the following customizable options:

loadImagesFromCookies: Enable or disable loading images from cookies. Default is false. saveImagesToCookies: Enable or disable saving images to cookies. Default is false.

Usage

Click the "ADD IMAGE" button to add an image to the gallery. Click the "Save URLs" button to save the image URLs as a text file. Hover over an image to view the "View Larger" link. Click the "View Larger" link to open the image in a new tab. Removing Images: If you wish to remove an image from the gallery, you can do so by following these steps:

Hover over the image you want to remove. Once hovered, the "Remove" button will become visible. Click the "Remove" button to delete the image from the gallery. The image will be permanently removed, and the URL will no longer be saved. This functionality provides you with the flexibility to manage your gallery and keep it organized with only the images you want to display.

Keywords

jQuery, Image Gallery, Plugin, Gallery Plugin, Image Management, Web Development

Readme

Keywords

none

Package Sidebar

Install

npm i image-gallery-plugin

Weekly Downloads

1

Version

2.0.0

License

MIT

Unpacked Size

895 kB

Total Files

12

Last publish

Collaborators

  • biasiolo