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
[FeatureFromSF] Add photos to tags #805
Comments
Here is a preview of my draft work for this requested feature:
Thoughts ? I've added @mff73, @stvzldn, @Yannos60 because I know they are/were ST3.1 users and might have suggestions, critics.... |
I would love to have a way to designate a tag as having an "accumulation" property so the tag item could accumulate frequency or time or distance when attached to a tour. Then have a field in the tag structure displaying the property and its value. |
Not sure to understand the "accumulation" property. You mean displaying the total hours/miles used below the name ? |
Yes |
Ok, I will look into that. I think it should be possible |
How does that look for displaying the "accumulation" properties ? |
Very nice display |
This image is squeezed because as I said above |
mytourbook/bundles/net.tourbook.common/src/net/tourbook/common/widgets/ImageCanvas.java Lines 211 to 248 in 43ff8a2
|
So would it be best to store each image in MT's database with the original ratio and have an upper limit of 70pixels for either the width or height ? (for example 70x58 or 43x70 ?) |
I would not save any media resources in the tour database, only the absolute/relative path and other metadata when needed, like in When I would have to save media resouces in a database then I would use a separate database. |
What I don't understand is why you want to save/read images from the database and on the other site, about 900 icon images are already loaded from the file system?
I've not yet thought in details about this feature but are the tag images static images or can the user select the image from the file system? I know that creating program code with images can be very time consuming, it took me about one year to implement the photo feature in MT. You also have to take care about disposing images when they are not needed but the sleak tool https://www.eclipse.org/swt/tools.php can find the leaked images. |
Because what the users are asking is to display an image for each of their tags. Example: Bike, running shoe, backpack etc.....
This feature is actually not really complicated as it consists of displaying an image for each given tag. And indeed disposing each image was a TODO on my list of things for this feature |
For images which are used at several places in the app, e.g. graph image for elevation, it is difficult to dispose them, for these images there is an image registry |
With this feature being implemented, I would be able to track used hours and mileage of equipment, right? That's something, I'd be very interested in and have thought about within the last months. However, what I'm after is to track quite a few things, especially equipment/parts I'm swapping sometimes from ride to ride (wheel sets, front or rear wheel only, rims, ...) or equipment I'm using for a certain period of time (different chain rings whilst going for a cycling holiday in the Alps.) or just parts needing replacement at a certain time (brake pads and discs, chain, ...), If I think about it, it's a growing list containing almost every part of the bicycle. e.g. Just having had to a replace a broken front derailleur on the last holiday which I now having received back repaired from the manufacturer ready for a new life on the bike. |
You can already do that as of today, at least I have been since I first used MT back in 2016-2017. Unless I am misunderstanding something ?
That is a different scope than this feature request though. Can you create a separate feature request ? |
Actually, is that what you meant ? Personal/Mechanical performance and bike maintenance |
Feature implemented as below:
|
…fined in net.tourbook.ui.views.tourDataEditor.TourDataEditorView.STATE_TAG_IMAGE_SIZE_DEFAULT
Since I'm using tags for equipment (shoes, mostly, but also other gear), it would be cool to have a photo of the gear with the tag. I'm spoiled by this feature in ST3: nice to see the little icon for the device I'm looking for as well as the description.
Ideally, this photo would be tied in the tag from the "Edit tag" feature and would be able to display in views and selection of tags as well.
Reported by: gregoryx
Original Ticket: mytourbook/feature-requests/153
The text was updated successfully, but these errors were encountered: