=== Social Media Profile with Gallery ===
Contributors: awordpresslife, razipathhan, hanif0991, muhammadshahid, fkfaisalkhan007, sharikkhan007, zishlife, FARAZFRANK
Donate link: https://paypal.me/awplife
Tags: profile gallery, image gallery, photo gallery, lightbox, responsive gallery
Requires at least: 5.0
Tested up to: 6.9
Stable tag: 1.2.2
Requires PHP: 7.4
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Create beautiful profile galleries with lightbox preview. Display images in grid layouts with hover effects and animations.

== Description ==

Social Media Profile with Gallery helps you showcase images in a clean, organized profile-style layout. Whether you're building a portfolio, displaying team members, or creating a personal photo collection, this plugin gives you the tools to present your images professionally.

**View Pro Demo:** **[Social Media Profile with Gallery Premium](https://awplife.com/demo/instagram-type-gallery-premium/)**
**More About Pro:** **[Social Media Profile Premium Details](https://awplife.com/wordpress-plugins/instagram-type-gallery-wordpress-plugin/)**
**Where To Buy:** **[Buy Social Media Profile with Gallery Premium](https://awplife.com/account/signup/instagram-type-gallery)**

= Video Tutorial =

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

= Why Choose This Social Media Profile with Gallery? =

Setting up a gallery shouldn't be complicated. With Social Media Profile with Gallery, you upload your images, configure a few settings, and embed your gallery anywhere using a simple shortcode. The plugin handles the responsive design, so your gallery looks good on desktops, tablets, and phones.

= How It Works =

1. Create a new gallery from your dashboard
2. Upload images and set titles
3. Configure your profile section with a custom title, description, and avatar
4. Choose your column layout and hover effects
5. Copy the shortcode and paste it into any page or post

Your gallery displays with a profile header section (similar to social media profiles) followed by your image grid. Visitors can click any image to view it in a lightbox popup.

= Key Features =

The free version includes everything you need to get started:

* **Responsive Grid Layout** - Images adapt to any screen size automatically
* **Profile Header Section** - Add a profile picture, title, and description above your gallery
* **Lightbox Preview** - Visitors click to view full-size images in a popup overlay
* **Column Controls** - Set different column counts for desktop, tablet, and mobile
* **Hover Effects** - Add visual interest when users hover over images
* **Animation Effects** - Smooth entrance animations for your gallery images
* **Shortcode Support** - Place galleries anywhere using [ITG id=X] shortcode
* **Widget Ready** - Add galleries to sidebars and widget areas
* **Isotope Layout** - Images arrange neatly regardless of different sizes

= Pro Version Features =

Need more customization options? The premium version adds:

* **6 Lightbox Styles** - Choose from multiple popup designs
* **30+ Hover Effects** - Extensive collection of image hover animations
* **75+ Animation Effects** - Wide variety of entrance animations
* **Masonry Gallery Layout** - Pinterest-style staggered image grid
* **Thumbnail Ordering** - Sort images ascending, descending, or shuffle randomly
* **Gallery Spacing Control** - Remove or adjust gaps between images
* **Custom CSS Field** - Add your own styling without editing theme files
* **Priority Support** - Get help when you need it

== Installation ==

1. Upload the plugin folder to `/wp-content/plugins/` or install through the Plugins menu
2. Activate the plugin from the Plugins menu
3. Go to **Insta Type Gallery** → **Add Insta Gallery** in your admin menu
4. Add images and configure your gallery settings
5. Save and copy the shortcode
6. Paste the shortcode into any page or post

== Frequently Asked Questions ==

= How do I create a profile gallery? =

After activating the plugin, go to Insta Type Gallery → Add Insta Gallery. Click "Add Images" to upload your photos, fill in your profile details (title, description, profile picture), and save. Copy the shortcode shown and paste it into any page or post.

= Can I display multiple galleries on one page? =

Yes. Each gallery has its own unique shortcode. You can add multiple shortcodes to a single page, and each gallery will display independently.

= Is the gallery mobile responsive? =

Yes. The plugin uses Bootstrap and includes separate column settings for large desktops, desktops, tablets, and phones. Your gallery automatically adjusts to fit any screen size.

= How do I customize the number of columns? =

In the gallery settings, you'll find column options for different device sizes. You can set anywhere from 1 to 12 columns for each breakpoint.

= Can I use the shortcode in widgets? =

Yes. The plugin enables shortcode support in text widgets. Simply paste your gallery shortcode into any text widget to display your gallery in sidebars or footer areas.

= Does it support lightbox popup? =

Yes. When visitors click on an image, it opens in a lightbox overlay where they can view the full-size image. This is enabled by default.

= How do I change the hover effect? =

In the gallery settings panel, look for the Hover Effect dropdown. Select your preferred effect and save the gallery. The effect will apply to all images in that gallery.

= Can I add a profile picture and title? =

Yes. The profile section settings let you upload a profile image, add a title, write a description, and include a custom button with your desired text and link.

= What image sizes are supported? =

The plugin supports all standard image sizes. You can choose between thumbnail, medium, and large sizes in the gallery settings. Images will display at the selected size in the grid.

= Is it compatible with page builders? =

Yes. Since the plugin uses shortcodes, it works with Elementor, Beaver Builder, Divi, and other page builders. Just paste the shortcode into a text or shortcode module.

= Where can I get support? =

For the free version, visit the [WordPress.org support forum](https://wordpress.org/support/plugin/insta-type-gallery/). Pro version users receive priority email support.

== Screenshots ==

1. Gallery settings panel
2. Profile section display
3. Single column layout
4. Two column layout
5. Three column layout
6. Six column layout
7. Twelve column layout
8. Gallery front-end view
9. Lightbox popup preview

== Changelog ==

= 1.2.2 =
* Security: Added capability checks to AJAX handlers to prevent unauthorized access.
* Security: Added nonce verification support for AJAX requests.
* Security: Improved input sanitization with proper wp_unslash() usage.
* Security: Added ABSPATH checks to prevent direct file access in lightbox and theme files.
* Security: Properly escaped plugin_dir_url() output in our-theme/awp-theme.php.
* Fix: Fixed undefined variable $columns in shortcode column handler.
* Fix: Added isset checks before array access to prevent PHP warnings.
* Fix: Fixed comparison operator issue in save settings function.
* Fix: Added default values for undefined pagination variables in lightbox files.
* Fix: Changed esc_html() to esc_attr() for CSS color value escaping.
* Fix: Replaced deprecated wp_reset_query() with wp_reset_postdata().
* Fix: Removed 5-star filter from review link per WordPress.org guidelines.
* Fix: Resolved mixed line endings in our-theme/awp-theme.php.
* Compatibility: Verified TGM Plugin Activation library conflict handling.
* Compatibility: Maintained full backward compatibility with existing galleries.

= 1.2.1 =
* Fix: Resolved translation loading warning in WordPress 6.7.0+ by loading text domain at 'init' action instead of 'plugins_loaded'.
* Fix: Removed early translation call from plugin constants.

= 1.2.0 =
* Bug Fix: Fixed.
* Testing plugin for wordpress 6.9

= 1.1.33 =
* Bug Fix: Fixed.
* Testing plugin for wordpress 6.8.3

= 1.1.32 =
* Bug Fix: Fixed.
* Testing plugin for wordpress 6.8.1

= 1.1.31 =
* Bug Fix: Fixed.
* Testing plugin for wordpress 6.7.2

= 1.1.30 =
* Bug Fix: Fixed.
* Testing plugin for wordpress 6.7.1

== Upgrade Notice ==

= 1.2.2 =
Important security and compliance update. Adds capability checks, improves input sanitization, and fixes WordPress.org plugin review issues. Recommended for all users.


