Forum Feedback gif not working as avatar?

Status
Not open for further replies.

madara_uchiha

Inactive
Explorer
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:
 
Size could be an issue. It needs to be under 19.5 KB.
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.

attaching the gif....
dean-rave.jpg

well thats odd,wht m i doing wrong?
 
Its 150px in width and its a JPG (at least in the attachment that got posted here)

150px GIF will not work as avatar
 
i think the gif i uploaded was already 100x100,but to be sure i reduced the it to 100x100 agian and uploaded ,and as you can see it still doesnt work @manu1991 how did you get that gif to work?i saved your gif and used it too,but same results.
 
Last edited by a moderator:
gifs are not working for me either...just stuck on the first frame(they have been resized and they work on my PC image viewer but not here...they work on other forums too),
 
Actually the problem is that thumbnails are stored in a folder /m and the original gif's are stored in a folder called /l . The below script changes that . It works with Tampermonkey (Chrome) most probably will work with Greasemonkey(firefox).
Code:
// ==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);
 
Status
Not open for further replies.