Skip to content

Animated gif in News article transformed to still image #10285

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

Open
1 of 9 tasks
TGiersberg opened this issue May 22, 2025 · 2 comments
Open
1 of 9 tasks

Animated gif in News article transformed to still image #10285

TGiersberg opened this issue May 22, 2025 · 2 comments
Assignees
Labels
area:csom/rest/api Category: SharePoint Client Side Object Model SDK / REST API type:bug-confirmed Confirmed bug, not working as designed / expected. type:bug-suspected Suspected bug (not working as designed/expected). See “type:bug-confirmed” for confirmed bugs.

Comments

@TGiersberg
Copy link

Target SharePoint environment

SharePoint Online

What SharePoint development model, framework, SDK or API is this about?

SharePoint REST API

Developer environment

Windows

What browser(s) / client(s) have you tested

  • 💥 Internet Explorer
  • 💥 Microsoft Edge
  • 💥 Google Chrome
  • 💥 FireFox
  • 💥 Safari
  • mobile (iOS/iPadOS)
  • mobile (Android)
  • not applicable
  • other (enter in the "Additional environment details" area below)

Additional environment details

SharePoint Online News page

Describe the bug / error

The Bug

Animated GIF files set as set as thumbnail in page properties are rendered to still image (just the first frame). After publishing e. g. in see all news overview (but also in the news webpart) you see the still image instead of the animated one.

See screenshot, still image on the left, animated one on the right in page properties.
Image

my investigation

Looking at network traces I found calls to

GET https://boehringer.sharepoint.com/_api/v2.1/shares/<id>/driveItem/thumbnails/0/c400x99999/content
{
  "@odata.context": "https://boehringer.sharepoint.com/_api/v2.1/$metadata#oneDrive.thumbnail",
  "height": 99999,
  "url": "https://westeurope1-mediap.svc.ms/transform/thumbnail?provider=spo&inputFormat=gif&[redacted for readability]",
  "width": 400
}

westeurope1-mediap.svc.ms/transform/thumbnail seems to be some Microsoft service to generate the thumbnails - my hypothesis is that gif is not resized correctly from this service and instead a still image (first frame) is returned.

Steps to reproduce

  1. Create a new news page in SharePoint Online
  2. Set animated gif as thumbnail via page properties
  3. Publish
  4. View page in any aggregated view (e. g. the see all news view or the news webpart)

Expected behavior

GIF images should be resized to the thumbnail size and stay animated after resizing.
Alternatively, GIF images should be served as is, without any transformation applied.

Bonus points for updating documentation and letting the editor know GIF is not supported.

@TGiersberg TGiersberg added the type:bug-suspected Suspected bug (not working as designed/expected). See “type:bug-confirmed” for confirmed bugs. label May 22, 2025
@Amey-MSFT
Copy link

Helllo @TGiersberg,
Thank you for bringing this issue to our attention. We will look into it and get back to you shortly.

@Amey-MSFT Amey-MSFT self-assigned this May 23, 2025
@Amey-MSFT Amey-MSFT added the area:csom/rest/api Category: SharePoint Client Side Object Model SDK / REST API label May 23, 2025
@Amey-MSFT
Copy link

Hello @TGiersberg,
We were able to reproduce the issue, and we are investigating it. We have logged this as a bug, and our engineering team will look into it.
Thank you!

@Amey-MSFT Amey-MSFT added the type:bug-confirmed Confirmed bug, not working as designed / expected. label May 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:csom/rest/api Category: SharePoint Client Side Object Model SDK / REST API type:bug-confirmed Confirmed bug, not working as designed / expected. type:bug-suspected Suspected bug (not working as designed/expected). See “type:bug-confirmed” for confirmed bugs.
Projects
None yet
Development

No branches or pull requests

2 participants