File tree Expand file tree Collapse file tree 4 files changed +8
-6
lines changed
src/routes/(console)/project-[region]-[project] Expand file tree Collapse file tree 4 files changed +8
-6
lines changed Original file line number Diff line number Diff line change 5151 fileId ,
5252 width: 1024 ,
5353 height: 576 ,
54- output: ImageFormat .Webp
54+ output: ImageFormat .Avif
5555 });
5656 }
5757 </script >
Original file line number Diff line number Diff line change 3838 fileId ,
3939 width: 1024 ,
4040 height: 576 ,
41- output: ImageFormat .Webp
41+ output: ImageFormat .Avif
4242 });
4343 }
4444 </script >
Original file line number Diff line number Diff line change 99 import { Button } from ' $lib/elements/forms' ;
1010 import { calculateSize } from ' $lib/helpers/sizeConvertion' ;
1111 import { Container } from ' $lib/layout' ;
12- import type { Models } from ' @appwrite.io/console' ;
12+ import { ImageFormat , type Models } from ' @appwrite.io/console' ;
1313 import { addNotification } from ' $lib/stores/notifications' ;
1414 import { uploader } from ' $lib/stores/uploader' ;
1515 import { sdk } from ' $lib/stores/sdk.js' ;
5353 bucketId ,
5454 fileId ,
5555 height: 128 ,
56- width: 128
56+ width: 128 ,
57+ output: ImageFormat .Avif
5758 })
5859 .toString () + ' &mode=admin'
5960 );
Original file line number Diff line number Diff line change 3535 } from ' @appwrite.io/pink-icons-svelte' ;
3636 import FileTokensCopyUrl from ' ./fileTokensCopyUrl.svelte' ;
3737 import ManageFileTokenModal , { cleanFormattedDate } from ' ./manageFileToken.svelte' ;
38- import { type Models } from ' @appwrite.io/console' ;
38+ import { ImageFormat , type Models } from ' @appwrite.io/console' ;
3939 import { isSmallViewport } from ' $lib/stores/viewport' ;
4040 import { Menu } from ' $lib/components/menu' ;
4141
5757 bucketId: $file .bucketId ,
5858 fileId ,
5959 width: 640 ,
60- height: 300
60+ height: 300 ,
61+ output: ImageFormat .Avif
6162 })
6263 .toString () + ' &mode=admin' ;
6364 const getView = (fileId : string ) =>
You can’t perform that action at this time.
0 commit comments