Gallery Modals

2 0

Gallery Modals for WordPress®

Gallery Modals is a WordPress plugin that adds modal popups to gallery images, providing a download button and a link to view image details. Enhance your website's user experience by allowing visitors to interact with gallery images in a more engaging and interactive way.

Table of Contents

Features

  • Modal Popups for Gallery Images: Automatically adds modal functionality to all gallery images.
  • Download Button: Allows users to download images directly from the modal.
  • View Image Details: Provides a link to the image's attachment page for more information.
  • Customizable Appearance: Fully customize colors and opacity for various modal elements.
  • Display Options: Control the visibility of modal elements like title, description, and buttons.
  • Responsive Design: Modals are mobile-friendly and adapt to different screen sizes.

Installation

From GitHub

  1. Clone or Download the Repository:

    git clone https://github.com/robertdevore/gallery-modals.git
  2. Upload to WordPress:

    • Upload the gallery-modals folder to your WordPress site's /wp-content/plugins/ directory.
  3. Activate the Plugin:

    • Log in to your WordPress admin dashboard.
    • Navigate to Plugins > Installed Plugins.
    • Find Gallery Modals in the list and click Activate.

From ZIP File

  1. Download the Latest Release:

    • Go to the GitHub Releases page.
    • Download the latest gallery-modals.zip file.
  2. Install via WordPress Admin:

    • In your WordPress admin dashboard, navigate to Plugins > Add New.
    • Click on Upload Plugin at the top.
    • Choose the downloaded gallery-modals.zip file and click Install Now.
    • After installation, click Activate Plugin.

Usage

Once activated, the plugin automatically enhances all WordPress gallery images with modal functionality.

Viewing Modals

  • Open Modal: Click on any gallery image to open it in a modal popup.
  • Download Image: Click the Download button within the modal to save the image.
  • View Details: Click the View Image Details button to navigate to the image's attachment page.
  • Close Modal: Click the Close icon (×) or click outside the modal to close it.

Settings

Customize the plugin to suit your needs through the settings page.

Accessing the Settings

  1. Log in to your WordPress admin dashboard.
  2. Navigate to Gallery Modals in the sidebar menu.

Color and Opacity Settings

Adjust colors and opacity for various modal elements:

  • Overlay Background
  • Modal Background
  • Title Text
  • Main Text
  • Button Background
  • Button Text
  • Close Button

Each element allows you to select a color and set the opacity level (from 0 to 1).

Display Settings

Control the visibility of certain elements within the modal:

  • Hide Modal Title
  • Hide Modal Description
  • Hide Download Button
  • Hide View Details Button

Check the boxes to hide the respective elements.

Real-Time Preview

The settings page includes a real-time preview of the modal. As you adjust settings, the preview updates instantly to reflect your changes.

Contributing

Contributions are welcome! To contribute:

  1. Fork the Repository:

    • Click the Fork button on the repository page.
  2. Clone Your Fork:

    git clone https://github.com/your-username/gallery-modals.git
  3. Create a Feature Branch:

    git checkout -b feature/YourFeatureName
  4. Make Your Changes.

  5. Commit Your Changes:

    git commit -am 'Add new feature'
  6. Push to Your Fork:

    git push origin feature/YourFeatureName
  7. Create a Pull Request:

    • Open a pull request from your feature branch to the main repository.

License

This plugin is licensed under the GNU General Public License v2.0.

The following is a list of the most recent releases for this plugin.

  • 1.0.0 - 1.0.0 / Oct 28th, 2024
    SHA256 hash:
    e25bee116f680afa66e7c51135e13d07c3285185c5092cfb73a5d40bd321f930

The following is a list of the most recent issues for this plugin.

Hash Verification

ZIP files downloaded via this site have an associated SHA256 hash.

Mac

On Mac, you can use the sha256 command to calculate the hash of a downloaded ZIP file. Open terminal and execute:

sha256 [filename]

Where [filename] is the name of the ZIP file. If the hash matches the one on the website, the ZIP file is genuine.

Linux

On Linux, you can use the sha256sum command to calculate the hash of a downloaded ZIP file. From a shell, execute:

sha256sum [filename]

Where [filename] is the name of the ZIP file. If the hash matches the one on the website, the ZIP file is genuine.

Latest Release

The latest official release is below.

1.0.0

Oct 28th, 2024
Download 1.0.0
SHA-256 hash:
e25bee116f680afa66e7c51135e13d07c3285185c5092cfb73a5d40bd321f930

Github Repository

This project is located on Github in the repository robertdevore/gallery-modals.

Star Support Project