Comments (9)
I'll try to work out a solution, if IR is causing it. The problem is probably related to the %20
, which is how browsers encode spaces in URLs. I suspect it isn't being unescaped.
I'll see what I can come up with.
from incremental-reading.
Ok so I have tried a couple things. First, I am screen shotting out of PDFs (I have had no trouble with this in other addons like image occlusion)
So I noticed if I had the PDF open on my browser that the URL would have the file name with 20%s in there so I thought maybe If i opened the PDFs on my computer and screen shotted from there i wouldn't have the same problem. But, It seems that the images are still dropping from the cards. A weird thing is that if its the first time viewing the IR card, the images will be there, but when I reschedule them the next time I see them they will be gone frequently.
Also for example today. I was reading an IR card and the image was there. I extracted part of the text for a cloze deletion and when I came back to the IR card the image had been replaced by a small blue question mark.
from incremental-reading.
Yeah, the images are there and as soon as I take a close deletion from the source IR card then they disappear
from incremental-reading.
from incremental-reading.
I don't think this is related to #17, but we will find out when I fix that one.
@pkbs121 Can you try the following:
- Open one of those problem cards for editing
- Click in the Text field
- Open the HTML editor (Ctrl+Shift+X)
- Replace each
%20
with a space - Close the editor
Does the image then display properly?
from incremental-reading.
Yes. If I go in and remove the %20 manually the images will come back. But theres a couple things. As seen below, its not always just %20 that is put in between the spaces (I dont know if this is relevant). Also, I went in manually and removed the %252520 listed below.. The images reappeared. Then I took a cloze deletion from the card and the images once again disappeared. Upon checking the HTML, the spaces had then been replaced by %20 as seen below in the second example.
Three patients were
not seen for follow-up 1 week later. Of </div><div><img src="Screen%252520Shot%2525202017-09-09%252520at%2525205.00.56%252520PM.png" /><img src="Screen%252520Shot%2525202017-09-09%252520at%2525205.01.04%252520PM.png" /></div><div>those 3 patients lost to follow-up, 2 of
them noted an immediate reduction in
pain greater than 2 points on the NPRS
postmanipulation.
Three patients were
not seen for follow-up 1 week later. Of </div><div><img src="Screen%20Shot%202017-09-09%20at%205.00.56%20PM.png" /><img src="Screen%20Shot%202017-09-09%20at%205.01.04%20PM.png" /></div><div>those 3 patients lost to follow-up, 2 of
them noted an immediate reduction in
pain greater than 2 points on the NPRS
postmanipulation.
from incremental-reading.
In the development code, I've made a change that should prevent this from happening. However, it won't affect existing cards - only new extracts.
Let me know if it solves the problem.
(If you aren't using Anki 2.1, I'll think about back-porting this change to the older version of the add-on.)
from incremental-reading.
Ok so the file names are no longer being altered but heres whats happening. The images will be there, I make a cloze deletion and they disappear. I open up the HTML and all the image file names are correct. If I do not change anything and simply close the HTML editor, the images will once again reappear.
Also, I updated to anki 2.1, but now there is no options button for IR and when I try to view the card organizer it is just blank.
from incremental-reading.
I'm really not sure if this is some weirdness with the toolkit or not. I'll keep working on it, but I'm a little stumped by it at the moment.
from incremental-reading.
Related Issues (20)
- Can't use highlight,extract and so on in other kinds of cards HOT 1
- Error message
- Extracting clozes does not forward the highlighted text HOT 2
- Pocket doesn't seem to import articles
- After installing and restarting Anki, plug-in crashes HOT 1
- Autogenerated Hyperlinks not working - also spacing question
- Clash with image occlusion
- Problems with highlighting and text deletion HOT 1
- alt codes conflicting HOT 1
- Issue with making Cards from an article HOT 2
- Invalid HTML on card: SecurityError: Failed to execute 'insertRule' on 'CSSStyleSheet': Cannot access StyleSheet to insertRule HOT 6
- Caught exception: Traceback (most recent call last): HOT 2
- Pressing up, down, pageUp and pageDown arrows cause an error HOT 2
- ้่ฏฏerror HOT 1
- 'Show Answer' leads to error HOT 6
- Python 3.9 compatibilty issue : AttributeError: module 'base64' has no attribute 'decodestring'
- Hello, will there be a new version of this addon? HOT 3
- Reading queue stuck while trying open a pdf file HOT 2
- Plugin crashes on OSX during on boot-- fresh install HOT 1
- Rename a few options HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from incremental-reading.