Infronix Gallery

Description

Infronix Gallery creates responsive image and video galleries with a visual editor, shortcodes, a Gutenberg block, and an optional Elementor widget. Global settings provide defaults for new galleries, with optional local aggregate view counting.

Highlights:
* Working global settings for layout, responsive columns, spacing, captions, loading, search, filters, and lightbox defaults.
* Optional anonymous gallery display counts and a real count of published posts and pages containing gallery shortcodes.
* Gallery CRUD with draft/publish, duplicate, delete and slug support.
* Gallery management list with thumbnail previews, one-click actions, shortcode copy, search, status filters and pagination.
* Sticky four-section editor navigation: General, Editor, Images and Lightbox/Features.
* Per-gallery and per-image ratio, object-fit and object-position controls.
* Responsive desktop/tablet/mobile columns with quick controls above the live preview.
* Dimension units for relevant controls: px, %, em, rem, vw and vh.
* Grid, Masonry, Justified, Tiles, Square, Portrait, Landscape, Creative, Auto, Carousel, Slider, Browser, Album and Slideshow layouts.
* Configurable arrows, navigation dots, autoplay and responsive behavior.
* Optional lightbox, search, tag filters, captions and hover effects with real Load More, Pagination, Infinite Scroll and AJAX Pagination.
* Image and mixed video galleries (YouTube, Vimeo and direct self-hosted video URLs), including mixed-media lightbox playback.
* Responsive WordPress images with native srcset/sizes support and lazy loading.
* Shortcode: [infronix_gallery id=”123″]. Legacy [id_gallery] and [idp_gallery] shortcodes remain supported.
* Dynamic Gutenberg block and dedicated Elementor widget.
* Classic Editor insert button.
* AJAX editor saves without redirecting away from the active editor view.
* Scoped frontend CSS/JS and conditional frontend assets.
* Keyboard-accessible controls, focus states and reduced-motion support.

Global settings and statistics

Open Infronix Gallery > Settings, the Dashboard Settings button, or Quick Actions > Settings to configure the same settings page. Save settings to apply defaults to newly created galleries; existing galleries retain their saved designs. Each gallery can override these defaults in its Editor. Restore default settings restores the built-in defaults and disables view counting without altering existing galleries or totals.

Total Media Items includes gallery images and videos. Content Using Shortcodes counts published posts and pages containing an unescaped [infronix_gallery], [id_gallery] or [idp_gallery] shortcode, once per post or page. It does not count Gutenberg blocks, native Elementor widgets, templates, draft content, or shortcode text stored in custom fields.

View counting is disabled by default. When enabled, a published gallery is counted once per page load as it enters the visible browser viewport. Administrator views and editor previews are excluded. Repeat visits count again. This is an approximate display count, not a count of unique visitors; JavaScript blockers, expired tokens on cached pages, and automated requests can affect totals. No statistics are sent to Infronix or any external analytics service. Disabling counting retains totals; deleting a gallery removes its total.

Privacy and external services

The optional view counter stores only a gallery ID and its running view total in this site’s WordPress database. It does not set cookies, use browser storage, or collect IP addresses, visitor identifiers, or visit logs. Other software on a site, its web server, and any video providers may have their own data collection policies.

YouTube and Vimeo are optional video hosting services. No account, API key, or external service is required for local image galleries or locally hosted videos. Adding a YouTube or Vimeo video URL explicitly selects that provider for that gallery. When the gallery or video lightbox loads that embedded video, the visitor’s browser contacts the provider to retrieve the player and video; the provider receives ordinary request data, such as the visitor’s IP address and browser information, and may apply its own cookies or tracking. No WordPress account data or gallery analytics are sent to these services by this plugin. Site owners should disclose embedded providers in their privacy policy.

  • YouTube: https://www.youtube.com/ (embeds use https://www.youtube-nocookie.com/). Terms: https://www.youtube.com/t/terms . Privacy: https://policies.google.com/privacy .
  • Vimeo: https://vimeo.com/ (embeds use https://player.vimeo.com/). Terms: https://vimeo.com/terms . Privacy: https://vimeo.com/privacy .

