darkstardigital / phpThumbsUp

ModX package for creating dynamic image thumbnails
10 stars 7 forks source link

Auto-populate Format Tag based on Original File #15

Open sdwespi opened 11 years ago

sdwespi commented 11 years ago

The "format" (f) tag should be auto populated based on the base image, if it isn't specified for the given image. It looks like modPhpThumb turns every file into a jpg by default. Perhaps we can introduce a new value for format: "auto" which would go by the format of the original image, and use this as the default.