as the title mentions,gif animations arent playing when i set them as my avatar,just one of the frames is set as my avatar.i have tried multiple gifs,and yes all of them were 100x100 in dimension.whats the problem??:no2:
but it says 100x100 or smaller then 19.5 kb(well,actually on the edit avatar page,it says 48.8 kb?),whichever is smaller....my gifs are definitely bigger then 19.5 kb,but they fit the dimension criteria,plus my avatar right now is one of the frames of the gif i uploaded,so i suppose i do fit the bill,just that the gif aint working.Size could be an issue. It needs to be under 19.5 KB.
What are you using to resize it? Most image resizers do not retain gif animation.but to be sure i reduced the it to 100x100 agian and uploaded
// ==UserScript==
// @name TE Image Fix
// @namespace http://facebook.com/challapradyumna
// @version 0.1
// @description Some Fixes
// @include http://www.techenclave.com/community/*
// @include http://techenclave.com/community/*
// @match http://*/*
// @copyright 2013, Challa Pradyumna
// ==/UserScript==
function addJQuery(callback) {
var script = document.createElement("script");
script.setAttribute("src", "http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js");
script.addEventListener('load', function() {
var script = document.createElement("script");
script.textContent = "(" + callback.toString() + ")();";
document.body.appendChild(script);
}, false);
document.body.appendChild(script);
}
// the guts of this userscript
function main() {
$(".img.m").each(function(){ style = $(this).attr("style"); style = style.replace("/m","/l");$(this).attr("style",style+";background-size:96px 96px;"); });
}
// load jQuery and execute the main function
addJQuery(main);