mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #09824
[Bug 1032455] [NEW] Move resize on upload to base method ArtefactTypeFile::sav e_uploaded_file
Public bug reported:
Bug #717184 implements a very cool new feature whereby images can be
automatically resized on upload (if the user enables the config
setting).
This functionality has been implemented in the view and not the model.
That is the resize is performed in the function
pieform_element_filebrowser_upload) and not in the base file artefact
class (i.e. ArtefactTypeFile::save_uploaded_file method).
If a user has enabled image resizing then
ArtefactTypeFile::save_uploaded_file should resize the image on save
automatically. The biggest culprit to uploading oversized images may be
mobile devices (as the mobile user often lacks the control to resize the
content on the device)
It woul dbe great to move the resize functionality to the
ArtefactTypeFile::save_uploaded_file method.
** Affects: mahara
Importance: Wishlist
Status: New
** Tags: fileupload mobile
--
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
https://bugs.launchpad.net/bugs/1032455
Title:
Move resize on upload to base method ArtefactTypeFile::sav
e_uploaded_file
Status in Mahara ePortfolio:
New
Bug description:
Bug #717184 implements a very cool new feature whereby images can be
automatically resized on upload (if the user enables the config
setting).
This functionality has been implemented in the view and not the model.
That is the resize is performed in the function
pieform_element_filebrowser_upload) and not in the base file artefact
class (i.e. ArtefactTypeFile::save_uploaded_file method).
If a user has enabled image resizing then
ArtefactTypeFile::save_uploaded_file should resize the image on save
automatically. The biggest culprit to uploading oversized images may
be mobile devices (as the mobile user often lacks the control to
resize the content on the device)
It woul dbe great to move the resize functionality to the
ArtefactTypeFile::save_uploaded_file method.
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1032455/+subscriptions
Follow ups
References