As far as I’m aware, none of Anki’s developers use Anki on a Chromebook, so you’re in uncharted waters. Until a motivated person comes along and contributes fixes, the situation is unlikely to change.
Can you drag the image into the field?
crap that’s not good for me.
… nor all those chromebook users:
" In 2021, full-year Chromebook shipments reached 37 million units
Chromebooks’ market share is expected to rise from 10.5 percent in 2019 to 14,9 percent in 2020 , according to Strategy Analytics research. The rise in Chromebook sales is largely attributable to the epidemic and the growing demand for devices that allow for remote work.20 Dec 2021".
I did manage to find the location of that media folder where anki keeps all its pictures and add a quick link to it in the Anki pop-up pane; tried to do the same to the chromebook’s “File app” - but unsuccesfully (it moves the folder out of where anki counts upon finding it):
so the workaround is quite laborious:
- take a screenshot
- Open the chromebook’s “File app” 2 times and have 1 open in the “Recent (screenshots) folder”, and the other one use the “find” to locate the collection.media folder (and not forget that is the name of the folder)
- then it is possible to drag from the “File app 1” to the “File App 2”
- Then go to Anki; click the add photo button and navigate to the collection.media folder and find the screenshot I dropped in …
Ideally it would be supported, particularly given its importance in the education space, but as Damien said that requires someone who owns one to do the work to make it happen. While Chromebooks might be getting more popular, I doubt there are many developers buying them. It’s also worth noting that Chrome OS support for desktop applications has been fleeting since Google aims for everything to be in the browser.
@dae out of curiosity, do you know what scale of difficulty would be involved in adding ChromeOS to the TravisCI automated tests? From a brief search it doesn’t seem well supported, which I suppose is another reason not to support Chromebooks.
I’m not very optimistic about ChromeOS’s long term future - I suspect Google will sunset it in favour of Fuchsia before it reaches significant marketshare. And the OS was primarily intended for webapps anyway.
I don’t think a CI setup would bring much value; the issues here are mainly on the frontend, caused by its security/sandboxing setup.
The work around I use is to save my screenshots into anki’s media directory. You can change where your screenshots default save directory by clicking the settings icon and placing the default folder to:
Play Files > AnkiDroid > collection.media
If you cannot find AnkiDroid enable:
Show all Play folder on the top right triple dot drop down menu of the file application
I save mine in a separate folder, then rename the screenshot and just use this line
<img src = “folder_name/screenshot_name.png”
end with . >
if you don’t use another folder inside collection.media just use
<img src = “screenshot_name.png”
end with . >
Hope this helps