Yes, this is what happens. To use a concrete example: the card shows up as 
blank, but has an image HTML tag of  <img 
src="images/Sovereign-state_flags/200px-Flag_of_Armenia.png”>. If I edit the 
card to remove leading folders and just provide the filename, the image still 
fails to load. When I press cmd-I and go to the default.db_media folder, I can 
find a folder named images, containing a folder than Sovereign-state_flags, 
containing an image titled "200px-Flag_of_Armenia.png”. After inserting this 
image, suddenly the card displays two copies of the image (if I have removed 
the directory path from the original image beforehand). If, after inserting the 
duplicate image, I undo the edits until I reach the previous state of the card, 
it will now correctly display the first image, despite the text of the card 
being unchanged from a version which didn’t show anything.

I’m trying to figure out if I can make this “refresh” process happen 
automatically, and have the images load up without needing to reinsert them 
individually.
On Jul 27, 2019, 12:31 AM -0400, Peter Bienstman <peter.bienst...@ugent.be>, 
wrote:
> Hi,
>
> The way images work is that an image  listed as foo.png on a card should be 
> located in default.db_media inside Mnemosyne's data directory.
>
> Cheers,
>
> Peter
>
>
> From: grahamsnumberis...@gmail.com
> Sent: Saturday, 27 July 2019 01:34
> To: mnemosyne-proj-users
> Subject: Re: [mnemosyne-proj-users] Something wrong with the database? / 
> browse cards causes a crash
>
> Thanks, this worked! It seems to have erased all the images, though. They're 
> still there - cmd-I and some file-scrolling lets me track them down again, 
> sometimes with a slightly different filepath - but I'd rather not do this for 
> the ~700 cards I have with images on them.
>
> Is there a way to refresh each card so it knows to render the images again? 
> Editing, previewing, and exiting doesn't do anything, but after inserting a 
> new image with the same filepath, the old text will start working.
>
> --
> You received this message because you are subscribed to the Google Groups 
> "mnemosyne-proj-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to mnemosyne-proj-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/mnemosyne-proj-users/51979c22-0550-44e0-a5bb-8e132de9f012%40googlegroups.com.
> --
> You received this message because you are subscribed to a topic in the Google 
> Groups "mnemosyne-proj-users" group.
> To unsubscribe from this topic, visit 
> https://groups.google.com/d/topic/mnemosyne-proj-users/TQvrUXfqIAs/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to 
> mnemosyne-proj-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/mnemosyne-proj-users/8ca415ab-af8a-482e-a044-d5bcc64f5001%40owa.ugent.be.

-- 
You received this message because you are subscribed to the Google Groups 
"mnemosyne-proj-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to mnemosyne-proj-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mnemosyne-proj-users/1099951f-da0a-4295-9dbd-3b8ad7f5c166%40Spark.

Reply via email to