thanks @larryla in #6 for Drupal 10.3.5 :)
candelas → created an issue.
Thanks a lot @TR for so many years contributing. Sure you all find the solution :)
Patch in #8 works.
Thanks a lot again @uberhacker
I hope not to have more errors with this Drupal update...
candelas → created an issue.
Patch #42 works with D10.3.0
Thanks a lot for the update @uberhacker
thanks, patch #4 works after clearing cache.
The problem is with Layout Builder. If I use the normal Drupal display, it works well.
candelas → created an issue.
candelas → created an issue.
@jim.applebee sorry to write in a closed issue.
I only want to say thanks for your module :)
Hello
I found at the end that was the toolbar who is causing this error.
Sorry to report here.
Now I have your module working.
Thank you and have a good day!
Thanks a lot @dineshkumarbollu :)
The patch works and now I can use your module!
Have a good day
candelas → created an issue.
@ravi-kant tomorrow I will have time to work in the Drupal site.
@raveen-thakur doesn't considere that including the drush command is important.
For me the README.md function is facilitate to the user the module learning.
If that is not going to be in it, thanks for all and here finish my collaboration :)
Have a good day!
Same problem here with Drupal 2.2.3
Sorry, @cilefen for my bad English.
In the related issue the ask in a diferent page. The talk about cloning Image styles /admin/config/media/image-styles and I talk about cloning image style effects /admin/config/media/image-styles/Image_style (like thumbnail).
I reopen the issue.
@smustgrave is there any document to make proposals to the usability team? Long time since I worked with many image styles and I didn't find it.
Thanks a lot for your work :)
candelas → created an issue.
Sorry for my bad English :)
In the edit image style form, next to each effect there is a the select. There would be useful to have a clone option to clone the effect.
Thanks to be so fast.
@Raveen Thakur you are fast! :)
I miss the main reason that made me propose the readme: to have the command in it and not to have to search in the code. As a site builder, I find it very useful.
Thanks for your work
candelas → created an issue.
Hello
For what I see in my agenda, I will be able to collaborate to implement #2 the weekend.
@sakthi_dev if you have not made it before, you can later copy and paste.
Have a good day
candelas → created an issue.
Any news on this one for Drupal 11 or 10?
Thanks
Good to learn about this bug. I was going to convert all images to webp.
I hope you to have time to make a patch.
Thanks
Hello,
Any patch for Drupal 11 and 10?
Thanks
Good ideas are good ideas.
I would love to have this one for Drupal 11 and 10.
Do you know if any module has implemented? I don't find any.
Can someone make a patch for Drupal 11 and 10.
This is a very good help when you have many styles.
Thanks :)
candelas → created an issue.
I didn't understand in the other issue that I had to make this command.
drush media_library_media_modify:migrate node field_imatge_media
And now it works!!!
Thanksssss and don't forget the paella if you come to Barcelona :)
ah! One thing different in the two fields in the node form display (both with Media library extra):
old field doesn't have the Form mode select at the bottom.
Hello again
I thought in the way what was different between what you have and I.
And I rememebered your coment
here
💬
The focal point option isn't in the select on Media images field
Fixed
In fact, the module "media_library_media_modify" provide a service to migrate a "standard" reference field to a "Media with contextual" field
EntityReferenceOverrideService::migrateEntityReferenceField([entity_type], [field_name]);
So you can use Image field to media to made the "image->ref media" conversion and the service of media_library_media_modify to made "ref media -> media with contextual" conversion
So I decided to make a new field media image in the node story and it works!!!
So the problem is in media_library_media_modify
Maybe in
this issue
🐛
Can Media Library Media Modify be used with Image Widget Crop?
RTBC
?
But you will know better than me.
I hope no to have to migrate the field again, but if it is necessary, I will.
Thanks and the solution is almost there!!!!!!! :)
The problem is only with Imatge. The others have other formatters. See you later
i have uninstalled inline_form_errors and the wrong form continues...
I changed line 63 from
$is_overriding_context = $build_info['form_id'] === 'override_entity_form';
to
$is_overriding_context = 'override_entity_form';
and then in both (node edit and image media edit) I get the "This crop definition affects ONLY this contextual usage of this image".
Maybe is in there the problem? That doesn't get different for each, thought in your installation yes... The node edit should get the override_entity_form, shouldn't it?
I have to leave for 2h and in 4h I have a meeting. I will look here when I come back.
Thanks a lot :)
Did you have an entity_browser / inline_entity_form ? or something like that ? something it can override the media library ?
I have entity_browser and entity_browser_entity_form but uninstalled.
For media, I have: media, media_contextual_crop_field_formatter, media_contextual_crop, media_contextual_crop_iwc_adapter, media_library (Version: 10.2.3), media_library_media_modify, media_responsive_thumbnail, media_entity_download (I use for documents), peertube, svg_image_field_media_bundle, video_embed_media.
for form I have enabled inline_form_errors (I can uninstall)
Screen-shots
I have uninstalled focal_point and media_contextual_crop_fp_adapter, cleared all cache, but the same.
I have still installed focal point because I started to make the change to widget image crop but I got the error.
Do you want that I uninstall it? (I make a database backup for when we solve this)
I have exported all my configuration.
What do you prefer, screen-shots or yml?
Can you describe the whole stack (fields, widget, formater) for the node and the media ?
any drush command so I can go faster? :)
If not I go one by one.
fom my composer.lock:
"drupal/media_contextual_crop", "version": "2.0.6",
"drupal/media_contextual_crop_fp_adapter", "version": "2.0.0",
"drupal/media_contextual_crop_field_formatter", "version": "2.0.3",
"drupal/media_contextual_crop_iwc_adapter", "version": "dev-2.0.x",
"drupal/media_library_media_modify", "version": "1.0.0-beta15",
I have all the modules updated. Some are dev. From my package.json
"drupal/media_contextual_crop": "^2.0",
"drupal/media_contextual_crop_field_formatter": "^2.0",
"drupal/media_contextual_crop_fp_adapter": "^2.0",
"drupal/media_contextual_crop_iwc_adapter": "2.0.x-dev@dev",
"drupal/media_library_media_modify": "^1.0.0@beta",
And when it is saved? Since I changed from focal point to image widget crop, maybe it wasn't written?
Where in the database is stored the $is_overriding_context for the node edit form? I can check if it is well writen.
I have also added a new image, just in case, and the same. Here the screen-shot
The problem is that each of us will have different ones.
And if you make a database backup, you are not using anymore the adminimal theme, you can run that command without problem.
At the end, I have used this drush command
drush sql:query "DELETE FROM config WHERE name IN ('block.block.bluebreeze_new_fixed_user_login ', 'block.block.bluebreeze_new_node_syndicate', 'block.block.bluebreeze_new_search_form', 'block.block.bluebreeze_new_user_login', 'block.block.bluebreeze_node_syndicate', 'block.block.bluebreeze_search_form', 'block.block.bluebreeze_user_login', 'block.block.bluemarine_node_syndicate', 'block.block.bluemarine_user_login', 'block.block.bootstrap_block_8', 'block.block.bootstrap_system_main', 'block.block.bootstrap_user_login', 'block.block.box_grey_node_syndicate', 'block.block.box_grey_search_form', 'block.block.box_grey_user_login', 'block.block.garland_block_15', 'block.block.garland_block_8', 'block.block.garland_block_9', 'block.block.garland_menu_menu_collaboration', 'block.block.garland_node_syndicate', 'block.block.garland_system_main', 'block.block.garland_user_login', 'block.block.jul_fixed_node_syndicate', 'block.block.jul_fixed_search_form', 'block.block.jul_fixed_user_login', 'block.block.jul_node_syndicate', 'block.block.jul_search_form', 'block.block.jul_user_login', 'block.block.lela_block_15', 'block.block.lela_block_8', 'block.block.lela_block_9', 'block.block.lela_menu_menu_collaboration', 'block.block.lela_node_syndicate', 'block.block.lela_search_form', 'block.block.lela_system_main', 'block.block.lela_user_login', 'block.block.seven_block_17', 'block.block.seven_menu_menu_collaboration', 'block.block.seven_search_form', 'block.block.seven_system_main', 'block.block.stark_search_form', 'block.block.stark_system_main', 'bluebreeze-fixed.settings', 'bluebreeze.settings', 'bluemarine.settings', 'box.settings', 'jul.settings', 'language.content_settings.menu_link_content.menu_link_content', 'lela.settings')"
@ravi kant you are right. Thanks for the link. I was making something fast, but better well done.
@sakthi_dev now I am leaving the computer and can't make the changes. Would you like to make them? If not, later this week, I can :)
dsm((isset($elem['image_crop']['crop_reuse']))) in both true
dsm(($is_overriding_context)); in both false
In both, the node edit form and the image in media edit form:
$build_info['form_id'] = "media_image_edit_form"
#24 XDDDD. you should tell to me!! DEPRECATED is a scary word for a site builder!
I have changed it already.
In the ImageWidgetCrop I have choosen No preview image style (I have now the interface in English)
After this changes, I have no preview (not needed) from the image, but I keep getting the general crop: This crop definition affects non-overrided usages of this image
Your questions:
Ok, it seems the "Previsualitza l'estil d'imatge"/"Preview image style" uses the "default" crop of the media, but the anomaly should only exist in the Back-office, the "front image" are croped are correct (can you confirm ?)
yes, the crop is applied.
If you use a "no crop" style for this display, there should be no problem ?
Where? I get lost with so many places to configure. I hope someone will make a module to configure all for one image XDD
If the issue are the "Preview image style" I'll create a "clean issue" for that.
No idea.
And... why I get DEPRECATED? in comment #24?
I went tho the image media presentation and in local where I have updated your module, I get DEPRECATED Contextual Crop Image.
In the server that I have the previous version it has Contextual Crop Image...
mmm then maybe I have something misconfigured.
In the node display form:
Media library extra. Multi edit form on create: true
No edit form on create: false
Check selected: true
Replace checkbox by order indicator: tru
In the media display form:
ImageWidget crop
Always expand crop area: Yes
Show default crop area: Yes
Warn the user if the crop is used more than once: Yes
Previsualitza l'estil d'imatge: large
Preview crop zone image style: Gran (480x480)
Crop Type used: noticia
I have just tested the last dev version and I can edit in the node form and in the media image!!!
Almost there!
Because if I edit in the image media, and then edit the node form field, the crops override one to each other :O
In both forms I get: This crop definition affects non-overrided usages of this image
I think this should be in the media edit image, but in the node form I would imagine that you get your own crop, shouldn't it?
Merci :)
Bonjour,
With updating to the last version, I go to edit the media image in the node edit form and I get
"media_image_edit_form"
"not array"
1
"not array"
"details"
"not array"
true
"not array"
"file_widget_multiple"
"not array"
"Imatge"
"not array"
""
"not array"
"field_media_image"
"not array"
"ca"
"not array"
false
"not array"
Drupal\Core\StringTranslation\TranslatableMarkup {#2553 ▼
#string: "Add a new file"
#arguments: []
#translatedMarkup: null
#options: []
#stringTranslation: Drupal\Core\StringTranslation\TranslationManager {#328 ▶}
}
I can expand the last one if you want, or copy here what you need or give to you in html with the javascript to be able to click on the buttons.
Do you want that I test with the last dev that you committed?
Bonjour :)
Buf, when I try to import one image style, I get like 25 problems with old themes (since Drupal 5) that don't let to me.
So I went to the database and search them and delete. I put here one example, just in case someone finds this. Also I don't understand why an image style has to give this errors. I translate because the errors are in Catalan (though as an admin I have English). I try to import with drush, so this is what my terminal gets.
The error
The configuration <em class="placeholder">block.block.adminimal_system_main</em> depend on the theme <em class="placeholder">adminimal</em> that will not be installed after import.
The sql to delete it
DELETE FROM `key_value` WHERE `key_value`.`collection` = 'config.entity.key_store.block' AND `key_value`.`name` = 'theme:adminimal';
I am having the same problem. Thanks @ressa . I go to test your solution.
candelas → created an issue.
candelas → created an issue.
I have reverted to a previous database and the problem stop.
Same problem in a multilingual Drupal 10.2.3 and php 8.1
I use Claro as administrative theme and Bootstrap as a front.
At this moment, I am using Stark 10.2.3 as a front with "Use the administration theme when editing or creating content" unchecked.
I have being debuggin a bit.
I had Edit Media Entity in Modal and uninstall it for not to have interference. No changes on the error.
dsm($build_info);
I get an array (if you want it, I have the html with the javascript to be able to look into it fast)
dsm(is_array($elem['image_crop'])); retuns false
dsm(isset($elem['image_crop'])); returns 11 false
So I went to the crop and translate it.
It has the tittle and the description.
Now I get
XHRPOST
http://test.devel/media/1502/edit?_wrapper_format=drupal_modal
[HTTP/1.1 500 500 Service unavailable (with message) 106ms]
And then
Uncaught
Object { message: "\nAn AJAX HTTP error occurred.\nHTTP Result Code: 500\nDebugging information follows.\nPath: /media/1502/edit\nStatusText: 500 Service unavailable (with message)\nResponseText: The website encountered an unexpected error. Try again later.Error: Cannot use object of type Drupal\\Core\\StringTranslation\\TranslatableMarkup as array in media_contextual_crop_iwc_adapter_widget_after_build() (line 66 of modules/contrib/media_contextual_crop_iwc_adapter/media_contextual_crop_iwc_adapter.module). call_user_func_array() (Line: 1084)\nDrupal\\Core\\Form\\FormBuilder->doBuildForm() (Line: 1076)\nDrupal\\Core\\Form\\FormBuilder->doBuildForm() (Line: 1076)\nDrupal\\Core\\Form\\FormBuilder->doBuildForm() (Line: 579)\nDrupal\\Core\\Form\\FormBuilder->processForm() (Line: 325)\nDrupal\\Core\\Form\\FormBuilder->buildForm() (Line: 73)\nDrupal\\Core\\Controller\\FormController->getContentResult() (Line: 39)\nDrupal\\layout_builder\\Controller\\LayoutBuilderHtmlEntityFormController->getContentResult()\ncall_user_func_array() (Line: 123)\nDrupal\\Core\\EventSubscriber\\EarlyRenderingControllerWrapperSubscriber->Drupal\\Core\\EventSubscriber\\{closure}() (Line: 627)\nDrupal\\Core\\Render\\Renderer->executeInRenderContext() (Line: 124)\nDrupal\\Core\\EventSubscriber\\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext() (Line: 97)\nDrupal\\Core\\EventSubscriber\\EarlyRenderingControllerWrapperSubscriber->Drupal\\Core\\EventSubscriber\\{closure}() (Line: 181)\nSymfony\\Component\\HttpKernel\\HttpKernel->handleRaw() (Line: 76)\nSymfony\\Component\\HttpKernel\\HttpKernel->handle() (Line: 58)\nDrupal\\Core\\StackMiddleware\\Session->handle() (Line: 48)\nDrupal\\Core\\StackMiddleware\\KernelPreHandle->handle() (Line: 28)\nDrupal\\Core\\StackMiddleware\\ContentLength->handle() (Line: 106)\nDrupal\\page_cache\\StackMiddleware\\PageCache->pass() (Line: 85)\nDrupal\\page_cache\\StackMiddleware\\PageCache->handle() (Line: 50)\nDrupal\\ban\\BanMiddleware->handle() (Line: 48)\nDrupal\\Core\\StackMiddleware\\ReverseProxyMiddleware->handle() (Line: 51)\nDrupal\\Core\\StackMiddleware\\NegotiationMiddleware->handle() (Line: 36)\nDrupal\\Core\\StackMiddleware\\AjaxPageState->handle() (Line: 51)\nDrupal\\Core\\StackMiddleware\\StackedHttpKernel->handle() (Line: 704)\nDrupal\\Core\\DrupalKernel->handle() (Line: 19)\n", name: "AjaxError", stack: "@http://test.devel/core/misc/ajax.js?v=10.2.3:196:32\n@http://test.devel/core/misc/ajax.js?v=10.2.3:1916:3\n" }
ajax.js:196:32
For what I see, maybe to check if there is translation and if so, work with object?
Now I have to shop food.
Neither do I.
If you want I can upload the field configuration or any other.
Or I can install what you prefer to debug Ajax.
I don't want you to spend the weekend and next week we sure solve it.
I have another complicated task to solve, don't worry.
Merci beaucoup et bonne nuit :)
I have changed to English for my user and the same error. I put here just in case it helps.
Uncaught
Object { message: "\nAn AJAX HTTP error occurred.\nHTTP Result Code: 500\nDebugging information follows.\nPath: /media/1502/edit\nStatusText: 500 Service unavailable (with message)\nResponseText: The website encountered an unexpected error. Try again later.Error: Cannot use object of type Drupal\\Core\\StringTranslation\\TranslatableMarkup as array in media_contextual_crop_iwc_adapter_widget_after_build() (line 68 of modules/contrib/media_contextual_crop_iwc_adapter/media_contextual_crop_iwc_adapter.module). call_user_func_array() (Line: 1084)\nDrupal\\Core\\Form\\FormBuilder->doBuildForm() (Line: 1076)\nDrupal\\Core\\Form\\FormBuilder->doBuildForm() (Line: 1076)\nDrupal\\Core\\Form\\FormBuilder->doBuildForm() (Line: 579)\nDrupal\\Core\\Form\\FormBuilder->processForm() (Line: 325)\nDrupal\\Core\\Form\\FormBuilder->buildForm() (Line: 73)\nDrupal\\Core\\Controller\\FormController->getContentResult() (Line: 39)\nDrupal\\layout_builder\\Controller\\LayoutBuilderHtmlEntityFormController->getContentResult()\ncall_user_func_array() (Line: 123)\nDrupal\\Core\\EventSubscriber\\EarlyRenderingControllerWrapperSubscriber->Drupal\\Core\\EventSubscriber\\{closure}() (Line: 627)\nDrupal\\Core\\Render\\Renderer->executeInRenderContext() (Line: 124)\nDrupal\\Core\\EventSubscriber\\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext() (Line: 97)\nDrupal\\Core\\EventSubscriber\\EarlyRenderingControllerWrapperSubscriber->Drupal\\Core\\EventSubscriber\\{closure}() (Line: 181)\nSymfony\\Component\\HttpKernel\\HttpKernel->handleRaw() (Line: 76)\nSymfony\\Component\\HttpKernel\\HttpKernel->handle() (Line: 58)\nDrupal\\Core\\StackMiddleware\\Session->handle() (Line: 48)\nDrupal\\Core\\StackMiddleware\\KernelPreHandle->handle() (Line: 28)\nDrupal\\Core\\StackMiddleware\\ContentLength->handle() (Line: 106)\nDrupal\\page_cache\\StackMiddleware\\PageCache->pass() (Line: 85)\nDrupal\\page_cache\\StackMiddleware\\PageCache->handle() (Line: 50)\nDrupal\\ban\\BanMiddleware->handle() (Line: 48)\nDrupal\\Core\\StackMiddleware\\ReverseProxyMiddleware->handle() (Line: 51)\nDrupal\\Core\\StackMiddleware\\NegotiationMiddleware->handle() (Line: 36)\nDrupal\\Core\\StackMiddleware\\AjaxPageState->handle() (Line: 51)\nDrupal\\Core\\StackMiddleware\\StackedHttpKernel->handle() (Line: 704)\nDrupal\\Core\\DrupalKernel->handle() (Line: 19)\n", name: "AjaxError", stack: "@http://test.devel/core/misc/ajax.js?v=10.2.3:196:32\n@http://test.devel/core/misc/ajax.js?v=10.2.3:1916:3\n" }
ajax.js:196:32
I don't get any different message. I have changed theme just in case. I have put dpm and dump, to check, but nothing.
I have devel installed.
I tried to edit the field in the node and image media too and I keep with the same message.
I have to leave :)
All with the dev version that you just uploaded.
I go for what you ask in #8
Do you want that I install de dev version?
Today I go to teach, but tomorrow morning I will be working on this.
Have a good day :)
Thanks!
Your questions:
- In the node are you sure using a "Media with contextual modifications" field for media reference (instead of an entity reference)
Yes. I learned it form you :)
- In the media image, are you sure using the "ImageWidget Crop" widget for the image field, and set the corrects CROPs (how many)
yes and one crop
- Can you details the version of CROP and Image widget crop module (I assume you use the latest sable release for "media_contextual_crop" collection)
crop : 8.x-2.3
image_widget_crop: 8.x-2.4
- if you using a multilanguage site : did you activate translation on the content ? on the media ?
Yes I have activated translation on the content. On the media also because for blind people the alt tag for images.
- did you have the error when creating a new media from a new image ? (from the node, or from media lib)
No, I don't get error on create, and I can crop the image. The error is when you edit.
And a last thing, in comment #4 I said: Drupal 10.2.3 and now I don't get error in the node edit page when I click the edit button. But after a while I got it again (I imagine that drush cr didn't clear all caches).
If you want, I can test anything (changing media translation or x)
Thanks again a lot!!!! :)
I'm pushing additional data type control.
I have just updated Drupal 10.2.3 and now I don't get error in the node edit page when I click the edit button, but I don't get an option to change the crop. I only get to select or upload images.
If I go to /admin/content/media , I keep getting the error that I posted in #2
Thanks @SocialNicheGuru , I was having problems configuring the local library and your image helped to me.
Also, if I go to media and try to edit an image, I get this error
The website encountered an unexpected error. Try again later.
Error: Cannot use object of type Drupal\Core\StringTranslation\TranslatableMarkup as array in media_contextual_crop_iwc_adapter_widget_after_build() (line 68 of modules/contrib/media_contextual_crop_iwc_adapter/media_contextual_crop_iwc_adapter.module).
call_user_func_array() (Line: 1084)
Drupal\Core\Form\FormBuilder->doBuildForm() (Line: 1076)
Drupal\Core\Form\FormBuilder->doBuildForm() (Line: 1076)
Drupal\Core\Form\FormBuilder->doBuildForm() (Line: 579)
Drupal\Core\Form\FormBuilder->processForm() (Line: 325)
Drupal\Core\Form\FormBuilder->buildForm() (Line: 73)
Drupal\Core\Controller\FormController->getContentResult() (Line: 39)
Drupal\layout_builder\Controller\LayoutBuilderHtmlEntityFormController->getContentResult()
call_user_func_array() (Line: 123)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 627)
Drupal\Core\Render\Renderer->executeInRenderContext() (Line: 124)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext() (Line: 97)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 181)
Symfony\Component\HttpKernel\HttpKernel->handleRaw() (Line: 76)
Symfony\Component\HttpKernel\HttpKernel->handle() (Line: 58)
Drupal\Core\StackMiddleware\Session->handle() (Line: 48)
Drupal\Core\StackMiddleware\KernelPreHandle->handle() (Line: 28)
Drupal\Core\StackMiddleware\ContentLength->handle() (Line: 106)
Drupal\page_cache\StackMiddleware\PageCache->pass() (Line: 85)
Drupal\page_cache\StackMiddleware\PageCache->handle() (Line: 50)
Drupal\ban\BanMiddleware->handle() (Line: 48)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle() (Line: 51)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle() (Line: 36)
Drupal\Core\StackMiddleware\AjaxPageState->handle() (Line: 51)
Drupal\Core\StackMiddleware\StackedHttpKernel->handle() (Line: 704)
Drupal\Core\DrupalKernel->handle() (Line: 19)
candelas → created an issue.
Thanks @kostyashupenko : patch #15 works in Drupal 10.2.2
Thanks @gido
I would like the Date and Array.
Have a good weekend :)
Very good idea!
Or at least made them shareable. I mean that you can export and import through configuration among themes.
And blocks.
It would be great to have this :)
For what I see, https://packagist.org/packages/twig/extensions has been marked as abandoned. https://packagist.org/packages/twig/extra-bundle has been suggested as a replacement package by the same maintainer.
candelas → created an issue.
package.json in txt format to be able to upload it.
candelas → created an issue.
A temporary solution, for any person that want to have this, is to create a user that has no roles and give to authenticated user permission to the module.
Thanks for the module and you can close it if you think that with this solution is enough :)
candelas → created an issue.
candelas → created an issue.
candelas → created an issue.
candelas → created an issue.
candelas → created an issue.
Thanks @harshit_ghediya. Patch in #26 works in D10.1.2 !
Thanks @DYdave. patch in #42 works!
Thanks @interdruper, patch in #64 works.
I hope soon it will be part of the great Colorbox module.
Sorry, I am very very tired, make mistakes and make you loose time.
I go to rest and then keep working :)
I have to migrate the D7 field image to D10 field media with contextual modifications.
I am thinking in not migrating manualcrop module crops since your module with focal point can make the images derivatives for the breakpoints.
Thanks
Thank you. If you come to Barcelona, I will cook a paella for you :)
I know break-points with the breakpoints module that now is responsive images from D7.
Now I am confused with the crop entity.
With the main way (node -> media -> image -> style), how do I assign the image style for each break-point so with the focal point configuration the images for each are created?
glups... I am ashamed ....
I have done drush updb and we have the field and CAN SAVE!!!!
I am very tired and I forgot... thanks for the patience.
And the last thing, how do I assign the different styles, I go to the /admin/config/media/responsive-image-style , don't I?
But why does the context data field is not created? how can I solve that?