lsdevign
Forum Replies Created
-
Dear Johannes,
I installed WordPress locally with the following plugins (all latest version):
– ACF multilingual
– ACF Image aspect ratio crop
– ACF pro
– WPML media
– WPML multilingial cms
– WPML string translation
– WPML translation managementI setup 2 langs: English (primary) and dutch. In the wpml settings, I checked all checkboxes except the first one under Media settings > ‘You can check if some attachments can be duplicated to translated content:’.
I also checked the first checkbox under Media settings >
How to handle media for new content.I add a ACF crop field to a page with aspect ratio of 1600 x 900, without setting anything related to acf multilingual for this field.
1. I upload an image to the library, the image is copied to dutch, all is well.
2. I crop the image in the ACF field on the page in English > the cropped version is not shown in the English media library.
3. I now check the dutch library, and there are now 2 images displayed.Normally that did not happen, but since I use ACF image aspect ratio crop all the time, the media library of other langs becomes a bit chaotic.
I hope you can reproduce this, let me know if you need more info.
Dear Johannes,
Thank you so much for that info. I am a huge fan of your plugin btw, even though I address this issue. I use it everywhere.
Can I send you an e-mail with the credentials of the site? So you can just have a look at the media library and see what I mean.
Dear Johannes,
This is the answer I got from WPML:
As far as i see we are not know about this plugin yet which means we have not tested the plugin with WPML.
We are not sure whats really breaking in the code.
If that worked well until recently i would suggest to check that with the plugin support and if they are not compatible with WPML yet, kindly invite them to join our go global program https://wpml.org/documentation/theme-compatibility/go-global-program/ were we can collaborate with the plugin developer to make it work seamless with WPML .
Dear Johannes,
Thank you for your response.
I do use WPML. Mostly for images I use copy once. I have always used copy once in the past but since a week or 2 it started showing the cropped images in the media library.
Which method do you use to not display cropped items in the media library? This way maybe I can inform at WPML if they can target the issue more specifically.
Kind regards,
Laurens
Dear Johannes,
Did you have the chance to look at the site info I sent you?
Kind regards,
Laurens
Hey Johannes,
Here you go:
### wp-core ### version: 5.5.1 site_language: nl_BE user_language: nl_BE timezone: Europe/Brussels permalink: /%postname%/ https_status: false multisite: false user_registration: 0 blog_public: 0 default_comment_status: open environment_type: production user_count: 3 dotorg_communication: true ### wp-paths-sizes ### wordpress_path: /data/sites/web/larabeskocom/www wordpress_size: loading... uploads_path: /data/sites/web/larabeskocom/www/wp-content/uploads uploads_size: loading... themes_path: /data/sites/web/larabeskocom/www/wp-content/themes themes_size: loading... plugins_path: /data/sites/web/larabeskocom/www/wp-content/plugins plugins_size: loading... database_size: loading... total_size: loading... ### wp-active-theme ### name: Larabesko (larabesko) version: 1.0 author: lsDevign author_website: https://www.lsdevign.be parent_theme: none theme_features: core-block-patterns, custom-logo, post-thumbnails, menus theme_path: /data/sites/web/larabeskocom/www/wp-content/themes/larabesko auto_update: Uitgeschakeld ### wp-plugins-active (24) ### ACF Content Analysis for Yoast SEO: version: 2.7, author: Thomas Kräftner, ViktorFroberg, marol87, pekz0r, angrycreative, Team Yoast, Auto-updates ingeschakeld Admin Menu Editor: version: 1.9.7, author: Janis Elsts, Auto-updates ingeschakeld Advanced Custom Fields: Image Aspect Ratio Crop: version: 4.0.5, author: Johannes Siipola, Auto-updates ingeschakeld Advanced Custom Fields Multilingual: version: 1.7.3, author: OnTheGoSystems, Auto-updates uitgeschakeld Advanced Custom Fields PRO: version: 5.9.1, author: Elliot Condon, Auto-updates uitgeschakeld Amelia: version: 2.9.1, author: TMS, Auto-updates uitgeschakeld Contact Form 7: version: 5.2.2, author: Takayuki Miyoshi, Auto-updates uitgeschakeld Cookie Notice: version: 1.3.2, author: dFactory, Auto-updates uitgeschakeld Duplicate Page: version: 4.3, author: mndpsingh287, Auto-updates ingeschakeld Elfsight Facebook Feed CC: version: 1.14.0, author: Elfsight, Auto-updates uitgeschakeld Elfsight Instagram Feed CC: version: 4.0.1, author: Elfsight, Auto-updates uitgeschakeld FileBird: version: 4.0.7, author: Ninja Team, Auto-updates uitgeschakeld Flamingo: version: 2.2, author: Takayuki Miyoshi, Auto-updates uitgeschakeld Safe SVG: version: 1.9.9, author: Daryll Doyle, Auto-updates ingeschakeld Simple Custom Post Order: version: 2.5.0, author: Colorlib, Auto-updates ingeschakeld Smush: version: 3.7.0, author: WPMU DEV, Auto-updates ingeschakeld WP Mailto Links - Hide & Protect Emails: version: 3.1.2, author: Ironikus, Auto-updates ingeschakeld WPML Media: version: 2.6.0, author: OnTheGoSystems, Auto-updates uitgeschakeld WPML Multilingual CMS: version: 4.4.2, author: OnTheGoSystems, Auto-updates uitgeschakeld WPML String Translation: version: 3.1.3, author: OnTheGoSystems, Auto-updates uitgeschakeld WPML Translation Management: version: 2.10.1, author: OnTheGoSystems, Auto-updates uitgeschakeld WPS Hide Login: version: 1.5.6, author: WPServeur, NicolasKulka, tabrisrp, Auto-updates uitgeschakeld Yoast SEO: version: 14.9, author: Team Yoast, Auto-updates ingeschakeld Yoast SEO Multilingual: version: 1.2.4, author: OnTheGoSystems, Auto-updates uitgeschakeld ### wp-media ### image_editor: WP_Image_Editor_Imagick imagick_module_version: 1690 imagemagick_version: ImageMagick 6.9.10-23 Q16 x86_64 20190101 https://imagemagick.org file_uploads: File uploads is turned off post_max_size: 256M upload_max_filesize: 256M max_effective_size: 256 MB max_file_uploads: 20 imagick_limits: imagick::RESOURCETYPE_AREA: 122 MB imagick::RESOURCETYPE_DISK: 1073741824 imagick::RESOURCETYPE_FILE: 768 imagick::RESOURCETYPE_MAP: 512 MB imagick::RESOURCETYPE_MEMORY: 256 MB imagick::RESOURCETYPE_THREAD: 8 gd_version: bundled (2.1.0 compatible) ghostscript_version: 9.27 ### wp-server ### server_architecture: Linux 4.19.140-combell x86_64 httpd_software: Apache php_version: 7.4.10 64bit php_sapi: fpm-fcgi max_input_variables: 20000 time_limit: 300 memory_limit: 256M max_input_time: 60 upload_max_filesize: 256M php_post_max_size: 256M curl_version: 7.64.0 OpenSSL/1.1.1d suhosin: false imagick_availability: true pretty_permalinks: true htaccess_extra_rules: false ### wp-database ### extension: mysqli server_version: 5.7.31-34-log client_version: mysqlnd 7.4.10 ### wp-constants ### WP_HOME: undefined WP_SITEURL: undefined WP_CONTENT_DIR: /data/sites/web/larabeskocom/www/wp-content WP_PLUGIN_DIR: /data/sites/web/larabeskocom/www/wp-content/plugins WP_MAX_MEMORY_LIMIT: 256M WP_DEBUG: false WP_DEBUG_DISPLAY: true WP_DEBUG_LOG: false SCRIPT_DEBUG: false WP_CACHE: false CONCATENATE_SCRIPTS: undefined COMPRESS_SCRIPTS: undefined COMPRESS_CSS: undefined WP_LOCAL_DEV: undefined DB_CHARSET: utf8 DB_COLLATE: undefined ### wp-filesystem ### wordpress: writable wp-content: writable uploads: writable plugins: writable themes: writableYes indeed
Hello Maybellyne,
I already tried this but nothing seems to resolve it.
This is resolved.
Dear Johannes,
I was no longer able to reproduce the issue so you can mark it as solved. Thank you so much for your help and for adjusting the links on the free crops in the latest update.
A nice to have feature would also be to be able to select a previously cropped image based on the dimensions in the filename, without ending up with multiple same crops of the same image.
Kind regards,
Laurens
Dear Johannes,
I have setup a reproduction example and have sent it to you by mail.
Kind regards,
Laurens
Dear joppuyo,
I Just noticed something. When the black zone around the image appears, the filename of the cropped image becomes: filename-scaled-aspect-ratio-705-735 instead of filename-aspect-ratio-705-735.
What could this mean?
Kind regards,
Laurens
Dear joppuyo,
Thank you, I have setup everything as you described but I still encounter issues with some pictures.
I can show you what’s happening on example
Dear Joppuyo,
Any update on this issue? It is becoming really urgent.
Dear Joppuyo,
The problem seems to persist in ACF flexible content fields.