Andrew Pollack's Blog

Technology, Family, Entertainment, Politics, and Random Noise

Images not showing up from your Web Applications? I spent hours tracking this down...

By Andrew Pollack on 03/17/2009 at 09:51 AM EDT

I've been working on an application for a client, and needed to store file resources both on documents and as design elements (file resources). For some reason, they simply weren't showing up on the web browser when viewed as part of any page.

* The images showed up when you would put the URL directly into the browser to view the image itself.

* The images showed up when you put the same code and image -- the same document -- in any other databases.

* The "Firebug" debugger for Firefox showed the image reference in the code properly -- but it showed an odd CSS tag. Firefox was adding a tag to make the image display and visibility tags both hidden/invisible.

To make the debugging even more fun, I'm using pre-beta "Code Drop" software to do this design work, so kept having to check to see if the problem was a bug in my development software. It wasn't.

It took me hours to figure this out. It turns out that the extremely popular "Adblock Plus" plug in includes in its default filterset, a filter that essentially kills any images on any site that includes "spons" in the file name path. In my case, the application file name was "/sipspons.nsf/" so by default Adblock was hiding the images. It did this even when the URL of the page itself I was on actually matched and was in the same path.


Although turning this off worked fine for me (as shown above), I have to assume many other people use this filter set and so I'll have to rename the application file name an avoid using that string sequence so users don't run into the problem.

You may want to watch out for it as well.


  • car icon

    Server Performance

    Are your servers underperforming? Just buying new boxes isn't the answer. If you want to get better performance from your existing servers, Contact Me.
  • There are  - loading -  comments....

    re: Images not showing up from your Web Applications? I spent hours tracking this down...By Jan Schulz on03/17/2009 at 04:02 PM EDT
    Comment Loading


    Other Recent Stories...

    1. 03/16/2010The CKEditor - with Domino -- will be better than rolling your own!If you don't know the CKEditor, you soon will. Maureen (and others) have recently gone public with the announcement that starting in near term release of 8.5.x, that fantastic rich text editor will be shipped built in with the Domino server and will be integrated for easy use for XPages. One thing that's hard to do at present with the CKEditor when you integrate with Domino, is handle the built in browsing/uploading/embedding for file attachments, images, flash, and so on. There are plug-ins for ftp and ...... 
    2. 02/14/2010Great weekend sleddingI'm from "away" -- a term which in Maine speak means that I wasn't born here, and while I've been here for nearly 20 years I am very easily spotted as a non-native to pretty much anyone with long time family roots in the area. Being from away, there are things I just hadn't had a chance to do that most Mainer's take for granted. This weekend, I got the chance to scratch a few of those off the list. These included going 'upta camp', being significantly north of Bangor, and spending a fair bit of time on a ...... 
    3. 02/10/2010Is anyone really considering a move to a hosted Exchange system?I got this press release today from someone I really should learn to just ignore -- but I couldn't help myself. I actually read it. What struck me as the most odd set of statements in it focused on the idea that small and medium businesses are migrating away from Notes and into hosted exchange environments. In other words, that the move for small business into the cloud was somehow based on ISV's hosting off-site Microsoft Exchange mail servers for people. I suppose there must be some out there. This one ...... 
    4. 02/06/2010When does an application stop belonging to its owner? 
    5. 01/29/2010Lotusphere 2010 - Session Survey Results 
    6. 01/27/2010Is UPS just plain broken? * Updated 
    7. 01/25/2010My presentations posted here from Lotusphere 2010 
    8. 01/24/2010Me - in bobblehead form 
    9. 01/23/2010Announcing the C.U.L.T. Shirt 2010 Winner 
    10. 01/19/2010Great round table with Kristen Lauria about the Lotus Knows campaign 
    Click here for more articles.....


    pen icon Comment Entry
    Subject
    Your Name
    Homepage
    *Your Email
    * Your email address is required, but not displayed.
     
    Your thoughts....
     
    Remember Me  

    Please wait while your document is saved.