• Resolved petebm

    (@petebm)


    Hi – is there any way to stop spaces in image filenames getting replaced with dashes when the name is shown in a Woocommerce product’s lightbox view?

    Thanks
    Pete

    • This topic was modified 6 years, 6 months ago by petebm.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author AlanP57

    (@alanp57)

    There is the file name and the file title. In the file name WordPress replaces the space with a dash. Later on in the processing of the file we use the name to get the file title that is saved in the database. I could get the title before the filename is changed and use that for the file title if that would help?

    Thread Starter petebm

    (@petebm)

    That sounds ideal, thank you. Obviously it’s not desperately important, but it would just make that screen look better.

    Thanks again for your prompt response.

    Plugin Author AlanP57

    (@alanp57)

    We have released version 4.0.3 which does not remove spaces in the file titles stored in the media library.

    Thread Starter petebm

    (@petebm)

    You’re a star. Thank you

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Spaces in image filenames’ is closed to new replies.