Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Workshopshed

    (@workshopshed)

    The file names go through a filter to ensure that they are valid on the file system so that’s why you are having the Unicode converted to their representative values. I had some issues with “%” in BlogSpot filenames which caused problems for wordpress.

    The relevant code for changing the file names is in blogger-importer-blog.php function import_image there’s a point in code where the new name gets assigned $new_name = you’d need to replaced that with a suitable piece of code to implement your naming algorithm above.

    Thread Starter brazhko

    (@brazhko)

    Please help me, how should I modify this line?
    $new_name = preg_replace('/[^A-Za-z0-9._ ]/i', '-', basename($lowrez));

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Images filenames after import’ is closed to new replies.