-
-
Notifications
You must be signed in to change notification settings - Fork 85
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
Enhancement: Inserting an image need to have a better UX #428
Comments
Okay... Now that I see that I must click the "ellipsis" button, I see that it does insert the Expected:
Got:
|
I might suggest a better UI to make that more obvious. Not everyone is going to take the time to read the docs thoroughly. The UI should make the UX as "simple" as possible. |
@lorezyra I agree, think that there are other places where our UX can be enhanced. Hopefully we'll get someone on board that can pick up this task and comes with new approaches. About your image and it's path. Are you using page bundles? A folder per blog post? If not, how do you structure your content? |
That, or have a big "button" on the preview when user inevitably clicks on the image/video. |
I'm not using page bundles exactly... However, the folder structure of my site is more like this:
Basically, the page and the article's assets (images, files, video, etc.) are kept with the same name. For example:
NOTE: I'm thinking to change the URI scheme to drop the implied date. So, this will likely change the URL pattern, but the folder structure will remain the same (on my MacBookPro). |
That is an interesting structure. Typically a SSG uses page bundles where a folder includes the markdown file and related images. For example:
Is this something specific to Hexo or your setup? In FM, it can:
If it is not 1 or 2, it will take the relative path from the project, which happened in your case. If this is specific to Hexo, we'll have to bring better support for it. One thing I can think about is making the images relative to the |
This is a HEXO feature. https://hexo.io/docs/asset-folders defines it better. I have the post_asset_folder: true
marked:
prependRoot: true
postAsset: true |
Ok, so for HEXO, once defined as a framework for FM, we'll check the Thanks! I think with this information we can make it happen. I'll create a separate issue for this. |
I almost wished that FM could read my |
That would be the ultimate goal but would require a lot of work to align with all SSGs. Hopefully at some point we can have this. |
Describe the bug
Can't add photo from Media to post. Media opens and I'm able to navigate to the image, but after clicking the image, the FM panel says: Continue in the media dashboard to select the image you want to insert...
I don't see an insert button. Nor does selecting the image do anything other than display a larger version of the image.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Image should have been inserted to the post's frontmatter
Screenshots
From post, add image:
Attempt to select image to insert:
Insert fails. Only see larger preview:
Desktop (please complete the following information):
Additional context
Config file
.frontmatter.json
:The text was updated successfully, but these errors were encountered: