beetlebugorg / mod_dims

Apache HTTP dynamic image resizing module
Other
43 stars 27 forks source link

Add default output format support with exceptions #34

Closed sshyub closed 3 years ago

sshyub commented 3 years ago

Support a default output format with ability to keep the original format. Note that format command will be honored If it is present in the request.

For example, the given configuration:

<VirtualHost *:80>
    ...
    DimsDefaultOutputFormat jpg
    DimsIgnoreDefaultOutputFormat png gif
    ...
</VirtualHost>

Any images but png and gif will be converted to jpg format if no format command is present in the request.