Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
8 replies
Subscribers
7 subscribers
Views
2772 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
General
Hello, I have one section which contains gridLayout and we are displa
tapans
over 7 years ago
Hello,
I have one section which contains gridLayout and we are displaying text/hyperlink/image in gridrows.
For image display, I am using imageField. My question is related to resolution (height & Width) of image. Is there any way so that I can get the image which is fit 100% to that grid layout? Any customization?
See attached screenshot for clarification.
My Current Code :
------------------------
a!imageField(
images : a!documentImage(
document : ri!Subset.Content,
caption : ri!Subset.Title
),
size : "LARGE"
)
OriginalPostID-214104
OriginalPostID-214104
Discussion posts and replies are publicly visible
0
sagarl511
A Score Level 2
over 7 years ago
@tapans - Did you try default size:"STANDARD".
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
tapans
over 7 years ago
Yes, but got the same result even with the smaller image.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
sagarl511
A Score Level 2
over 7 years ago
Is there a requirement to display the image in grid. As you can display the image directly in section in form. I think Standard works well when independently used.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Sidhant Behura
over 7 years ago
@tapans - I tried this scenario in both gridLayout and gridField and it seems like there is left and right padding for images. Would be interested to see if any one comes up with a hack to achieve this.
But as sagarl suggested you can display the image directly in a section if you do not have any compelling reason to display it in a gridLayout.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
tapans
over 7 years ago
Hello Sagar and Sidhant,
Thanks for your responses. We have requirement to display our data in grid only. Agreed with you both, but have given dynamicity, so user can choose text/image/document field and update into that section.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
sikhivahans
over 7 years ago
@tapans Hi, I don't think we can do much about this behavior. To the best of my knowledge, what we can only do is, configure a SAIL component and see how it works, and if it doesn't we need to plan for workaround(which is partially/almost close to the requirement) as the customisation or hack isn't possible in SAIL Design. Even though a hack is possible(as in case of file validation), I would suggest staying away from it, as it isn't recommended and might break in some cases, for instance, upgrade of Appian instance.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Sidhant Behura
over 7 years ago
@sikhivahans - Agreed !!....
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
tapans
over 7 years ago
Sure, that's right sikhivahans.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel