Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I tired to import multiple images like here:
https://drupal.stackexchange.com/questions/225669/how-to-import-multiple...
Modules Explode and Rewrite work separately, but do not work together.
After importing I have message:
Client error: `GET http://sitename.com/files/image1.jpg,image2.jpg` resulted in a `404 Not Found` response:
Comment | File | Size | Author |
---|---|---|---|
tampers.jpg | 20.35 KB | VasyOK |
Comments
Comment #2
studio-days CreditAttribution: studio-days commentedRewriting after Exploding will rewrite each key value of the array with whatever you put in the rewrite text box. Unless you rewrite using a token that is referencing another array. This works as designed (I'm using this functionality successfully)
It seems like you should Rewriting BEFORE Exploding.
Comment #3
VasyOK CreditAttribution: VasyOK commentedSory it doesn't work.
If i place Rewrite plugin before Exploding - it write:
cURL error 3: (see https://curl.haxx.se/libcurl/c/libcurl-errors.html)
Comment #4
damondt CreditAttribution: damondt commentedThis should work before or after explode and loop over the array if after. How does tamper normally handle multiple values? Should this be handled in the tamper module and it loop over values if there are multiple?