[Feature] Convert or share preview images when sharing #6723
Replies: 7 comments 6 replies
-
Video is much less important because I assume most people use a share link. It might still be nice but it's harder to do on-demand and cut the file size without destroying the quality. I think most would use a link, but for images, sharing a single image is much more convenient with the file than a link. For example, on Discord, HEIC doesn't show a preview or anything so you have to download it, annoying and many people won't want to bother unless it's really important, share links might embed but usually not great as a way to view the picture, JPEG files show up and you can see it previewed and tap on it to view it, it's the intended method. |
Beta Was this translation helpful? Give feedback.
-
How do you feel about using the preview image for this instead of converting on-the-fly? I think it'd be simpler to implement this way. |
Beta Was this translation helpful? Give feedback.
-
After thinking about it for some time, this seems like the best solution. No worry about supporting conversion on every platform and works well with images on the server (so basically all images since that's the point of immich) and should work fine on the web (which doesn't have local images, all on server.) |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
That would be a great thing. I go out a lot and take photos with my DSL. These are in .ARW format. So I import them into Immich on the computer. But now when I look at the photos in the Android app and want to share one, it doesn't work if it's an .ARW. At least it would be advantageous to have a choice here. |
Beta Was this translation helpful? Give feedback.
-
For now I have a partial solution and that is ImagePipe. Basically you set it up and then share image(s) to ImagePipe and it converts and then pops up a share menu so you can share the converted image(s) to another app |
Beta Was this translation helpful? Give feedback.
-
This would allow more similar functionality to sharing images via IM apps like WhatsApp and Signal, where by default images are shared as low-quality (in Immich case, default should still probably be orig quality as it's now). It's a great way to save on bandwidth, and would allow sharing photos even when you don't have connection to the server, as long as they've been cached on your device |
Beta Was this translation helpful? Give feedback.
-
The Feature
This issue is primarily focused on behavior when hitting "Share To" in the mobile app

When clicking the share button described above, an option to share the preview image instead of the original could be presented.
For web a Download Preview button could be added.
Note for web: you can right click an image and click save to get the preview image. (If you have NOT zoomed in and if you have view originals disabled (disabled by default).)
Considerations
Old Text
So two possible server-side implementations are that it tells the server to convert on demand or it converts and stores a second copy for every image uploaded (so it will create a second copy of a heic (or any photo) as a like 80% quality JPEG (potentially also WEBP), should be very configurable to the user/admin.) Personally I think this solution is potentially inefficient, potentially slow (if you have a local file it has to be remotely transcoded and sent over network), and potentially complicated to implement. Maybe the on demand server-side conversion would be good, because of on device conversion potential issues.Then the option I might like is in-app (and maybe the web interface) conversion on sharing, so it can convert to whatever specified when you hit share. This could be complex since it would have to work for iOS and Android, and potentially the Web as well so there's a suite of potential difficulties supporting this for different devices.
Also, either route should allow deep configuration with potentially just a FFmpeg command, and/or an easy interface (kinda like the video transcoding tab or the thumbnails tab on settings.)
Personally, I would also like a profile selector, so when I hit share, I can choose a profile to convert to (so maybe have a default profile "Original" which does nothing and I could make a custom profile and name it whatever I want like "JPEG 80%" and make it convert to 80% quality JPEG) and then it pops up the share menu. Also, it should allow setting a profile to "Always Use" (of course on a per user basis) so that for example I (advanced user) could choose what to convert to, but an elderly family member on iPhone could have it automatically convert to JPEG without her having to even think about it.
So to sum up, the requirements I would like this feature to meet are:
Lower priority (but still much wanted):
(Of course I'm not demanding y'all do this, I'm aware this is only a request, unlike some of the rude people who come here to demand something in their entitlement, just wanted to lay out some information that I would find helpful and maybe others can give their ideas.)
Also, if someone could point me to how I could help add this, I would be glad to try. I might be able to do some basic UI at least. (But I'm not skilled enough yet to implement this.)
Platform
Beta Was this translation helpful? Give feedback.
All reactions