This is an old revision of the document!


Technical changes in Piwigo 2.4

This page lists the technical changes that may be useful for plugin and theme developpers to make their extension compatible with Piwigo 2.4.

replace $conf['local_data_dir'] with $conf['data_location']

Derivatives

Database

Core functions

get_thumbnail_location - removed get_thumbnail_path - removed get_thumbnail_url - deprecated (it will not be there in 2.5) - use Derivative_Image::thumb_url get_high_location, get_high_path, get_high_url - removed get_image_location - removed get_image_path - removed - use ( new SrcImage($infos) )→get_path() get_image_url - removed - use ( new SrcImage($infos) )→get_url()

Triggers

Removed

get_thumbnail_location, get_thumbnail_url

Added

get_mimetype_location (replaces get_thumbnail_location)

 
Back to top
dev/changes_in_2.4.1325174819.txt.gz · Last modified: 2011/12/29 16:06 by rvelices
 
 
github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact