[#SOC-1572] properly resize the icon for a space, and profile

advertisement
[SOC-1572] properly resize the icon for a space, and profile Created: 07/Mar/11
Updated:
08/Sep/15 Resolved: 26/Dec/12
Status:
Project:
Component/s:
Affects
Version/s:
Fix Version/s:
Closed
eXo Social
Spaces
social-1.2.10
Type:
Reporter:
Resolution:
Labels:
Remaining
Estimate:
Time Spent:
Original
Estimate:
Feedback
jeremi joslin (Inactive)
Fixed
UXP, sprint-2012-31
7 hours
Attachments:
home-space-plf-3.5.6-sn.png
social - SpaceSettingPortlet.jpg
Issue Links:
Cloners
clones
Fixed by
Related
is related to
social-1.2.x, social-1.2.12
Priority:
Assignee:
Votes:
Major
Vi Quoc Hanh (Inactive)
0
1 day, 1 hour
2 days
profile-picture-ok-plf-3.5.6-sn.png
SOC-854 properly resize the icon for a space,... Resolved
SOC-5065 Avatar size modified in the user
Closed
prof...
Support Backport
is backported by SOC-2745 [Avatar] Support resizablility of upl... Resolved
Similar issues:
Show 10 results
SOC-854 properly resize the icon for a space, and profile
SOC-4745 [User Profile] Recent Activities - wrong task icon
SOC-967 [space] lost Revoke icon on pending space list
SOC-1119 [space] lost Revoke icon on pending space list
SOC-483 Working with JCR Session Manager in profile and space.
SOC-579 Error is occured when space have no longer in proper status
for requesting to join
SOC-3401 Icon of applications in spaces are not correct
SOC-214 [space] Create more icons for manage space
SOC-2012 Space Navigation does not work properly
SOC-4820 [Space's action icon] Height of Space icons should be
consistent.
BV:
Support Status:
Date of First
Response:
Git Pull Request:
Sprint:
70
Fixed in Product
20/Feb/12 4:46 AM
https://github.com/exoplatform/social/pull/78
Sprint Social 31, Sprint Social 33
Description
the icon of a space is forced to be a square. Instead, it should be resized properly, keeping the
ratio.
The icon for profile must be kept the origin ratio, too.
Comments
Comment by Patrice Lamarque [ 08/May/12 ]
croping gets repeatidly requested by users.
Comment by Alain Defrance [ 09/May/12 ]
Do we need to have croping in social 1.2.x ?
Comment by Vi Quoc Hanh (Inactive) [ 02/Aug/12 ]
For social 1.2.x we just fix issue that relate to wrong ratio problem of uploaded image. Cropping
issue will be implemented in 4.0 (issue ).
Comment by Vi Quoc Hanh (Inactive) [ 02/Aug/12 ]
Actually the ratio is kept images are resized at server side. In case of images with the width and
height are equal (ratio = 1) then everything is ok. Otherwise problem comes out cause the size
of boxes on UI is fixed with both width and height so lead to the wrong in displaying images.
Two proposed solutions:
1. Keep all things as same as now and will be improved later.
2. Process at server to cut images and output with images that have the same size width and
height
WDYT?
Comment by Vi Quoc Hanh (Inactive) [ 06/Aug/12 ]
Solution with PR 78 is with uploaded image that have different size of width and height then
after resize it will be cropped to make width and height have the same size.
Comment by Alain Defrance [ 20/Dec/12 ]
PL Validation : PR 78 approved
Comment by CI Server [ 26/Dec/12 ]
Integrated in social-1.2.x-ci #909
Properly resize the icon for a space, and profile. (Revision
8dfc90094ba1ee9e39d0ca4c7f9b7ed17a4ba395)
Result = SUCCESS
ngoctm :
Files :

component/core/src/main/java/org/exoplatform/social/core/image/ImageUtils.java
Comment by Thao Thi Huong Pham (Inactive) [ 27/Dec/12 ]
Tested on PLF 3.5.6-Build 20121226-OK
Generated at Wed Feb 10 08:36:50 CET 2016 using JIRA 6.4.3#64018sha1:4550402edfb8d00732a4a440927cfd80056f4d0d.
Download