Support » Plugin: Dynamic Image Resizer » [Plugin: Dynamic Image Resizer] Problems with four letter file extensions?

  • Resolved sliceofpie

    (@sliceofpie)


    This plugin is amazingly helpful!

    I’m noticing that images with extension “.jpeg” are not being automatically resized (but when renamed to “.jpg” and re-uploaded they work fine)… I am trying to get a ton of old images to work with this plugin, and this is the final bump in the road – Any thoughts on how to do this without doing some insane find and replace in the database and filenames? Thanks

    http://wordpress.org/extend/plugins/dynamic-image-resizer/

Viewing 1 replies (of 1 total)
  • Perhaps its not 4 letter extensions that are the issue after all – I was able to fix this issue by simply adding “jpeg|” to line 18:

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

    Not sure if this is the best solution but fixed my specific problem.

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Dynamic Image Resizer] Problems with four letter file extensions?’ is closed to new replies.