Are you responsible for making OCS work -- installing, upgrading, migrating or troubleshooting? Do you think you've found a bug? Post in this forum.
Moderators: jmacgreg, michael, John
The Public Knowledge Project Support Forum is moving to http://forum.pkp.sfu.ca
This forum will be maintained permanently as an archived historical resource, but all new questions should be added to the new forum. Questions will no longer be monitored on this old forum after March 30, 2015.
We have participants who are not as web savvy as some of us using OCS are and therefore they find it very difficult to upload their images especially converting it to 150 x 150 pixels.
Is there a way to (a) increase the size limit lets say based on MBs rather than pixels and (b) add a plugin which converts this somewhat large image to regular size?
- Posts: 14
- Joined: Wed Nov 02, 2011 3:10 am
Unfortunately there is currently no additional plugin that does what you want. If you have developers on hand, we're happy to provide some tips as to where to look in the code to start implementing that kind of functionality; and if there is interest in the community for this kind of feature, we're happy to add it as a feature request for future inclusion.
- Posts: 4191
- Joined: Tue Feb 14, 2006 10:50 am
just to add on to what James has mentioned. The specifics of allowing an upload based on file size and then performing a resize is not difficult to code, but doing it outside of a plugin would add extra requirements to the PHP configuration in order for this functionality to occur. The imaging processing functions provided by PHP are not enabled by default, and the specifics of which image formats to allow for processing also depend on PHP being configured a certain way.
A plugin would be nice, although, OTOH, there are currently no hooks in that part of the code to make plugin integration at that point easy. Definitely worth future consideration though.
- Site Admin
- Posts: 910
- Joined: Tue Jan 10, 2006 6:20 am
Return to OCS Technical Support
Who is online
Users browsing this forum: No registered users and 1 guest