HomeHome  
  • WelcomeWelcome  
  • Events  
  • PublicationsPublications  
  • FAQFAQ  
  • SearchSearch  
  • MemberlistMemberlist  
  • UsergroupsUsergroups  
  • RegisterRegister  
  • Log inLog in  
  • You are not connected. Please login or register


    Replace the error image

    avatar
    • Administrator

        Reputation : 315
        Registered on : 2012-02-22
        Posts : 2362
        School of codes courses: coming soon
      Replace the error image

      Description


      How many times you have seen this noisy icon: [img][/img]?
      Now you can replace it with something better using our great tutorial! Go on reading...

      Set up


      It is very very simple for you: You have just to add this javascript code to your javascript panel in all pages:
      Code:
      <!--- Subject: "Replace the error image" - Copyright 2012 by www.fmcodes.com. All Rights Reserved. Use and/or modification of this script is allowed, provided this entire copyright notice remains in the original or modified code. Distribution is not allowed without written consent from FMCodes---!>
      $('img').error(function(){$(this).attr('src','ERRORIMAGE');$(this).attr('title','Image not found')});


      Customize the tutorial


      The only parametre that you have to change is the image: Edit ERRORIMAGE with the image you want to show if the old image is broken

      Note: Some image-host services replace the brokwn image with a default one where you can read "Image broken, bla bla": You won't be able to change it...



      Technical problems


      The tutorial was tested on this forum and with the browser Google Chrome; If you notice that the tutorial doesn't work for a browser or for a version of forum (PhpBB2, PhpBB3, PunBB, Invision) contact an administrator and we will fill this field with your reporting.

      Thanks, the staff

      For every problem or question please, contact us in the section Support for the tutorials, The staff will answer you as soon as it is possible...


      Friendly,
      The team of the Forum of Codes.



      Niko wants you in the team Guest

      Community manager and Administrator at Forumattivo.com

      avatar
      • I'm a new member :)


          Reputation : 0
          Registered on : 2014-02-16
          Posts : 8
          LG
        thanxs

        avatar
        • ***


            Reputation : 0
            Registered on : 2012-05-05
            Posts : 47
          thanks


          YOUR BANNER HERE
          728x90
          DMCA.com Protection Status
          © PunBB | Contact | Report an abuse