=== Spinex Bulk Image Rotator ===
Contributors:      dffkt432hz
Tags:              media, images, rotate, bulk, library
Requires at least: 5.5
Tested up to:      6.9
Requires PHP:      7.4
Stable tag:        1.0.0
License:           GPLv2 or later
License URI:       https://www.gnu.org/licenses/gpl-2.0.html

Rotate multiple images at once directly from the WordPress Media Library.

== Description ==

**Spinex Bulk Image Rotator** adds Rotate CW and Rotate CCW buttons directly into the Media Library bulk-select toolbar. Select any number of images and rotate them all at once — no page reloads, no third-party services.

= Features =

* Rotate images 90° clockwise or counter-clockwise
* Works with WordPress native bulk select — no custom UI to learn
* Handles large selections safely by batching requests (20 images per request)
* Overwrites originals and automatically regenerates all registered thumbnail sizes
* Deselects and refreshes thumbnails in the grid immediately after rotation
* Buttons are greyed out until at least one image is selected
* No settings page, no database entries, no bloat
* Translation-ready

= How to use =

1. Go to **Media → Library** and make sure you are in Grid view
2. Click **Bulk Select**
3. Select the images you want to rotate
4. Click **Rotate CW** or **Rotate CCW** in the toolbar
5. Done — thumbnails refresh automatically

= Requirements =

* WordPress 5.5 or higher
* PHP 7.4 or higher
* GD or Imagick PHP extension (standard on all major hosts)

== Installation ==

1. Upload the `spinex-bulk-image-rotator` folder to `/wp-content/plugins/`
2. Activate the plugin through **Plugins → Installed Plugins**
3. Go to **Media → Library**, enter bulk select mode, and rotate away

== Frequently Asked Questions ==

= Does it overwrite my original images? =

Yes. The plugin rotates and saves over the original file, then regenerates all thumbnails. Make a backup if the originals are critical.

= What happens if I select non-image files? =

They are silently skipped. Only image/* MIME types are processed.

= What if rotation fails on some images? =

The toolbar shows a count of how many succeeded and how many failed. Failed images are left untouched.

= Does it work with very large selections? =

Yes. Images are sent to the server in batches of 20 to avoid PHP timeouts. You can select hundreds of images and the plugin processes them sequentially.

== Screenshots ==

1. Rotate CW and Rotate CCW buttons in the bulk-select toolbar alongside Șterge definitiv and Anulează
2. Buttons are greyed out until images are selected
3. Progress indicator during rotation of a large batch

== Changelog ==

= 1.0.0 =
* Initial release

== Upgrade Notice ==

= 1.0.0 =
Initial release.
