Title: BF Advanced Images
Author: Bornfight
Published: <strong>14 ພະຈິກ 2021</strong>
Last modified: 7 ມີນາ 2023

---

ຄົ້ນຫາປລັກອິນ

ປລັກອິນນີ້ **ຍັງບໍ່ທັນໄດ້ຮັບການທົດສອບກັບ WordPress 3 ເວີຊັນຫຼັກຫຼ້າສຸດ**. ມັນອາດຈະ
ບໍ່ໄດ້ຮັບການເບິ່ງແຍງ ຫຼື ສະໜັບສະໜູນອີກຕໍ່ໄປ ແລະ ອາດມີບັນຫາການເຮັດວຽກຮ່ວມກັນເມື່ອ
ໃຊ້ກັບ WordPress ເວີຊັນທີ່ໃໝ່ກວ່າ.

![](https://s.w.org/plugins/geopattern-icon/bf-advanced-images.svg)

# BF Advanced Images

 ໂດຍ [Bornfight](https://profiles.wordpress.org/bornfight/)

[ດາວໂຫຼດ](https://downloads.wordpress.org/plugin/bf-advanced-images.1.0.1.zip)

 * [ລາຍລອຽດ](https://lo.wordpress.org/plugins/bf-advanced-images/#description)
 * [ການຣີວິວ](https://lo.wordpress.org/plugins/bf-advanced-images/#reviews)
 *  [ການຕິດຕັ້ງ](https://lo.wordpress.org/plugins/bf-advanced-images/#installation)
 * [ການພັດທະນາ](https://lo.wordpress.org/plugins/bf-advanced-images/#developers)

 [ການຊ່ວຍເຫຼືອ](https://wordpress.org/support/plugin/bf-advanced-images/)

## ຄຳອະທິບາຍ

With this plugin you can create images on demand. You can disable default image 
sizes so
 each image you upload won’t be copied multiple times with different size.
You can create your sizes for images and size will be created when you call image
and not on upload.

## ການຕິດຕັ້ງ

Upload ‘bf-advanced-images’ to the ‘/wp-content/plugins/’ directory

Activate the plugin through the ‘Plugins’ menu in WordPress

#### How this plugin works

 1. Removing default image sizes

You can disable default image sizes so when uploading an image only original image
will be uploaded

 1. Adding new cached image sizes

You can create as many image size you want and only when you use this image size
image with this size will be created.

    ```
    if ( function_exists( 'bfai_register_image_sizes' ) ) {
        bfai_register_image_sizes( array(
            'image_200'     => array( 200, 0 ),
            'image_350_200' => array( 350, 200 ),
            'image_150_200' => array( 150, 200 ),
        ) );
    }
    ```

 1. Creating image sizes on demand

When image is called it will generate image size for that image

Example 1:

_bfai\_get\_image\_by\_size\_name( int $attachment\_id, string $size\_name, bool
$crop = false);_

Parameters:
 **$attachment_id** (int)(required)

**$size_name**
 (string)(required) -> name of size name registered with bfai_register_image_sizes
function

**$crop**
 (bool)(optional)

    ```
    $image_url = bfai_get_image_by_size_name( $attachment_id, 'image_200', true);
    ```

Example 2:

_bfai\_get\_image\_by\_custom\_size( int $attachment\_id, array $sizes, bool $crop
= false);_

Parameters:
 **$attachment_id** (int)(required)

**$sizes**
 (array)(required) -> Add integer width and height separated with comma

**$crop**
 (bool)(optional)

    ```
    $image_url = bfai_get_image_by_custom_size( $attachment_id, array( 200, 0 ), true );
    ```

## ຄຳຖາມທີ່ພົບເລື້ອຍ

### What kind of support do you provide?

Please post your question on plugin support forum

## ການຣີວິວ

ບໍ່ມີການຣີວິວສຳລັບປລັກອິນນີ້.

## ຜູ້ຮ່ວມພັດທະນາ ແລະ ຜູ້ພັດທະນາ

“BF Advanced Images” ແມ່ນຊອຟແວໂອເພັນຊອດ (Open Source). ບຸກຄົນຕໍ່ໄປນີ້ໄດ້ມີສ່ວນຮ່ວມ
ໃນການພັດທະນາປລັກອິນນີ້.

ຜູ້ຮ່ວມພັດທະນາ

 *   [ Bornfight ](https://profiles.wordpress.org/bornfight/)
 *   [ jmucak ](https://profiles.wordpress.org/jmucak/)

[ແປ “BF Advanced Images” ເປັນພາສາຂອງເຈົ້າ.](https://translate.wordpress.org/projects/wp-plugins/bf-advanced-images)

### ສົນໃຈຮ່ວມພັດທະນາບໍ່?

[ເບິ່ງລະຫັດ](https://plugins.trac.wordpress.org/browser/bf-advanced-images/), ກວດເບິ່ງ
[ຄັງເກັບ SVN](https://plugins.svn.wordpress.org/bf-advanced-images/), ຫຼື ຕິດຕາມ
[ບັນທຶກການພັດທະນາ](https://plugins.trac.wordpress.org/log/bf-advanced-images/) ຜ່ານ
[RSS](https://plugins.trac.wordpress.org/log/bf-advanced-images/?limit=100&mode=stop_on_copy&format=rss).

## ບັນທຶກການປ່ຽນແປງ

#### 1.0.0

_Release Date – 27 October 2021_
 First Release

#### 1.0.1

_Release Date – 22 November 2021_

 * New – Added WP CLI Commands

## ຂໍ້ມູນກຳກັບ (Meta)

 *  ເວີຊັນ **1.0.1**
 *  ອັບເດດຫຼ້າສຸດເມື່ອ **3 ປີ ທີ່ຜ່ານມາ** ທີ່ຜ່ານມາ
 *  ການຕິດຕັ້ງທີ່ໃຊ້ງານຢູ່ **80+**
 *  ເວີຊັນ WordPress ** 4.7 ຫຼື ສູງກວ່າ **
 *  ທົດສອບເຖິງເວີຊັນ **6.1.10**
 *  ເວີຊັນ PHP ** 7.4 ຫຼື ສູງກວ່າ **
 *  ພາສາ
 * [English (US)](https://wordpress.org/plugins/bf-advanced-images/)
 * ແທັກ
 * [custom images](https://lo.wordpress.org/plugins/tags/custom-images/)[images](https://lo.wordpress.org/plugins/tags/images/)
 *  [ມຸມມອງຂັ້ນສູງ](https://lo.wordpress.org/plugins/bf-advanced-images/advanced/)

## ການໃຫ້ຄະແນນ

ຍັງບໍ່ມີການສົ່ງຄຳວິຈານເທື່ອ.

[Your review](https://wordpress.org/support/plugin/bf-advanced-images/reviews/#new-post)

[ເບິ່ງ ຄຳຄິດເຫັນ ທັງໝົດ](https://wordpress.org/support/plugin/bf-advanced-images/reviews/)

## ຜູ້ຮ່ວມພັດທະນາ

 *   [ Bornfight ](https://profiles.wordpress.org/bornfight/)
 *   [ jmucak ](https://profiles.wordpress.org/jmucak/)

## ການຊ່ວຍເຫຼືອ

ມີຄຳຖາມ ຫຼື ຕ້ອງການຄວາມຊ່ວຍເຫຼືອບໍ່?

 [ເບິ່ງຟໍຣັມການຊ່ວຍເຫຼືອ](https://wordpress.org/support/plugin/bf-advanced-images/)

## ບໍລິຈາກ

ເຈົ້າຕ້ອງການສະໜັບສະໜູນການພັດທະນາຂອງປລັກອິນນີ້ບໍ່?

 [ ບໍລິຈາກໃຫ້ປລັກອິນນີ້ ](https://lo.wordpress.org/?output_format=md)