Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Help with a GIF image

  • 05-06-2012 5:32pm
    #1
    Registered Users, Registered Users 2 Posts: 462 ✭✭


    http://checkitoutboss.wordpress.com/

    A blog I'm working on but want to use a GIF in the header. I've stoped it from looping but I'd like it to kick in again once the page is refreshed or the user clicks between the home page and about me page, any suggestions?


Comments

  • Registered Users, Registered Users 2 Posts: 35,524 ✭✭✭✭Gordon


    Have you tried something like this:
    <meta http-equiv="Pragma" content="no-cache">
    <meta http-equiv="no-cache">
    <meta http-equiv="Expires" content="-1">
    <meta http-equiv="Cache-Control" content="no-cache">

    However, if I can just add my two pence: Firstly, that's a 714kb file, nearly one megabyte, do you really want that? I don't know, but maybe having such a large file stops the refreshing? I'm could be quite wrong there.

    Is the animation really.. erm.. necessary?!


  • Registered Users, Registered Users 2 Posts: 462 ✭✭tsoparno


    Gordon wrote: »
    Have you tried something like this:
    <meta http-equiv="Pragma" content="no-cache">
    <meta http-equiv="no-cache">
    <meta http-equiv="Expires" content="-1">
    <meta http-equiv="Cache-Control" content="no-cache">

    However, if I can just add my two pence: Firstly, that's a 714kb file, nearly one megabyte, do you really want that? I don't know, but maybe having such a large file stops the refreshing? I'm could be quite wrong there.

    Is the animation really.. erm.. necessary?!

    Hadn't thought the size would effect it, maybe. It's not totally necessary bout I was just trying to add something to a page that will be mainly static. Where are you suggesting to add the meta tags?
    It was created with flash.


  • Closed Accounts Posts: 9,700 ✭✭✭tricky D


    Gordon wrote: »

    However, if I can just add my two pence: Firstly, that's a 714kb file, nearly one megabyte, do you really want that? I don't know, but maybe having such a large file stops the refreshing? I'm could be quite wrong there.
    If the dithering and uneven edges problems are to be solved the filesize might even increase.
    Gordon wrote: »
    Is the animation really.. erm.. necessary?!
    It's a distraction, so a big NO imho.


  • Registered Users, Registered Users 2 Posts: 8,070 ✭✭✭Placebo


    Having nocache meta will re-download everything and give a slower experience, even when changing pages/articles.

    To be blunt,
    the GIF looks awful,
    its a silly slow animation,
    no one does it anymore either,

    if you still want it then you could probably use javascript to replace the gif, theres no way to actually control the animation itself
    http://stackoverflow.com/questions/3191922/restart-an-animated-gif-from-javascript-without-reloading-the-image


  • Registered Users, Registered Users 2 Posts: 462 ✭✭tsoparno


    Thanks for the input guys, as you can probably tell I'm relatively new to this stuff. I'm aware its basic, but hey ya got start somewhere. May knock it on the head and try create an image in photoshop instead, as the javascript is a bit much for me!


  • Advertisement
  • Registered Users, Registered Users 2 Posts: 9,060 ✭✭✭Kenny Logins


    What size is the file when saved as an .swf?


  • Registered Users, Registered Users 2 Posts: 462 ✭✭tsoparno


    What size is the file when saved as an .swf?

    12kb, not sure if wordpress supports swf and now I'm having issues getting into wordpress!


  • Registered Users, Registered Users 2 Posts: 9,060 ✭✭✭Kenny Logins


    tsoparno wrote: »
    12kb, not sure if wordpress supports swf and now I'm having issues getting into wordpress!

    Have you tried Googling to check?


  • Registered Users, Registered Users 2 Posts: 462 ✭✭tsoparno


    Have you tried Googling to check?

    Just checked, can be done with a plugin/coding just need to study it a bit now!


Advertisement