This is a very nice approach for adding multiple images. We use it on a couple of sites but trying to enable it on a site with transliteration enabled causes problems.

Following errors appears:

Warning: preg_match() expects parameter 2 to be string, array given in transliteration_process() (line 32 of /media/data/platforms/pressflow-6.22.102-dev/sites/lofotenfolkehogskole.no/svn/modules/contrib/transliteration/transliteration.inc).

Warning: strtolower() expects parameter 1 to be string, array given in transliteration_clean_filename() (line 87 of /media/data/platforms/pressflow-6.22.102-dev/sites/lofotenfolkehogskole.no/svn/modules/contrib/transliteration/transliteration.module)

Comments

sludwig’s picture

On our sites the error only appears, when you enable the HTML5-Options. With "Upload field mode" = "Zip Files Only" in the field settings, the module seems to work fine.

mnlund’s picture

Ah, ok, that might be it. But the HTML5-support is very nice though. I will test with only ZIP-options enabled.

Update: Can confirm the above. This is only affected when HTML5-support is enabled.

mikeytown2’s picture

Get the latest dev version of Transliteration or apply this patch #1243974: Supporting Files uploaded as an array

On a side note, I thought I had made this work either way; looks like I need to fix the code or recommend this patch on the project page.

mnlund’s picture

Perfect! Will test it right away.