=== SketchValley Illustrations ===
Contributors: rajivbanik
Tags: illustrations, svg, vector, free illustrations, block
Requires at least: 6.0
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 1.0.3
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Search and insert free SVG illustrations from SketchValley directly into the WordPress block editor.

== Description ==

**SketchValley Illustrations** adds a Gutenberg block that lets you search 1,000+ free vector illustrations and insert them into any post or page — without ever leaving the WordPress editor.

= Features =

* Search 1,000+ free illustrations by keyword
* Filter by style: Flat, 3D, Hand-drawn, Minimal, Sketch
* Insert as PNG or SVG
* Control max width from the block sidebar
* Optional attribution caption (recommended)
* No signup required — completely free
* Files load directly from sketchvalley.com CDN

= How to use =

1. Open any post or page in the block editor
2. Click the **+** button to add a new block
3. Search for **"SketchValley"**
4. Type a keyword (e.g. "business", "team", "rocket")
5. Click any illustration to insert it
6. Adjust width and format in the block sidebar

= About SketchValley =

[SketchValley](https://sketchvalley.com) is a free illustration library with 1,000+ SVG and PNG vectors across flat, 3D, hand-drawn, and sketch styles. All illustrations are free for personal and commercial use — no attribution required (though appreciated).

== Installation ==

1. In your WordPress admin, go to **Plugins → Add New Plugin**
2. Click **Upload Plugin** and select the zip file
3. Click **Install Now**, then **Activate**
4. Open any post/page and add the **SketchValley Illustration** block

Alternatively, search "SketchValley" in the plugin directory and install from there.

== Frequently Asked Questions ==

= Are the illustrations really free? =

Yes. All illustrations from SketchValley are free for personal and commercial use. No attribution required, no signup, no watermarks.

= Do I need a SketchValley account? =

No. The plugin fetches illustrations directly from the public SketchValley API. No account needed.

= What image formats are supported? =

PNG and SVG. You can switch between them in the block sidebar after inserting an illustration.

= Does this plugin add anything to my frontend? =

Only the illustration image and an optional attribution caption link. No scripts, no tracking, no ads are added to your site.

= Is the "powered by" caption required? =

No — it is optional and can be turned off in the block sidebar. We appreciate it if you keep it on, but it is never forced.

= Can I use these illustrations on client sites? =

Yes. SketchValley illustrations are licensed for commercial use. See https://sketchvalley.com/license/ for full terms.

== External services ==

This plugin connects to the SketchValley API and CDN (sketchvalley.com), operated by the same company that publishes this plugin, to provide the illustration search and library.

* **Search API**: While editing a post or page and using the SketchValley Illustration block, the keyword and style filter you type are sent to `https://sketchvalley.com/api/illustrations.php` to fetch matching results. This only happens in the block editor when you actively search; it is not called on the site frontend and no personal data is collected.
* **Image CDN**: The illustration images and SVG files themselves (both in the block editor preview and on your published site) are loaded directly from sketchvalley.com's CDN rather than bundled with the plugin.

This service is provided by SketchValley: [Terms of Service](https://sketchvalley.com/terms/), [Privacy Policy](https://sketchvalley.com/privacy/).

== Screenshots ==

1. Search illustrations by keyword inside the block editor
2. Filter by illustration style — flat, 3D, hand-drawn, minimal
3. Block sidebar controls: format, max width, caption toggle
4. Inserted illustration with attribution caption in a post

== Changelog ==

= 1.0.3 =
* Explicitly load the editor script in the footer (fixes WordPress.org Plugin Check warning)

= 1.0.2 =
* Documented external service usage (SketchValley search API and image CDN)
* Corrected contributors list
* Asset versioning now follows the plugin version for reliable cache-busting

= 1.0.1 =
* Tested up to WordPress 7.1

= 1.0.0 =
* Initial release
* Gutenberg block with keyword search and style filter
* PNG / SVG format toggle
* Max width control
* Optional attribution caption

== Upgrade Notice ==

= 1.0.3 =
Minor Plugin Check fix, no functional changes.

= 1.0.2 =
Documented external service usage per WordPress.org guidelines.

= 1.0.1 =
Compatibility update for WordPress 7.1.

= 1.0.0 =
Initial release.
