diff --git a/frontend/src/model/config-options.js b/frontend/src/model/config-options.js index d2b14b423..f399fbef5 100644 --- a/frontend/src/model/config-options.js +++ b/frontend/src/model/config-options.js @@ -49,22 +49,19 @@ export class ConfigOptions extends Model { DisableTensorFlow: config.values.disable.tensorflow, DetectNSFW: false, UploadNSFW: config.values.uploadNSFW, - LogLevel: config.debug ? "debug" : "", + DarktablePresets: false, + ThumbUncached: true, + ThumbFilter: "", + ThumbSize: 0, + ThumbSizeUncached: 0, + JpegSize: 0, + JpegQuality: 0, SiteUrl: config.values.siteUrl, SitePreview: config.values.siteUrl, SiteTitle: config.values.siteTitle, SiteCaption: config.values.siteCaption, SiteDescription: config.values.siteDescription, SiteAuthor: config.values.siteAuthor, - HttpMode: "", - DarktablePresets: false, - BackupYaml: false, - ThumbFilter: "", - ThumbUncached: true, - ThumbSize: 0, - ThumbSizeUncached: 0, - JpegSize: 0, - JpegQuality: 0, }; } diff --git a/frontend/src/options/options.js b/frontend/src/options/options.js index b1cfe6aa0..51ada4183 100644 --- a/frontend/src/options/options.js +++ b/frontend/src/options/options.js @@ -277,3 +277,10 @@ export const FeedbackCategories = () => [ { value: "donations", text: $gettext("Donations") }, { value: "other", text: $gettext("Other") }, ]; + +export const ThumbFilters = () => [ + { value: "blackman", text: $gettext("Blackman: Lanczos Modification, Less Ringing Artifacts") }, + { value: "lanczos", text: $gettext("Lanczos: Detail Preservation, Minimal Artifacts") }, + { value: "cubic", text: $gettext("Cubic: Moderate Quality, Good Performance") }, + { value: "linear", text: $gettext("Linear: Very Smooth, Best Performance") }, +]; diff --git a/frontend/src/pages/photos.vue b/frontend/src/pages/photos.vue index c7569afa8..7879d2b0d 100644 --- a/frontend/src/pages/photos.vue +++ b/frontend/src/pages/photos.vue @@ -1,14 +1,14 @@