• Hello,

    in my media i have raster images (.png, bmp, jpg, …) and vector images (.svg). Renaming raster images work, but when i try to rename a vector image i get the error: File renaming error!

    can you please help?

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author crossi72

    (@crossi72)

    Hi @jamalnewtron,
    I’ll make a test with .svg files as soon as possible, I’ll let you know the result.

    Thank you for reporting the issue.
    C.

    Thread Starter JamalNewtron

    (@jamalnewtron)

    Hey @crossi72,

    i also found out, that after trying to rename the .svg image the image is somehow removed from the wp-content/uploads

    Plugin Author crossi72

    (@crossi72)

    Hi @jamalnewtron,
    WordPress doesn’t support .svg files, which plugin do you use to support these files?

    I need to install the same plugin because it is impossible to check your issue with .svg file without it.

    C.

    Thread Starter JamalNewtron

    (@jamalnewtron)

    Hey,

    thank you for your reply.

    i tried SVG Support and Safe SVG and got on both the same results.

    Plugin Author crossi72

    (@crossi72)

    Hi @jamalnewtron,
    I’ve made a few experiments and the problem seems due to WordPress management of svg files: the upload of this kind of file is disabled for security reasons.

    The plugin you used change the security permission during the upload of the files but it seems that the block still exists when Phoenix Media Rename try to rename the file.

    I wrote to the author of SVG Support to ask him to help me in the integration process of our plugins, I’ll let you know as soon as he reply.

    C.

    Plugin Author crossi72

    (@crossi72)

    Quick update: the author of SVG Support is helping me resolving the issue, I hope to release an update in a few days.

    C.

    Thread Starter JamalNewtron

    (@jamalnewtron)

    wow never expected that much effort for this problem! thank you!

    Thread Starter JamalNewtron

    (@jamalnewtron)

    hey, wanted to ask if there is any new news about .svg file rename?

    Plugin Author crossi72

    (@crossi72)

    Hi @jamalnewtron,
    I’m sorry but I didn’t find any solution to rename .svg files, the issue seems related to security management (svg files can contain malicious code).

    I didn’t find a way to allow the user to rename file: as soon as the file is renamed, WordPress delete it, I also tried to use the same code used in SVG Support to allow the file upload, but it doesn’t work when the file is renamed.

    I hope to find a solution in some other way, but still didn’t find nothing, I’m working on Phoenix Media Rename in my spare time, and during the Covid lockdown (I am in Italy) I’m really busy :/

    Let me know if you have some suggestion ??
    C.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘error renaming .svg files’ is closed to new replies.