Posted by: justin.heath - Thursday, 24 October 2013 23:16:54 |
---|
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! |
Posted by: tha_watcha - Friday, 25 October 2013 05:45:50 |
---|
[quote]Is it possible to modify the way post attachments handles .gifs? [/quote] 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. |
Posted by: justin.heath - Friday, 25 October 2013 18:22:10 |
---|
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. |