Peter Bienstman wrote: > On Thursday 17 September 2009 03:29:01 pm Dougie Nisbet wrote: > > >> This is the only feature I could really do with in 2.x that would be >> handy right now or would appreciate knowing a work-around. One >> work-around I was going to explore (I'm still new to mnemosyne) was >> perhaps writing a script to grep and sed the cards and whenever there's >> an IMG SRC tag edit it so that there's a WIDTH= element added. That way >> I could easily parse the whole database to modify the image dimensions >> for all the jpegs. Does that sound feasible? >> > > You could do it this way, but there is an even "better" way, which is just to > write a 1.x filter plugin which does this WIDTH inserting at run time each > time > the card is shown. > > Peter > I've been looking at the website trying to find some information about writing plug-ins. I can see the ones available for download and found the page about contributing. I'd have to learn a bit of Python I guess? I think the learning curve would be too steep for a one-off script.
Dougie --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "mnemosyne-proj-users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/mnemosyne-proj-users?hl=en -~----------~----~----~----~------~----~------~--~---
