mirror of
https://github.com/willmiao/ComfyUI-Lora-Manager.git
synced 2026-03-24 14:42:11 -03:00
Enhance image handling and EXIF metadata processing in RecipeRoutes and ExifUtils
- Implemented image optimization in RecipeRoutes, resizing and converting uploaded images to WebP format while preserving metadata. - Updated ExifUtils to support EXIF data handling for WebP images, ensuring compatibility with various image formats. - Added a new method for optimizing images, allowing for better performance and quality in image uploads.
This commit is contained in:
@@ -4,14 +4,6 @@
|
||||
transition: none !important; /* Disable any transitions that might affect display */
|
||||
}
|
||||
|
||||
/* Ensure error messages maintain proper height and visibility */
|
||||
.import-section .error-message {
|
||||
min-height: 1.2em;
|
||||
visibility: visible !important;
|
||||
opacity: 1 !important;
|
||||
display: block !important;
|
||||
}
|
||||
|
||||
/* Import Mode Toggle */
|
||||
.import-mode-toggle {
|
||||
display: flex;
|
||||
@@ -681,3 +673,12 @@
|
||||
margin-right: 4px;
|
||||
font-size: 0.9em;
|
||||
}
|
||||
|
||||
/* Error message styling */
|
||||
.error-message {
|
||||
color: var(--lora-error);
|
||||
font-size: 0.9em;
|
||||
margin-top: 8px;
|
||||
min-height: 20px; /* Ensure there's always space for the error message */
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user