=== Image With Text ===
Contributors: virtualtopia
Tags: image, text overlay, shortcode, image display
Requires at least: 5.0
Tested up to: 6.0
Stable tag: 1.7
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

== Description ==
The **Image With Text** plugin allows you to easily display an image with a customizable text overlay using a simple shortcode. The plugin offers flexible options for styling the text, including font size, color, boldness, and background opacity.

**Key Features:**
* Display an image with up to three text overlays.
* Customize the font color, size, and boldness for each line of text.
* Adjust the background opacity behind the text.
* Center the text or align it as needed.
* Easy to use via shortcode in posts and pages.

**Example Shortcode:**
```[image_with_text src="image-url" text1="Main Text" text2="Sub Text 1" text3="Sub Text 2" font_color1="white" font_size1="30px" bold1="true" bg_opacity="0.5" text_align="center"]```

== Installation ==
1. Upload the plugin files to the `/wp-content/plugins/image-with-text` directory, or install the plugin through the WordPress plugins screen directly.
2. Activate the plugin through the 'Plugins' screen in WordPress.
3. Use the shortcode `[image_with_text]` in any post or page, with the relevant attributes.

== Shortcode Usage ==
Use the shortcode `[image_with_text]` in your content to add an image with text overlay.

**Attributes:**
* `src` (required): The URL of the image you want to display.
* `text1` (required): The main line of text to overlay on the image.
* `font_color1`, `font_size1`, `bold1`: Customize the first line of text (color, size, boldness).
* `text2`, `font_color2`, `font_size2`, `bold2`: Optional second line of text and its styles.
* `text3`, `font_color3`, `font_size3`, `bold3`: Optional third line of text and its styles.
* `bg_opacity`: Set the background opacity behind the text (from 0 to 1). Default is 0.
* `text_align`: Set the alignment of the text (`left`, `center`, `right`). Default is `center`.

**Example Shortcode:**
```[image_with_text src="https://example.com/image.jpg" text1="Your Text Here" font_color1="red" font_size1="28px" bold1="true" text2="Secondary Text" bg_opacity="0.7" text_align="left"]```

== Changelog ==
= 1.7 =
* Added more flexible options for text alignment and background opacity.
* Improved shortcode attributes for styling each text line independently.
* Initial release.

== Upgrade Notice ==
= 1.7 =
The latest version adds more customization options for text styling and background opacity.
