YAFLogo

justin.heath
11 years ago
Is it possible to modify the way post attachments handles .gifs? It would be really nice if instead of having a static preview image for these that the actual moving .gif show up in the attachments area (assuming the file isn't too large).

I assume this would need to happen in the YafResourceHandler, any thoughts would be greatly appreciated!

Sponsor
tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 🤴 YAF Version: 4.0.0 rc 2
11 years ago

Is it possible to modify the way post attachments handles .gifs?

No sorry, there is currently no library available that can handle that. The problem is that each frame needs to be resized, and that is not an easy job in .NET, this is not something that can be done with a few lines of code.

justin.heath
11 years ago
I guess my thought is approach gifs differently - don't provide an image preview, nor take it on yourself to essentially upscale the gif, but just present it as-is in the attachments area.