mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #19830
[Bug 1349091] Re: Display a Google Drive image
Hmm, the problem with this is there will need to be multiple filters in
different places.
If using tinymce the add image form will need to change the url on the fly so that it displays correctly in tinymce.
If using the tinymce edit source function then it will need to change the file on fly when switching back.
If just adding the url to a non tinymce field then it needs to updated
on submit to form submission (and possibly alert if problem).
So it is a good idea but will need some work to get it going.
Cheers
Robert
--
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1349091
Title:
Display a Google Drive image
Status in Mahara ePortfolio:
Confirmed
Bug description:
An image uploaded to Google Drive cannot be displayed directly on a
page because the way Google's URLs are constructed. If you wanted to
display an image in a text box or journal post or forum post etc.,
you'd need to change the Google URL.
See http://googlesystem.blogspot.com/2013/02/permalinks-for-google-
drive-images.html
This could probably be achieved by writing a filter in Mahara so that
users could just take the Google image URL as it is and paste that and
Mahara transforms it into the one required to actually display it.
The same should be checked if it could be made to work for videos.
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1349091/+subscriptions
References