Source code and build instructions

This plugin ships the complete, human-readable PHP, JavaScript and CSS source in the plugin ZIP. No npm, webpack, transpilation or asset compilation is required to use or modify this release. The Classic Editor JavaScript source is assets/admin/js/classic.js itself; it is intentionally unminified and can be edited directly. JavaScript and CSS are enqueued by WordPress and shipped in readable form.

No additional build tools are required. To package a new release, zip the infronix-gallery directory without changing its folder name. Run PHP and JavaScript syntax checks and test plugin activation on a clean WordPress installation with WP_DEBUG enabled before submitting.

Blocks

This plugin provides 2 blocks.

  • Gallery
  • Id Gallery Gallery

Installation

  1. Upload the infronix-gallery folder to /wp-content/plugins/ or install the ZIP from Plugins > Add New > Upload Plugin.
  2. Activate Infronix Gallery.
  3. Open Infronix Gallery > Galleries and create or edit a gallery.
  4. Insert the gallery using its shortcode, the Infronix Gallery Gutenberg block, or the Infronix Gallery Elementor widget.

FAQ

Do I need Elementor?

No. Use the shortcode or the Infronix Gallery block without Elementor. Install and activate Elementor only if you want to use the optional Elementor widget.

How do I display a gallery?

Publish your gallery, then copy its shortcode into a Shortcode block or another shortcode-enabled area. For example: [infronix_gallery id="123"]. Replace 123 with the ID of your gallery. The legacy [id_gallery id="123"] and [idp_gallery id="123"] aliases are also supported.

Do global settings change existing galleries?

No. Global layout defaults apply to newly created galleries. Edit an existing gallery to change its saved design.

Why does Total Views show zero?

View counting is disabled by default. Enable it in Infronix Gallery > Settings and save. Counts begin with subsequent eligible frontend displays; earlier visits are not counted retroactively. Administrator views and editor previews are excluded.

Does Content Using Shortcodes include Elementor widgets and blocks?

No. It counts published posts and pages containing gallery shortcodes in their post content. Native Elementor widgets and Gutenberg blocks are excluded.

How do I update from a version using the old internal names?

Deactivate the old plugin before replacing its files, then activate this release. Existing galleries, settings and aggregate views are migrated to the new internal names. Clear page caches and regenerate Elementor CSS if you use Elementor. Custom CSS outside this plugin that uses old idp- or id-gallery- selectors needs the new infronix-gallery- selectors. Deactivate all older versions before activating Infronix Gallery. Existing Gutenberg blocks and Elementor widgets remain supported; new ones use the Infronix Gallery names. Arbitrary Custom CSS saved in older versions is no longer rendered. Use the built-in visual controls or WordPress native CSS editor for customization.

Reviews

There are no reviews for this plugin.

Contributors & Developers

“Infronix Gallery” is open source software. The following people have contributed to this plugin.

Contributors

Translate “Infronix Gallery” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

1.15.4

  • Shipped unminified, human-readable Classic Editor JavaScript with no build step.
  • Validate required database tables and fields after dbDelta before saving the schema version; trigger a fresh integrity check for installs of 1.15.3.
  • Do not initialize gallery components after a failed schema update; show an administrator-only error and retry automatically on the next request.
  • Fail activation with a clear message if table creation fails instead of reporting a successful install.
  • Documented asset sources and build requirements for WordPress.org reviewers.

1.15.3

  • Removed arbitrary Custom CSS editors, saving and rendering.
  • Enqueued Classic Editor JavaScript and Elementor individual-image styles through WordPress asset APIs.

1.15.2

  • Rebrand as Infronix Gallery with matching folder, main file, text domain and internal identifiers.
  • Preserve galleries, settings and views from both previous internal naming schemes.
  • Retain existing shortcodes, Gutenberg blocks and Elementor widgets for saved content.

Older release notes are available in changelog.txt.