Please make sure to update to WPML 4.3.4 before reporting any issue

Hi, Amit here, I am the WPML Support Manager, our current ticket queue is high, update your WPML plugins and make sure you meet the minimal requirements for running WPML before reporting an issue please - many tickets are resolved doing that

Please look at our updated list of Known Issues and you can also use our support search to find helpful information and of course review our documentation before opening a ticket.

If you do need to open a ticket please make sure to provide us with all the needed information as described in this page

This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

This topic contains 1 reply, has 2 voices.

Last updated by Andrey 3 years, 5 months ago.

Assigned support staff: Andrey.

Author Posts
June 2, 2016 at 7:45 pm #895981

ideaspace

I am trying to: resize a image in french page

URL of (my) website where problem appears:

Eng: hidden link
French: hidden link

I expected to see: i want to see resized image on french page

Instead, I got: original image

Steps to duplicate the issue:
1. navigate and see this page: hidden link - header banner image

-> add_image_size function is not working with translations

June 3, 2016 at 2:52 pm #897023

Andrey
Supporter

Languages: English (English ) Russian (Русский )

Timezone: Europe/Kiev (GMT+02:00)

Thank you for contacting WPML support. I’ll need a little more information to see what’s happening here.

Why do you think that function isn't working on the second language? As far as I can see they both have almost the same image size. It may depends on how you implemented different modes with add_image_size function such as hard crop or soft crop or unlimited height.

I can see some difference, but it looks like the French image has just longer text on it.

Could you please share with me your add_image_size function? What is the original size of both images?

Do you see resized images in the uploads folder?

Make sure that you uploaded the French image to the libriary after you have added new sizes with add_image_size function. Otherwise you'll need some tool (like https://wordpress.org/plugins/regenerate-thumbnails/) to regenerate your images again.