Conpherence - add crop
Summary: mainly, this adds the image cropper - yay! - also removes the file image from the handle stuff I added in V1. now we do all this crazy photo stuff. Test Plan: - uploaded a photo by dragging to header and noted 120 x 80 showed up on reload - uploaded a photo by dragging to edit dialogue spot and noted 120 x 80 showed up on reload - cropped a photo - noted it cropped right - cropped a photo again and again and again - seems like it crops okay Reviewers: epriestley, chad Reviewed By: epriestley CC: aran, Korvin Maniphest Tasks: T2418, T2399 Differential Revision: https://secure.phabricator.com/D4790
This commit is contained in:
6
resources/sql/patches/20130131.conpherencepics.sql
Normal file
6
resources/sql/patches/20130131.conpherencepics.sql
Normal file
@@ -0,0 +1,6 @@
|
||||
ALTER TABLE {$NAMESPACE}_conpherence.conpherence_thread
|
||||
DROP imagePHID,
|
||||
ADD imagePHIDs LONGTEXT COLLATE utf8_bin NOT NULL AFTER title;
|
||||
|
||||
UPDATE {$NAMESPACE}_conpherence.conpherence_thread
|
||||
SET imagePHIDs = '{}' WHERE imagePHIDs = '';
|
||||
Reference in New Issue
Block a user