solution: filenames without "c"
Plugin works great but we didn’t want to change the filename convention by adding a “c” for cropped images.
1) Remove the “c” from filenames
(lines 32 and 82 remove: if ($size['crop']) $suffix .='c';)
2) Set crop to true
(line 22: $crop = true;)
The joke: In WP metadata the accurate width x height is already calculated for each image format, so when you autogenerate the image later on it doesn’t matter if you crop. if you crop a non-crop image you’ll simply crop nothing …
- The topic ‘solution: filenames without "c"’ is closed to new replies.