natsuk4ze / gal

How to Save Image or Video to Photo Gallery in Flutter
https://pub.dev/packages/gal
BSD 3-Clause "New" or "Revised" License
85 stars 13 forks source link

Getting new path of saved image #124

Closed joeywittig closed 10 months ago

joeywittig commented 10 months ago

Hi all,

I couldn't find it, but how do i get the new path of the image? I am using the ImagePicker library to take the picture, however this library creates a file in the cache of the app directory. After i move it to the gallery i would like to delete the cached file and continue with the new path. How would one proceed with this?

Thanks!

joeywittig commented 10 months ago

my bad, ImagePicker makes a cached version of the file.

natsuk4ze commented 10 months ago

Hi @joeywittig Thank you for your contribution 🤝

Yes. latest version of this package should not include the operation of saving to the app directory.

natsuk4ze commented 10 months ago

Note that there is currently no functionality in this package to retrieve the path after saving. If you need it, please consider registering a feature request issue.

If you have any questions, feel free to mention me! If not, I would be happy to close this🙂