Hook to allow manipulation of image data
authornischayn22 <nischayn22@gmail.com>
Wed, 7 Nov 2012 05:19:57 +0000 (10:49 +0530)
committerBrad Jorsch <bjorsch@wikimedia.org>
Sun, 23 Dec 2012 17:55:15 +0000 (12:55 -0500)
commitb207c900fa714dab3c09c4e14404224f0c0e430c
treea18000933cba7995b991eb03c2b73a25ac61dfc0
parent4c8816746ffc9d8baa647d8cbbf4295b40140f75
Hook to allow manipulation of image data

Adds a new hook, ThumbnailBeforeProduceHTML, to ThumbnailImage::toHtml
method, in order to permit the user to manipulate the image and link
attributes before the HTML is rendered. For details see bug 41835

Note: Patch given by Victor <vdanilchenko@vistaprint.net>

Change-Id: Ib94967997e1303522d0081c7387e29af9c0ef0f0
docs/hooks.txt
includes/media/MediaTransformOutput.php