Heimer icon indicating copy to clipboard operation
Heimer copied to clipboard

Add image preview in boxes, and copy-pasting images into individual thoughts

Open creikey opened this issue 5 years ago • 7 comments

E.x: image

creikey avatar Dec 03 '20 20:12 creikey

Hi,

Currently you can attach images by right-clicking on the node and choosing "Attach image". It's a bit different as it currently show the attached image as a background image that is resized based on the node size.

Could you explain a bit what you mean by "copy-pasting images into individual thoughts" :)

juzzlin avatar Dec 22 '20 06:12 juzzlin

@juzzlin I would like to associate each message with an image by pasting images from google or screenshot capturing programs. Setting an image as the background of a node does not provide enough space to see the image, while also making the text harder to read.

creikey avatar Dec 23 '20 09:12 creikey

Ok, right. Maybe that could indeed be improved.

juzzlin avatar Dec 23 '20 09:12 juzzlin

How about adding a new node type instead? Image node, without possibility to add text to it, just displaying image. I believe this would be more in the spirit of mind maps and more intuitive.

Things that would need to be added:

  • Node types (?), possibly related to #81 if submaps are going to be another node type.
  • Image nodes, connecting them with normal nodes.
  • Menu button to load image + shortcut. After loading image, automatically create an image node, with size exact to that of the image resolution.
  • Node handle/button to resize the node (while keeping the ratio of width/height).
  • Node menu button (right-click menu) to reset image to its original size.

Buttons to change background/text color are not needed.

Edit: Should I post this as another issue?

Edit2: What about storing images?I'm not sure if they should be stored just as file paths or more portably in a project folder/file. There could be a setting for it too. To implement copy-pasting from screen capturing programs/google, project storage would be needed.

l3td33r avatar Mar 14 '21 12:03 l3td33r

Currently the attached images are being embedded in the .ALZ file, so that part already works.

juzzlin avatar Oct 25 '21 08:10 juzzlin

I'm starting to like the idea of special image etc nodes. It could also work so that double-clicking on the image node would open a bigger image viewer.

juzzlin avatar Oct 25 '21 11:10 juzzlin

I'm starting to like the idea of special image etc nodes. It could also work so that double-clicking on the image node would open a bigger image viewer.

Yeah, another useful special node type would be "Reference node" that displays the contents of another node (text+image) and updates itself whenever the referenced node is updated. To differentiate it from other nodes, its color can be different, for example 50% transparency. Another special property: click on a reference move to move screen to its source node.

It would be useful for large mind maps when I want to relate nodes in different parts of the map to the same "category" or similar. I can't link them all to one place because the distances are too great and it starts lagging, and also because it isn't easily visible as connected to these nodes. I just create multiple instances of the same node right now which is a waste, especially if I ever need to modify it.

But that's for another issue I suppose. I'm going to merge these ideas into a new one. Edit: #182

l3td33r avatar Oct 29 '21 22:10 l3td33r