Support » Plugin: Dynamic Image Resizer » jpeg extension ignored and nginx issue

  • Resolved davidmh


    I fixed it by adding the extension to :

    if (preg_match('/(.*)-([0-9]+)x([0-9]+)(c)?\.(jpg|jpeg|png|gif)/i',$_SERVER['REQUEST_URI'],$matches)) {

    In the line 19 of dynamic-image-resizer/dynamic-image-resizer.php

    I also found and solved an issue with my nginx configuration, that might be useful in the documentation of your plugin.

    Do you have a git repo where I can offer you contributions?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Samuel Wood (Otto)

    (@otto42) Admin

    I don’t use git, but feel free to email me a patch if you have useful changes. 🙂


    I do use git, so I’m not sure what kind of patch do you prefer.

    I think I’ve found a pretty solid way to generate new image sizes for attachments uploaded previous to the plugin install; and added support for special characters.

    Do you mind if I set a (unofficial) github repo to centralize all contributions?

    Plugin Author Samuel Wood (Otto)

    (@otto42) Admin

    I meant a patch in the sense of a “diff” or “patch” file, like you use for developing code.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘jpeg extension ignored and nginx issue’ is closed to new replies.