2.0.0 • Published 6 months ago

image-gallery-plugin v2.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months ago

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/)

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

Include the main.js file for the plugin:

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.

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

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.

2.0.0

6 months ago