Title: BF Advanced Images
Author: Bornfight
Published: <strong>14 نوفمبر، 2021</strong>
Last modified: 7 مارس، 2023

---

البحث عن الإضافات

هذه الإضافة **لم يتم تحديثها وتجربتها لأكثر من 3 إصدارات ووردبريس رئيسية**. قد لا
تكون خاضعة للصيانة أو تقدم الدعم والمساعدة بالوقت الحالي وقد تكون بها مشاكل في التوافق
عند إستخدامها مع إصدارات حديثة من ووردبريس.

![](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://ar.wordpress.org/plugins/bf-advanced-images/#description)
 * [المراجعات](https://ar.wordpress.org/plugins/bf-advanced-images/#reviews)
 *  [التنصيب](https://ar.wordpress.org/plugins/bf-advanced-images/#installation)
 * [التطوير](https://ar.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” هو برنامج مفتوح المصدر. وقد ساهم هؤلاء الأشخاص بالأسفل في هذه
الإضافة.

المساهمون

 *   [ 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

 *  Version **1.0.1**
 *  Last updated **قبل 4 سنوات**
 *  Active installations **70+**
 *  WordPress version ** 4.7 أو أعلى **
 *  Tested up to **6.1.17**
 *  PHP version ** 7.4 أو أعلى **
 *  Language
 * [English (US)](https://wordpress.org/plugins/bf-advanced-images/)
 * Tags
 * [custom images](https://ar.wordpress.org/plugins/tags/custom-images/)[images](https://ar.wordpress.org/plugins/tags/images/)
 *  [عرض متقدم](https://ar.wordpress.org/plugins/bf-advanced-images/advanced/)

## التقييم

لم يتم تقديم أي مراجعات بعد.

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

[See all reviews](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://ar.wordpress.org/?output_format=md)