=== Smart Auto Featured Image - WordPress Plugin ===
Contributors: wpjoli
Donate link: 
Tags: featured image,post thumbnail,auto featured image, featured image generator
Requires at least: 5.0
Tested up to: 6.8
Stable tag: 1.5.1
Requires PHP: 7.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Generate Featured Images automatically based on your post content (title, etc). Customize your featured image with the built in template editor.

== Description ==

Smart Auto Featured Image is the most advanced Featured Image generator for WordPress. Create custom templates with the built-in editor and use them directly in your posts. Add dynamic fields such as the post title to automate the image generation process.

Get rid of third party image tools, and simplify your workflow. Featured Images are saved directly to the post being edited !

https://www.youtube.com/watch?v=O1ENX4vE2hM

---

### 🚀 BUILT-IN TEMPLATE EDITOR
Create beautiful templates in a similar fashion as you would create an image with Adobe Photoshop.
Build your image using multiple layers. Move, resize, rearrange layers anywhere you like within the canvas.

Use the grid and keyboard keys to make editing a breeze !
* Hold Ctrl: snap to grid
* Hold Alt: resize from center
* Hold Shift: preserve aspect ratio / create at 1:1 ratio

All keys can be used in combination. Ex: Alt + Shift: Resize from center while preserving layer aspect ratio

---

### 📐 AUTOMATE WITH DYNAMIC ELEMENTS
If you wish to have the post title in your image, you can use a Text layer set as **{{title}}**

---

