Account created on 17 March 2014, about 11 years ago
  • R&D Engineer at SiFASTΒ 
  • Senior Drupal Developper at InetumΒ 
#

Merge Requests

More

Recent comments

πŸ‡«πŸ‡·France ckhalilo

Hi,

have you try another image style to see?

Regards
Khalil

πŸ‡«πŸ‡·France ckhalilo

Hi,
The reason why I use Form, I need to use default image multiple times, not only for the FieldFormatter.

I will fix the others issue.

Regards
Khalil

πŸ‡«πŸ‡·France ckhalilo

Hi,

To assist you further, could you please explain the process that leads to the default image not being displayed?
Additionally, could you provide screenshots or the steps so I can reproduce the same issue?

Regards
Khalil

πŸ‡«πŸ‡·France ckhalilo

ckhalilo β†’ changed the visibility of the branch 3400503-image-style-streaming to hidden.

πŸ‡«πŸ‡·France ckhalilo

ckhalilo β†’ changed the visibility of the branch 8.x-2.x to hidden.

πŸ‡«πŸ‡·France ckhalilo

ckhalilo β†’ changed the visibility of the branch 3360409-16 to active.

πŸ‡«πŸ‡·France ckhalilo

ckhalilo β†’ changed the visibility of the branch 3360409-16 to hidden.

πŸ‡«πŸ‡·France ckhalilo

Hi,

What version of drupal are you using?

There are a problem of upload image file that i fixed in Drupal 11, you can use dev until the final version will be accepted by security advisory policy.
https://www.drupal.org/project/media_default_image/releases/1.0.x-dev β†’ .

Regards
Khalil

πŸ‡«πŸ‡·France ckhalilo

Hi,
Thank you for asking.

Here’s how to configure and use the "Media Default Image" module:

Configuration

To configure the default image, go to the settings page: **`admin/config/media/default-image`**, and upload the image you want to set as the default.

Usage

  • To use the default image in your content types, go to the **"Manage Display"** tab (for example: **`admin/structure/types/manage/article/display`**), select the **"Default Image"** format, and define the image style you want to apply.
  • The default image can also be used in **Views** by applying the format to the relevant fields.
πŸ‡«πŸ‡·France ckhalilo

ckhalilo β†’ changed the visibility of the branch 3428204-automated-drupal-11 to hidden.

πŸ‡«πŸ‡·France ckhalilo

ckhalilo β†’ changed the visibility of the branch 3428204-automated-drupal-11 to active.

πŸ‡«πŸ‡·France ckhalilo

ckhalilo β†’ changed the visibility of the branch 3428204-automated-drupal-11 to hidden.

πŸ‡«πŸ‡·France ckhalilo

Can you please accept this PR to upgrade to D11.

πŸ‡«πŸ‡·France ckhalilo

Why this patch is not deployed?
Can you please accept this patch?

πŸ‡«πŸ‡·France ckhalilo

May be the first one of referenced entities may be we can add reset to get the first one

$referenced_entities = reset($enclosure->referencedEntities());
$file = $referenced_entities->get('thumbnail')->entity;
πŸ‡«πŸ‡·France ckhalilo

Have you try to change Format in your admin/structure/types/manage/article/display?
You should find Default Image in the list.

πŸ‡«πŸ‡·France ckhalilo

Hi,

Maybe in two weeks it will be on alpha version.

I have other project to do before this one.

πŸ‡«πŸ‡·France ckhalilo

I got the same error when i migrate to Drupal 10.3

πŸ‡«πŸ‡·France ckhalilo

Olivero 10.2.6 (default theme)

πŸ‡«πŸ‡·France ckhalilo

Bug fixed and deployed today

πŸ‡«πŸ‡·France ckhalilo

Hi,

I don't think image style medium is always available as style.

πŸ‡«πŸ‡·France ckhalilo

This patch is working for me.
Without this patch in my env PHP 8.2, I have 200% CPU and Memory limits is reaching more 190%.

Thank you.

πŸ‡«πŸ‡·France ckhalilo

I'm interested too, It will not be removed immediately, but surely it will be removed from next versions of Azure Storage.
It's recommended to use Azure Storage REST API.

Microsoft Azure Storage announcement

πŸ‡«πŸ‡·France ckhalilo

You have to add AllowedDynamicProperties to final class to skip this error.
I have added this patch

Production build 0.71.5 2024