epicacrylic / sofurry-android-app

Automatically exported from code.google.com/p/sofurry-android-app
0 stars 1 forks source link

Saved image filename template #38

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Now it is impossible to restore any info about image after saving it. Even 
image author is not known for stored image.

It is convenient to set image file name template in preferences. It will help 
to sort saved images and store minimum necessary info.

Image file name can be determined from template by replace special keywords 
with author name, image name, image extension, image upload date, etc. After 
that wrong characters not compatible with filesystem must be removed from 
filename.

For example
%AUTHOR% - %NAME% %DATE%.%EXT%
will transform to
Author - Super Artwork 20110705.jpg

File name templates feature can also be used to automatically store image in 
authors folders by using template like "%AUTHOR%/%NAME%.%EXT%". This will 
require automatic path creation.

In nearest feature at least author name must be added to current file name 
format...

Original issue reported on code.google.com by ngr...@gmail.com on 5 Jul 2011 at 1:17

GoogleCodeExporter commented 9 years ago
This relates to issue #37, and I agree that it would be very useful. I'll have 
to see about allowing it to create new folders in the template, but at least 
the file name with vars and such. I might leave out the ability to choose where 
the extension goes and just always make sure the extension is there. :)

Original comment by angelod1...@gmail.com on 6 Jul 2011 at 11:43

GoogleCodeExporter commented 9 years ago
Issue 37 has been merged into this issue.

Original comment by angelod1...@gmail.com on 6 Jul 2011 at 11:58

GoogleCodeExporter commented 9 years ago
Please don't throw issue 37 out of future releases. Issue 37 is more flexible 
and this issue 38 can solve it only partially. Please treat issue 38 as first 
step to implement issue 37...

Issue 37 allow to:
- set name of folder different from tag name
- use combination of tags to choose correct folder. For example i can store 
'adult'+'lion' in one folder and 'adult'+'tlk' in another. Another example to 
store 'dragon' and 'dinosaur' in the same folder
- store images with different tag matches in same folder
- store same image in multiple folders

Using filename templates in issue 37 can make it even more flexible.

Original comment by ngr...@gmail.com on 7 Jul 2011 at 5:43

GoogleCodeExporter commented 9 years ago
Thanks to a patch from Night_Gryphon this has been implemented. It might need a 
little improvement in the future to make it easier for people to figure it out, 
but for now this is a good solution.

Original comment by angelod1...@gmail.com on 9 Jul 2011 at 11:22