Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Column Formatting - file-thumbnail #159

Closed
1 of 3 tasks
tecchan1107 opened this issue Jun 16, 2019 · 5 comments
Closed
1 of 3 tasks

Column Formatting - file-thumbnail #159

tecchan1107 opened this issue Jun 16, 2019 · 5 comments
Assignees

Comments

@tecchan1107
Copy link
Collaborator

tecchan1107 commented Jun 16, 2019

Category

  • Question
  • Bug
  • Enhancement

I tried file-thumbnail. But I couldn't display thumbnails.

file-thumbnail

{
	"$schema": "https://developer.microsoft.com/json-schemas/sp/column-formatting.schema.json",
	"elmType": "img",
	"attributes": {
		"src": "@thumbnail.medium"
	},
	"style": {
		"display": "block",
		"margin": "0 auto",
		"max-height": "42px"
	}
}
@thechriskent
Copy link
Contributor

Very sorry to hear that! A few additional questions for you:

  • Are you still experiencing this issue?
  • Are you part of targeted release (either as a user or a tenant)?
  • Do you get any errors in the console when applying this format?
  • If you change your format to the below do you see any errors within the rows themselves?
{
	"$schema": "https://developer.microsoft.com/json-schemas/sp/column-formatting.schema.json",
	"elmType": "img",
       "debugMode": "true",
	"attributes": {
		"src": "@thumbnail.medium"
	},
	"style": {
		"display": "block",
		"margin": "0 auto",
		"max-height": "42px"
	}
}

@thechriskent thechriskent self-assigned this Jun 21, 2019
@siddharth-vaghasia
Copy link
Contributor

@thechriskent .... I am also facing same issue, thumbnails are not displaying...is this feature not available for standard release yet?
Regarding your question "Are you part of targeted release (either as a user or a tenant)?"
I just changed Targeted release for everyone - how much time does it take to effect?

@tecchan1107
Copy link
Collaborator Author

@thechriskent Thank you for the reply.

  • Are you still experiencing this issue?

That is still continuing presently.

  • Are you part of targeted release (either as a user or a tenant)?

No. Standard release.

  • Do you get any errors in the console when applying this format?

There are no errors.

  • If you change your format to the below do you see any errors within the rows themselves?

The following error messages are displayed on console.
“aria- Tag not found. Therefore, screen readers can not access the field.“

@siddharth-vaghasia
Copy link
Contributor

@tecchan1107 @thechriskent .....It started to work for me today ..I guess it is because I changed 'Targeted release for everyone' from 'andard release.' So mostly reason is that feature is yet being rolled out to tenants in phases....

@tecchan1107
Copy link
Collaborator Author

@thechriskent When I also changed 'Targeted release for everyone' from 'Sandard release', I could display Thumnail.
Thank you!!
コメント 2019-06-22 194146

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants