• Resolved zapit

    (@zapit)


    Hi there,
    I have an issue importing images with blank spaces into the name.
    wpallimport replace the spaces with “-”

    I’m using the “Use images currently in Media Library” but with this name replace the images are not find.

    ie:
    image name from file: ‘foretti powerdrill Z4 luminosi_P1.jpg’
    converted to: ‘foretti-powerdrill-Z4-luminosi_P1.jpg’

    I’m not a php writer, but I’ve already tried htmlentities, urlencode, and also str_replace with ‘%20′, but it adds only ’20’

    do you have any suggestion ?

    thanks in advance,
    best regards

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author WP All Import

    (@wpallimport)

    Hi @zapit

    I’m a bit confused because it shouldn’t be possible to have an image in the Media Library with blank spaces in the filename. The image filenames should be sanitized whenever you upload them.

    Are you trying to search for images based on their “title” instead of “filename”? Could you show me a screenshot of the ‘foretti powerdrill Z4 luminosi_P1.jpg’ image in your Media Library?

    Thread Starter zapit

    (@zapit)

    you are right,
    my fault that I’ve uploaded images by ftp 🙁

    Plugin Author WP All Import

    (@wpallimport)

    No worries, @zapit ! I’m glad you were able to get it sorted!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘issue with spaces in the image’s name’ is closed to new replies.