WordPress.org

Thai

  • ธีม
  • ปลั๊กอิน
  • News
  • ช่วยเหลือ
  • เกี่ยวกับ
  • ฟอรั่ม
  • ทีม
  • การมีส่วนร่วม
  • Meetup
  • WordCamp Bangkok
  • Gutenberg
  • Get WordPress
Get WordPress
WordPress.org

Plugin Directory

Petruth Smart Gallery

  • Submit a plugin
  • My favorites
  • Log in
  • Submit a plugin
  • My favorites
  • Log in
Image
Image

Petruth Smart Gallery

By Nastin MG
Download
  • Details
  • Reviews
  • Installation
  • Development
Support

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

  • Image
    Gallery overview on frontend with filters and search bar
  • Image
    Gallery overview on frontend in light mode
  • Image
    Plugin settings in the WP admin dashboard
  • Image
    Frontend gallery lightbox when image is clicked on
  • Image
    Adding gallery images or items in the admin dashboard
  • Image
    Petruth Smart Gallery on mobile view. Fully responsive
  • Image
    Gallery without filters an search bar shown. This is possible using shortcode.
  • Image
    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
  • Image Nastin MG

Translate “Petruth Smart 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.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 3 สัปดาห์ ago
  • Active installations Fewer than 10
  • WordPress version 5.6 or higher
  • Tested up to 6.9
  • Language
    English (US)
  • Tags
    AIcaptionsgalleryimagesmetadata
  • Advanced View

Ratings

No reviews have been submitted yet.

Add my review

See all reviews

Contributors

  • Image Nastin MG

Support

Got something to say? Need help?

View support forum

  • About
  • News
  • Hosting
  • Privacy
  • Showcase
  • Themes
  • Plugins
  • Patterns
  • Learn
  • Support
  • Developers
  • WordPress.tv ↗
  • Get Involved
  • Events
  • Donate ↗
  • Five for the Future
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

Thai

  • Visit our X (formerly Twitter) account
  • Visit our Bluesky account
  • Visit our Mastodon account
  • Visit our Threads account
  • Visit our Facebook page
  • Visit our Instagram account
  • Visit our LinkedIn account
  • Visit our TikTok account
  • Visit our YouTube channel
  • Visit our Tumblr account
โค้ดเป็นดั่งบทกวี
Advertisement