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

Image Gallery support for local image #2899

Closed
noklam opened this issue Feb 24, 2019 · 16 comments
Closed

Image Gallery support for local image #2899

noklam opened this issue Feb 24, 2019 · 16 comments
Labels
bug 🐛 Issue concerns a bug. rewarded on issuehunt 🎁 Issue has been resolved and a contributor has been rewarded.

Comments

@noklam
Copy link

noklam commented Feb 24, 2019

Issuehunt badges

Current behavior

image
Currently the image gallery only support images with https URL, however the native URL for Boostnote (:storage/xxx/xxx) does not work.

The only way to get it works for now is to use absolute path like file explorer
image

Related Issue: #2465

Expected behavior

The expected behavior should be :storage style relative path should be work for Image Gallery

Steps to reproduce

Environment

  • Version :
  • OS Version and name :
    Window 10
    Boostnote 0.11.15

IssueHunt Summary

daiyam daiyam has been rewarded.

Backers (Total: $30.00)

Submitted pull Requests


Tips


IssueHunt has been backed by the following sponsors. Become a sponsor

@noklam
Copy link
Author

noklam commented Feb 24, 2019

@daiyam Thanks for building this image gallery function, this is awesome. It would be great if it works for normal boostnote style URL. Otherwise the image URL could be easily broken when photos are moving around.

@daiyam
Copy link
Contributor

daiyam commented Feb 24, 2019

@noklam the issue seems to be with windows style URL :storage\xxx\xxx instead of :storage/xxx/xxx.

@noklam
Copy link
Author

noklam commented Feb 24, 2019

@daiyam You are correct. the back slash "" works fine though if it is a classic image
image

@ZeroX-DG
Copy link
Member

Same problem as #2834

@ZeroX-DG ZeroX-DG added the bug 🐛 Issue concerns a bug. label Feb 27, 2019
@noklam
Copy link
Author

noklam commented Feb 28, 2019

@ZeroX-DG I am not sure if they are the same problem. As noted I am using Boostnote 0.11.15 which include the bug fix from your reference issue already.

#2834 shows local images issue with "/" and "". As shown in my previous comment, "/" and "" works perfectly fine with local image, it only fails for Gallery. They are probably a related issue, but Gallery is quite a new feature so maybe the last fix #2834 did not take care of Gallery?
If possible please re-open this issue.

@noklam
Copy link
Author

noklam commented Mar 2, 2019

@ZeroX-DG Also please notice the 2nd image of the issue, even with "" the image render correctly if I use full path instead of :storage, I am using 0.11.15 already so this is a bug that have not been fixed.

@ZeroX-DG ZeroX-DG reopened this Mar 2, 2019
@daiyam
Copy link
Contributor

daiyam commented Mar 2, 2019

@noklam I will try to make a fix this week-end

@noklam
Copy link
Author

noklam commented Mar 2, 2019

@daiyam Great, thank you! I just start to learn electron today, looking forward to seeing your fix. 😀

@issuehunt-oss issuehunt-oss bot added the funded on issuehunt 💵 Issue has received funding that will be rewarded to the contributor solving this issue. label May 23, 2019
@IssueHuntBot
Copy link

@BoostIO has funded $30.00 to this issue.


@daiyam
Copy link
Contributor

daiyam commented May 23, 2019

Sorry about the delay, I've forgotten to do the fix...

@noklam
Copy link
Author

noklam commented Jul 19, 2019

@daiyam looks like there is a fix implemented? Will this fix be merged soon?

@daiyam
Copy link
Contributor

daiyam commented Jul 19, 2019

@noklam sorry, I have no idea...

@Flexo013
Copy link
Contributor

I have contacted Rokt33r about the PR containing the fix. With this I expect the fix to merged in the next few days. That also means that it will be part of the next release, which should be within a week.

@daiyam
Copy link
Contributor

daiyam commented Jul 19, 2019

@Flexo013 great! thx

@Flexo013
Copy link
Contributor

This is fixed in the 0.12.0 release that you can download now! Thanks to #3027.

@issuehunt-oss
Copy link

issuehunt-oss bot commented Jul 25, 2019

@Rokt33r has rewarded $27.00 to @daiyam. See it on IssueHunt

  • 💰 Total deposit: $30.00
  • 🎉 Repository reward(0%): $0.00
  • 🔧 Service fee(10%): $3.00

@issuehunt-oss issuehunt-oss bot added rewarded on issuehunt 🎁 Issue has been resolved and a contributor has been rewarded. and removed funded on issuehunt 💵 Issue has received funding that will be rewarded to the contributor solving this issue. labels Jul 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Issue concerns a bug. rewarded on issuehunt 🎁 Issue has been resolved and a contributor has been rewarded.
Projects
None yet
Development

No branches or pull requests

5 participants