Welcome, Guest
Username: Password: Remember me

TOPIC: v2.9 | File | Uploads | Images

v2.9 | File | Uploads | Images 27 Jun 2016 10:32 #14094

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3701
  • Thank you received: 972
  • Karma: 140
Code improvement : Images, Files and Upload Classes

The php classes managing the files has been entirely rewritten.
It is now clean and consistent !
Now, only one helper file is handling all the work for upload, thumbs, :
HelperFile : (helpers/file.php)

The following files has been removed :

Has been renamed in a helper, because it is a static class, so its place is in the helpers.

Has been merged inside HelperFile. It still does the same job with few improvements at the level of the caller.

Has been totally removed and the work is left to the JImage native class of Joomla!
We don't need anymore with the actual version of Joomla!

Has been removed because it was an empty class file.

A new important function appeared in the item controller:
It manages the uploader call, manages the file / thumbs deletions and update the image value field in the database in only one static call.

CHECK YOUR FORKS if you have modified the deprecated classes.
(or build in Legacy 2.8.7)

Follow this short guide :
Coding is now a piece of cake
Last Edit: 27 Jun 2016 10:34 by admin.
The administrator has disabled public write access.
Time to create page: 0.065 seconds

Get Started