Title: Petruth Smart Gallery
Author: Nastin MG
Published: <strong>November 19, 2025</strong>
Last modified: December 18, 2025

---

Search plugins

![](https://ps.w.org/petruth-smart-gallery/assets/banner-772x250.png?rev=3399086)

![](https://ps.w.org/petruth-smart-gallery/assets/icon-256x256.png?rev=3399079)

# Petruth Smart Gallery

 By [Nastin MG](https://profiles.wordpress.org/nas9286/)

[Download](https://downloads.wordpress.org/plugin/petruth-smart-gallery.1.4.zip)

 * [Details](https://vec.wordpress.org/plugins/petruth-smart-gallery/#description)
 * [Reviews](https://vec.wordpress.org/plugins/petruth-smart-gallery/#reviews)
 *  [Installation](https://vec.wordpress.org/plugins/petruth-smart-gallery/#installation)
 * [Development](https://vec.wordpress.org/plugins/petruth-smart-gallery/#developers)

 [Support](https://wordpress.org/support/plugin/petruth-smart-gallery/)

## Description

**Petruth Smart Gallery** is an intelligent gallery plugin that transforms how you
manage visual content in WordPress.
 Using local heuristics or AI, it automatically
extracts meaningful titles, detects categories, generates smart keywords, and writes
short, SEO-friendly descriptions, all directly from your image files.

No more manual metadata entry. Just upload your images, and let **Petruth Smart 
Gallery** do the rest.

**Key Features:**
 – 🧠 Automatically extract image titles from filenames. – 🏷️ 
Detect categories and generate relevant keywords. – ✍️ Write short, human-like descriptions
using AI or local logic. – 📸 Custom post type for managing gallery items. – 🎨 
Works seamlessly with Elementor and any modern theme. – ⚙️ Lightweight, fast, and
fully WordPress-native.

Ideal for photographers, designers, agencies, and creators who want to **save time**
and **enhance SEO visibility** through intelligent image management.

### Shortcode Usage

To display your gallery anywhere on your site, use the following shortcode:

[petruth_smart_gallery]

This default shortcode will render the gallery using all the settings (columns, 
color, and visibility of the search/filter) defined in the plugin’s Admin settings
page.

Custom Attributes (Overriding Admin Settings)

You can override the default Admin settings for specific instances of the gallery
using the following optional attributes:

Homepage Gallery (4 columns, limited to 8 items, no filters/search): [petruth_smart_gallery
columns=”4″ qty=”8″ show_filter=”no”]

You can insert the shortcode into:

Gutenberg blocks (Shortcode block)

Classic Editor

Elementor (Shortcode widget)

Or directly inside PHP templates using: echo do_shortcode(‘[petruth_smart_gallery]’);

### External Services

**Petruth Smart Gallery** uses AI to generate intelligent image tittles, categories
and description when set in the plugin settings. The plugin can still work without
any AI API key.

### License

This plugin is licensed under the GPLv2 or later.
 You are free to modify and redistribute
it under the same license.

## Screenshots

[⌊Gallery overview on frontend with filters and search bar⌉⌊Gallery overview on 
frontend with filters and search bar⌉[

Gallery overview on frontend with filters and search bar

[⌊Gallery overview on frontend in light mode⌉⌊Gallery overview on frontend in light
mode⌉[

Gallery overview on frontend in light mode

[⌊Plugin settings in the WP admin dashboard⌉⌊Plugin settings in the WP admin dashboard⌉[

Plugin settings in the WP admin dashboard

[⌊Frontend gallery lightbox when image is clicked on⌉⌊Frontend gallery lightbox 
when image is clicked on⌉[

Frontend gallery lightbox when image is clicked on

[⌊Adding gallery images or items in the admin dashboard⌉⌊Adding gallery images or
items in the admin dashboard⌉[

Adding gallery images or items in the admin dashboard

[⌊Petruth Smart Gallery on mobile view. Fully responsive⌉⌊Petruth Smart Gallery 
on mobile view. Fully responsive⌉[

Petruth Smart Gallery on mobile view. Fully responsive

[⌊Gallery without filters an search bar shown. This is possible using shortcode.⌉⌊
Gallery without filters an search bar shown. This is possible using shortcode.⌉[

Gallery without filters an search bar shown. This is possible using shortcode.

[⌊Setings page showing columns, color picker, filters and search bar control.⌉⌊Setings
page showing columns, color picker, filters and search bar control.⌉[

Setings page showing columns, color picker, filters and search bar control.

## Installation

 1. Upload the plugin files to the `/wp-content/plugins/` directory, or install the
    plugin through the WordPress Plugins screen directly.
 2. Activate the plugin through the “Plugins” screen in WordPress.
 3. Go to **Petruth Smart Gallery  Settings** to configure AI or heuristic mode.
 4. Start uploading your images under the **Petruth Smart Gallery** post type.
 5. Enjoy automatically generated titles, descriptions, and categories!

## FAQ

### Does this plugin require an external AI API key?

You can use either local heuristic mode (no API key required) or connect to an AI
API if you want more advanced metadata generation.

### Will it work with Elementor or Gutenberg?

Yes. Petruth Smart Gallery enqueues styles and scripts that work seamlessly with
Elementor and the block editor.

### Does it affect my existing media library?

No. It manages its own gallery post type, so your media library remains untouched.

### Can I customize the generated text?

Yes. You can override or edit titles, descriptions, and keywords anytime from the
gallery item editor.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

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

Contributors

 *   [ Nastin MG ](https://profiles.wordpress.org/nas9286/)

[Translate “Petruth Smart Gallery” into your language.](https://translate.wordpress.org/projects/wp-plugins/petruth-smart-gallery)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/petruth-smart-gallery/),
check out the [SVN repository](https://plugins.svn.wordpress.org/petruth-smart-gallery/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/petruth-smart-gallery/)
by [RSS](https://plugins.trac.wordpress.org/log/petruth-smart-gallery/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.4

 * Major feature upgrade. Admin can now set theme colors, choose whether to show
   titles or search bar.

#### 1.3

 * Gallery columns added to utter display columns on frontend. Users can set in 
   settings.

#### 1.2

 * Fixed naming issues and other functions
 * Auto-title, keyword, and description generation
 * AI/local mode support
 * Elementor-compatible gallery display

## Meta

 *  Version **1.4**
 *  Last updated **8 months ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 5.6 or higher **
 *  Tested up to **6.9.7**
 *  Language
 * [English (US)](https://wordpress.org/plugins/petruth-smart-gallery/)
 * Tags
 * [AI](https://vec.wordpress.org/plugins/tags/ai/)[captions](https://vec.wordpress.org/plugins/tags/captions/)
   [gallery](https://vec.wordpress.org/plugins/tags/gallery/)[images](https://vec.wordpress.org/plugins/tags/images/)
   [metadata](https://vec.wordpress.org/plugins/tags/metadata/)
 *  [Advanced View](https://vec.wordpress.org/plugins/petruth-smart-gallery/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/petruth-smart-gallery/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/petruth-smart-gallery/reviews/)

## Contributors

 *   [ Nastin MG ](https://profiles.wordpress.org/nas9286/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/petruth-smart-gallery/)