Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show metadata in ImageView #70

Closed
ukleinek opened this issue Sep 12, 2016 · 9 comments
Closed

Show metadata in ImageView #70

ukleinek opened this issue Sep 12, 2016 · 9 comments

Comments

@ukleinek
Copy link

I'd like to have a possibility to show a caption for the photos viewed in A Photo Manager. It might be possible that this already works and I just missed the relevant settings item as I'm new to this app.

I set various fields in the metadata of a picture using digikam, but I only found them in the "details" view which is way to verbose to look at while browsing the photos of the last vacation.

Environment

  • Android Version 4.4.4 (CyanogenMod 11 20150901) on Samsung Galaxy S
  • A Photo Manager Version 0.5.2 160726 (via F-Droid)
@k3b
Copy link
Owner

k3b commented Sep 12, 2016

 "caption for the photos viewed in A Photo Manager".

I assume you mean showing the info in the gallery view and not in the image view.

Which fields do you want to see ? currently you see the end of the filename in the gallery-view.

This would require to implement a different gallery listview with some text columns.

Related #50: define the number of imagecolums.
Related #42:

Is there somebody out there who wants to implement this?

@ukleinek
Copy link
Author

I'd like to have a possibility to show a caption, a oneline-title would be fine. The source could be Exif Image Description or what is shown as "UserComment" in the details list.

For the question where to show it: I'd like to see it at least in the "show only one image" view (detail view?) to substitute printed photo books.

@k3b
Copy link
Owner

k3b commented Sep 12, 2016

I have to check if the android mediascanner (on my "wiko-lenny-android-4.4" and on my "android-4.2 tablet") reads the "Exif Image Description" field into the media database. "UserComment" is not supported by android-stock-database/mediascanner/exif-interface" so this field has to wait until #25 is finished. the mediadb has a field "description" but for all of my 16000 images it-s value is null

@ukleinek
Copy link
Author

Do I have the same mediadb? Can I easily check the description field for a given photo?

@ukleinek
Copy link
Author

I found in the adb shell:

    # sqlite3 ./data/com.android.providers.media/databases/external.db
    sqlite> select * from images where not description is null;
    sqlite> 

though also at least one of my pictures has meta data set using digikam and the image is referenced in the database.

@keunes
Copy link
Contributor

keunes commented Sep 15, 2016

The meta-data I would like to be able to see is the creation date & time.

This would require to implement a different gallery listview with some text columns.

I would rather keep the current view but have a setting to choose which data to display File name (current), date & time stamp, 'title' (as proposed by @ukleinek). (Maybe this also saves work to implement a new view? 😉)

@k3b
Copy link
Owner

k3b commented Oct 6, 2016

After implementing #25 "Tag support" in version 0.6.0 the description (and some other non-standard-android-fields) are available in the mediaDb after either if

  • importing exiftool generated csv (working since version 0.6.0)
  • or running improved a-photo-manager-mediascanner (under development as Show metadata in ImageView #70 available in version 0.6.1)

TODO: add info to to imagedetail view

@k3b k3b changed the title Show metadata in gallery Show metadata in ImageDetailView Mar 20, 2017
k3b added a commit that referenced this issue May 15, 2017
@k3b k3b removed the help wanted label May 17, 2017
@k3b
Copy link
Owner

k3b commented Jun 8, 2017

In version 0.6.1 the Image-View
will get context text and a context button.

Context means text and button relates to the last menu command you execute.

Example:

  • if you called the menu command "Set geo" the context text will show latitude, longitude of the image and the context button will open the "Set geo" command.
  • if you called the menu command "Set tags" the context text will show tags of the image and the context button will open the "Set tags" command.
  • if you called the menu command "Rename" the context text will show file path of the image and the context button will open the "Rename" command.
  • if you called the menu command "Details" the context text will show image-id, file path, lat/lon, tags, title, description, rating of the image and the context button will open the "Details" command.

If you know SQL and the properties file format you can define context specific sql-expressions for the context text using a text editor.

See also https://github.com/k3b/APhotoManager/wiki/Image-View#context

@k3b k3b changed the title Show metadata in ImageDetailView Show metadata in ImageView Jun 12, 2017
k3b added a commit that referenced this issue Jun 12, 2017
@k3b
Copy link
Owner

k3b commented Jun 12, 2017

... will be available with next release 0.6.1

@k3b k3b closed this as completed Jun 12, 2017
@k3b k3b moved this from In Progress to Done in More Metadata: tags, title, description, rating Jun 12, 2017
@k3b k3b added this to the 0.6.1 milestone Jul 14, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

3 participants