WP Manifestindependent plugin directory
manifest / unclassified / media-focal-point-wordpress-plugin

Media Focal Point GitLab

Adds focal point controls to media attachments with enhanced security and premium UI.

by Viktor Kovalenko · gitlab.com/v_kovalenko/media-focal-point-wordpress-plugin

0stars
0forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://gitlab.com/v_kovalenko/media-focal-point-wordpress-plugin/-/archive/master/media-focal-point-wordpress-plugin-master.zip

From the readme

Media Focal Point Adds focal point controls to WordPress media attachments with a premium interactive UI and enhanced security. Description Media Focal Point allows you to specify exactly which part of an image should remain in focus when it is cropped or resized using CSS object-fit: cover. This is essential for responsive designs where images change aspect ratios across devices. Key Features - Interactive Picker: Click or drag directly on the image preview in the Media Library. - Real-time Save: Coordinates are saved automatically as you interact. - Automatic Frontend Styles: Injects object-position CSS automatically into WordPress-generated images. - Secure & Robust: Implements nonce validation and strict sanitization. - Premium UI: Modern, glassmorphism-inspired design with support for WordPress Dark Mode. Installation 1. Upload the plugin folder to the /wp-content/plugins/ directory. 2. Activate the plugin through the 'Plugins' menu in WordPress. 3. Open any image in the Media Library to see the new Focal Point controls. Usage In Admin - Open the Media Library or edit an attachment. - Use the crosshair on the image preview to set the focus area. - Alternatively, enter

Read the full README on GitLab →