Hey!

"Synchronize translations" is an option of the Internationalization module that lets you have same attachments for different translations of a node.

1) Enable "Synchronize translations" for an Imagefield in a content type.
2) Create a node, add some attachments to the imagefield/Image FUpload field.
3) Proceed to translating the node into another languase.

Here's how it works for Imagefield (this is what should happen with Image FUpload too):
4) You see a node editing screen with Imagefield already having same attachments as in original node.

Here's how it happens with Image FUpload:
4) You see a node editing screen with Image FUpload field having NO attachments.
5) When you save the node, the original node's attachments are replaced with what you left in 4). If you didn't add attachments to the translated node, they are deleted in the original node as well.

This happens only when creating translation nodes. When editing an existing pair of nodes, attachments are synched all right.

And here's a workaround:
1) Edit the attachments field and change its type from "Image FUpload" to "Imagefield".
2) Create translation nodes for all nodes that have image attachments.
3) Change the field type back to "Image FUpload".
This seems to be safe.

Comments

divined’s picture

just change code on -
- image_fupload/image_fupload_imagefield/image_fupload_imagefield.module
on line 105 to:

if (!isset($form['#node']->nid) && !isset($form['#node']->translation_source)) {

dstotijn’s picture

Just tested this. Works!