### 🖼️ UNSPLASH IMAGES BROWSER
Browse from 3M+ HD images and integrate them directly in your designs for free, without attribution required.
No API key required.
Source: [WordPress](https://unsplash.com/ "Unsplash.com")
---

### [PRO] 🖼️⚡️ DYNAMIC IMAGES
Use dynamic images in your templates to automate even further your featured image generation.

Supported dynamic images :

* First image from the post content
* Author image
* Site logo
* YouTube thumbnail from embed
* ACF image

---

### [PRO] 🖼️ HD IMAGE RENDERING
High Definition Featured Images contain 4x more pixels to ensure crisp images on high-DPI displays.

---

### [PRO] 📁 FONT AWESOME 6 FREE ICONS
Use thousands of free icons in your templates to enhance your designs. 

---

### [PRO] 💬 GOOGLE FONTS SUPPORT 
Create visually attractive texts in your design thanks to the Google fonts collection.

---

### [PRO] 🔺 SVG SUPPORT
Integrate vector graphics easily from either SVG files, or with a simple copy/paste of any SVG code.

---

### [PRO] .WEBP IMAGE FORMAT SUPPORT 
In addition to .JPG & .PNG formats, you can use the modern .WEBP image format which will keep your website fast by minimizing the image file size ! Select image quality between 1-100.

---

### [PRO] ❔ CONDITIONAL RENDERING
Create conditional layers in one template that will render differently depending on the actual post content.
 
For example, if you write articles about pets, you could show a cat icon for the posts of category “cats”, and a dog icon for the posts of category “dogs”, and a paw icon for any other category.

---

### 👨‍💻 Developer friendly
Smart Auto Featured Image leverages the power of WordPress Hooks.

It provides a wide variety of Actions and Filters that you can hook onto.

---

#### 💪 Get Smart Auto Featured Image Pro
Want to create stunning Featured Images effortlessly ?

[Go Pro now](https://wpjoli.com/smart-auto-featured-image) and start creating professional grade Featured Images !

* Dozens of Pro templates included
* Unlimited layers per template
* All design tools available
* Conditional layers
* HD/HQ Unsplash images
* Google fonts available
* Rounded corners + Borders
* Rotate layers
* HD image generation 
* Select Image quality from 1-100
* WEBP image format available 
* ACF integration
* Yoast SEO / RankMath focus keyword integration

[Get Smart Auto Featured Image Pro now](https://wpjoli.com/smart-auto-featured-image)

https://www.youtube.com/watch?v=3iRSoYepAFE

---

#### CHECK OUR OTHER PLUGINS
* [Joli Table of Contents](https://wordpress.org/plugins/joli-table-of-contents/)
* [Joli FAQ SEO ](https://wordpress.org/plugins/joli-faq-seo/)
* [Joli CLEAR Lightbox](https://wordpress.org/plugins/joli-clear-lightbox/)

---

### 3rd party services
This plugin relies on 3rd party services to enable provided features. 
driver.js is javascript library, licensed under the MIT license, used for the built-in tutorials of the editor (driverjs.com). 
wp-color-picker-alpha is a javascript module that enables transparency setting in the wp-color-picker, it is licensed under the GPLv2 license (github.com/kallookoo/wp-color-picker-alpha)
The freemius sdk is used for license management and for letting users upgrade to pro (freemius.com | terms: freemius.com/terms | privacy policy: freemius.com/privacy).
html2canvas is a javascript library, licensed under the MIT license, used to save template thumbnails and generate images (html2canvas.hertzen.com). 

== Installation ==

This section describes how to install the plugin and get it working.

e.g.

1. Upload the plugin files to the `/wp-content/plugins/plugin-name` directory, or install the plugin through the WordPress plugins screen directly.
1. Activate the plugin through the 'Plugins' screen in WordPress
1. Use the Settings->Plugin Name screen to configure the plugin
1. (Make your instructions match the desired user flow for activating and installing your plugin. Include any steps that might be needed for explanatory purposes)




### INSTALLING FROM THE WORDPRESS ADMIN
1. Go to the “Plugins > Add New” page.
1. Type “Smart Auto Featured Image” in the search field
1. Look for the “Smart Auto Featured Image” plugin in the search result and click on the “Install Now” button, the installation process of plugin will begin.
1. Click “Activate” when the installation is complete.

### INSTALLING WITH THE ARCHIVE
Go to the page “Plugins > Add New” on the WordPress control panel
Click on the “Upload Plugin” button, the form to upload the archive will be opened.
Select the archive with the plugin and click “Install Now”.
Click on the “Activate Plugin” button when the installation is complete.

### MANUAL INSTALLATION
Upload the folder smart-auto-featured-image to your site's plugin folder, usually it is /wp-content/plugins/.
Go to the page “Plugins > Add New” on the WordPress control panel
Look for “Smart Auto Featured Image” in the plugins list and click “Activate”.

### WHAT TO DO AFTER ACTIVATION ?

Go to the Template manager page under the Menu "Smart Auto Featured Image", and create or edit a template:

== Frequently Asked Questions ==

= What is a template ? =

A "template" is basically your future Featured Image, before it is processed by our engine. When a template is made of dynamic elements, these are rendered dynamically in order to generate the final featured image.
You can use one template to generate many featured images, and do tiny changes one blog post at a time or make it enterily dynamic.

= What are the steps to generate a Featured Image ? =

1. Create/Edit a template in the Template manager
2. While editing your blog post in the block editor, select your template under the Featured Image section of the Post settings in the right sidebar.
3. Use your template as is, or bring some minor changes.
4. Click the preview button, and if you are satisfied, click the "Generate featured image" button.
5. That's it ! your image has been generated and inserted as the new featured image. Don't forget to save your post !

= Can I design a Featured Image from scratch when editing a post ? =

Yes ! Select the Blank template and customize it directly within the Gutenberg editor. Save your changes, Preview & Generate !

= How many layers can I use in my templates ? =

In the free version of the plugin, you can use up to 2 layers + the background.

= Can I use the post title in my featured image ? =

Yes, absolutely ! You can choose from many dynamic text content such as post title, post category, date, author, etc...

= Can I customize the font / color / size of my texts ? =

Yes, you customize pretty much all of the basic text settings such as color, placement, font size, font family etc. However, Google Fonts are only available in the Pro version of the plugin.

== Screenshots ==

1. Template manager
2. Template editor (New template)
3. Interactive tutorials
4. Unsplash image browser
5. Editing layers using the grid
6. SAFI module in the Gutenberg Editor
7. Preview your template in a post, before generating the image
8. The Featured Image, automatically generated from the template
9. The Featured Image, showing in the actual blog post
10. Settings panel 1/3
11. Settings panel 2/3
12. Settings panel 3/3
13. A template being edited
14. Aligning layers perfectly with the grid
15. The UI tour demo
16. Featured Image Example 1
17. Featured Image Example 2
18. Featured Image Example 3
19. Featured Image Example 4
20. Featured Image Example 5


== Changelog ==

= 1.5.1 =
* Fixed Esc key bug in stock image browser
* Fixed Save confirmation bug
* [PRO] Fixed Magic Image bug if search keyword was empty

= 1.5.0 =
* Templates are now stored as custom posts types
* Added middle mouse button panning
* Redesigned stock image browser.
* Added loading spinner for preview
* Improved previews
* Improved dynamic text preview updates
* Improved Color picker (Recent colors & paste directly without opening the color picker)
* Improved Font Picker (Recent selected fonts now show at the top)
* Fixed stock image URL encoded attributes
* Slight UI redesign
* [PRO] Added Pexels image browser
* [PRO] Added automated featured image generation on save
* [PRO] Add filter hook safi_automation_validation
* [PRO] Added moving with keyboard support to Layer groups
* [PRO] Added layer type switcher between image / content-based image
* [PRO] Added customizable file name for generated images
* [PRO] Added customizable alt text for generated images
* [PRO] Added Default Output filename setting
* [PRO] Added Default Alt attribute setting
* [PRO] Added log page 
* [PRO] Fixed conditional layers bug
* [PRO] Cloud templates

= 1.1.0 =
* Layer panel redesign (drag & drop refresh)
* Core updates
* Removed react-sortablejs & sortablejs dependencies
* [PRO] Added layer group feature. Grouped layers are easier to manage and move on the canvas.

= 1.0.6 =
* Core updates

= 1.0.5 =
* Core updates
* Template manager UI refresh
* Layers of type Text, Image, Icon, SVG are marked as dynamic by default.
* Fixed font selection bug
* Demo Template system refresh 
* New Starter Templates

= 1.0.4 =
* UI improvements
* Core updates

= 1.0.3 =
* Added thumbnails for edited templates in the block editor
* Added start from custom template while editing a post in the block editor
* Fixed type sanitation
* Improved layers UX

= 1.0.2 =
* Bug fixes.

= 1.0.1 =
* Bug fixes.

= 1.0.0 =
* Initial release.

== Upgrade Notice ==

