• Resolved Jamas

    (@jamas)


    First off I love the idea of this plugin and it does exactly what you would hope.

    I did hit one issue with it on a site using Jetpack Photon for image CDN. I think the issue Photon is having is with the name of the file. The URL for the image is the file name of the pdf with -pdf[0]- and the size appended. I am suspecting that the issue is the [0] part of the name. Is there anyway to confirm that. If I turn off photon then everything works as expected.

    https://www.ads-software.com/plugins/pdf-image-generator/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter Jamas

    (@jamas)

    I managed to debug this issue further. It is for sure the [0] part of the image file name that Jetpack Photon is having issues with. I went onto the server changed the file name of the original generated image and the various resizes to remove the [0] part of the file name, then updated the DB to point at the new image names and finally update the post to point at the new file. Tested with Jetpack Photon on and off, both worked great.

    One could argue that Jetpack Photon shouldn’t be stripping the [0] from the the image name when it does the redirect. But then gain [0] in a file name is kind of a pain from a shell point of view. Would it be possible to modify the plugin to not add this extra part to the file name?

    Thanks

    Plugin Author Mizuho Ogino

    (@fishpie)

    It is exactly what you point out.

    The [0] is an unused code and should be removed. It’s kind of dead code from older versions. Following the advice, I take it from the image name and modified the plugin. Please update it.

    Thanks for great feedback!!

    Thread Starter Jamas

    (@jamas)

    Hey Mizoho,

    Thanks for the fix, works great with Jetpack Photon now.

    Is there a way I can make a donation towards the plugin?

    Thanks
    James

    Plugin Author Mizuho Ogino

    (@fishpie)

    Thanks for offering donation. But not now maybe some another time.
    Just because I don’t prepare for it.

    Anyway, I’m motivated enough by your words.
    Thanks you!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Conflict with Jetpack Photon’ is closed to new replies.