Image resizing!

I dont want to have an image the size of all the pageā€¦I just want a little image most of the timeā€¦
if we could resize it it would be beautiful and very useful

like in wiki where you can add ( [[20px]] or [[100px]] and the image adjusts to that.
please please !! its necessary

15 Likes

Maybe turn off the ā€œDisplay images inlineā€ option?

Also this is kind of funny ā€“ the images used to be a lot smaller (300px by 400px max), and we got multiple requests to make them larger.

They say you canā€™t make everyone happy :slight_smile:

2 Likes

I tried but that option shows the image the same, very largeā€¦ :cry:
I dont want to cause trouble to youā€¦ I just comment it, but dont worries

1 Like

Yes, the image size is the same.

Sorry I wasnā€™t more clear ā€“ I meant that if you donā€™t display it inline, the image wonā€™t show up unless you hover it, which would take less screen space, if thatā€™s what youā€™re concerned about.

It would be good to have a feature that letā€™s you specify the size for image when you have it inline (eg. 50% image size). Most of the time when images are pasted, they take over the screen, so end up having to use a photo editor to shrink image then paste in, which wastes a lot of time.

Also, currently you have option to have ALL images inline, or ALL images with hover feature. If thereā€™s a way to customise this, would be very helpful. Some images are better to have inline, whereas others are fine with a hover link.

3 Likes

yes please I completely forgot about this, what I would really like is markdown support using ![]() to make the image selection size myself

can we get pandoc markdown formatting for image sizes?

![](imgur.com/drawing.jpg){ width=50% } so I can set the width to be 50% of the total inline size on page? (in case the monitor size changes)

reference stackoverflow page: https://stackoverflow.com/questions/14675913/how-to-change-image-size-markdown

or an option to set a physical px size like 300px x 400px would be nice too

oh you know what would be even better? have the images really small but allow the user to click and expand image size

Reddit RES does it like so

Or maybe a javascript plugin like photoswipe http://photoswipe.com/, similar things used in lots of wordpress blogs too

example:

3 Likes

this is precisely why I manage all my image assets on my end :slight_smile:

I can have images INLINE or hovered over

see this post I made on it Workflow for adding picture / handwritten notes to dynalist

This is how I decide on whether an image should be INLINE or hovered over

  • If its my attempt to debug a problem / capture info for the sake of capturing it ā†’ hover over
  • If its a giant diagram / note I spent an hour writing capturing a process ā†’ inline
1 Like

Genius workaround on inline vs hover Vincent! Simple yet effective :blush: Thanks for sharing!

2 Likes

Please add this :smile: At least give images a max-width, so they wonā€™t overflow.

3 Likes

I have this set on my theme right now to 600px max width, it looks good on vertical and horizontal monitors

The code looks like this

/* Reduce Total Size of Markdown Images, use Imagus for full preview*/
.node-displayed-image {
    max-width: 600px;
    max-height: 600px;
}

It maintains image aspect ratio. So if you had a 900px (horizontal) x 1200px (vertical) image, it will be rescaled down to 450px x 600px.

If you had a 1200px X 100px image, it will be scaled down to 600px X 50px

I made my own theme and this is the one I run at the moment, I updated it every so often when I notice some UI / UX improvements

I currently set every image to be INLINE, I actually rarely use image hovering over anymore. Partially because Iā€™d rather just scroll through a page and see / grok everything at the same time

It works great with dynalist pro image uploader

https://userstyles.org/styles/144225/dynalist-simple-colors-for-default-theme

5 Likes

@Manuel: see @Vincent_Tangā€™s reply above, it might be helpful to you!

@Vincent_Tang thank you for the Stylish block to limit the size of images! That really helps.

@Erica How hard would it be for Dynalist to modify itā€™s Markdown parsing engine?

Thank you. I pasted that code into Dynalist Pro custom CSS box and it worked perfectly.

3 Likes

Yes! This would be brilliant.

I just want to say, as much as custom CSS via stylish or something is great, it does not solve the issue. I like to share my trees with 3rd party users instead of emailing them a document - in that case I need to have control over how the dynalist looks on their computer.

2 Likes

ā€‹Could you explain a bit more on what do you mean by ā€œmodifyā€? To accommodate syntax like [[20px]]?

@Erica Yes, exactly; seems like it would unblock several feature requests.

I agree with the original post. It would be fabulous to be able to specify the size of an image. If I copy an image from the web, Iā€™m stuck with whatever size it comes. Sure I can zoom out and take a screenshot (cropping it with the mouse) and paste the result, there are always workarounds, but thatā€™s just going to deter me from using images in Dynalist.

Currently my solution is to disable inline images, but if I could easily control the size of an image, Iā€™d re-enable inline images. Or if I could selectively enable inline images, Iā€™d choose which ones would display inline (and at what size).

I have Pro and limit the display size of images by pasting this in the Custom CSS Settings

.node-displayed-image {
    max-width: 100px;
    max-height: 100px;
}
2 Likes

You can run my userscript I made here

So you can resize every image as you want

Second, you can also use use imagus to hover and see the full image

Hereā€™s my CSS files I use for dynalist

3 Likes