Talk:Images or animations do not load: Difference between revisions

From MozillaZine Knowledge Base
Jump to navigationJump to search
Line 8: Line 8:
What possibilities do we have to make the test #5 in [http://forums.mozillazine.org/viewtopic.php?t=288184|Images / .gif animations don't load • mozillaZine Forums] make work again? <br>
What possibilities do we have to make the test #5 in [http://forums.mozillazine.org/viewtopic.php?t=288184|Images / .gif animations don't load • mozillaZine Forums] make work again? <br>
That test is about using JavaScript to change the location of an image and the test doesn't work because the forum no longer allows to post working html code. Also that test pointed to an advanced JavaScript setting that is no longer accessible via the UI in current Firefox versions ( 2 and 3). If we were to create a KB article to make it possible to update the article then we still wouldn't have the possibility to run that test. Either we would need to host a html version of that page somewhere or replace the test with a bookmarklet like:<br>
That test is about using JavaScript to change the location of an image and the test doesn't work because the forum no longer allows to post working html code. Also that test pointed to an advanced JavaScript setting that is no longer accessible via the UI in current Firefox versions ( 2 and 3). If we were to create a KB article to make it possible to update the article then we still wouldn't have the possibility to run that test. Either we would need to host a html version of that page somewhere or replace the test with a bookmarklet like:<br>
<nowiki>data:text/html,<html><body><a href="javascript: document.getElementById('myimage').setAttribute('src','http://img307.imageshack.us/img307/1337/blimp59ck.png')"> First click here </a> <br> if after clicking the link, the blimp image does not appear then reset this pref on the <b>about:config</b> page: <b>dom.disable_image_src_set</b> <img id='myimage' src='http://img307.imageshack.us/img307/6524/1pixel13np.png'></img></body></html>
<code><nowiki>data:text/html,<html><body><a href="javascript: document.getElementById('myimage').setAttribute('src','http://img307.imageshack.us/img307/1337/blimp59ck.png')">First click here</a><br>if after clicking the link, the blimp image does not appear then reset this pref on the <b>about:config</b> page: <b>dom.disable_image_src_set</b> <img id='myimage' src='http://img307.imageshack.us/img307/6524/1pixel13np.png'></img></body></html>
</nowiki><br>
</nowiki></code><br>
--[[User:Dickvl|Dickvl]] 20:58, 31 July 2008 (UTC)
--[[User:Dickvl|Dickvl]] 20:58, 31 July 2008 (UTC)


:Dick, I can't help with the test for Image 5 but the JavaScript  instructions need updating and the about:config  instructions to reset '''dom.disable_image_src_set''' to '''false'''  (that the KB article already includes) need to be added.    Also, what about Image 4...?  Why would an adblocker block that image?  Looks like trolly replaced it awhile back.  In any case, the test page at  http://forums.mozillazine.org/viewtopic.php?t=288184 by Filipp0s isn't that useful as it is, so we should probably remove the test page link from the article.  If we do create a new "Image and animation tests" article it could be similar to the following:  [[User:Alice Wyman|Alice]] 23:23, 31 July 2008 (UTC)
:Dick, I can't help with the test for Image 5 but the JavaScript  instructions need updating and the about:config  instructions to reset '''dom.disable_image_src_set''' to '''false'''  (that the KB article already includes) need to be added.    Also, what about Image 4...?  Why would an adblocker block that image?  Looks like trolly replaced it awhile back.  In any case, the test page at  http://forums.mozillazine.org/viewtopic.php?t=288184 by Filipp0s isn't that useful as it is, so we should probably remove the test page link from the article.  If we do create a new "Image and animation tests" article it could be similar to the following:  [[User:Alice Wyman|Alice]] 23:23, 31 July 2008 (UTC)
There was a discussion [http://support.mozilla.com/tiki-view_forum_thread.php?forumId=1&comments_parentId=120653 here] about that particular test case not working (that is where the data uri in my above post came from; had forgotten to include that link).<br>
Image 4 has <b>ad</b> in the name and that triggered a filter in Adblock at the time of writing. I can't imagine why someone would want to use such a filter that can have any side effects.<br>
It should be possible to host those two images on the KB: <code><nowiki>http://img307.imageshack.us/img307/6524/1pixel13np.png</nowiki></code> (an invisible 1x1 image) and <code><nowiki>http://img307.imageshack.us/img307/1337/blimp59ck.png</nowiki></code>. But I don't know if using that data uri in the location bar is too complicated. It would be good to have an article about testing images.<br>
--[[User:Dickvl|Dickvl]] 06:18, 1 August 2008 (UTC)
-----
-----
'''Image and animation tests'''
'''Image and animation tests'''

Revision as of 06:18, 1 August 2008

For the sake of keeping image problems in this article, I think we should have a section for "Images load, but look wrong" which can be caused by having a web accelerator or the color depth too low. Really that belongs in websites look wrong, but if that article were a horse, I'd have shot it long ago. Objections?

Sounds good. We could always add the word "correctly" to the end of the article title.--Np 01:28, 6 May 2006 (UTC)
OK, I added the section. I also added a bit about Firefox resizing large images, but I'm not sure that is really necessary. Edits and clarifications welcome and probably needed.--Lethargy 20:03, 6 May 2006 (UTC)

In the images don't load section I included a link to error loading some websites. I have kept the site may be down solution in this article, however, because many users won't realize that the images may be hosted on another site, and that site may be down.--Lethargy 20:05, 14 May 2006 (UTC)

Test page

What possibilities do we have to make the test #5 in / .gif animations don't load • mozillaZine Forums make work again?
That test is about using JavaScript to change the location of an image and the test doesn't work because the forum no longer allows to post working html code. Also that test pointed to an advanced JavaScript setting that is no longer accessible via the UI in current Firefox versions ( 2 and 3). If we were to create a KB article to make it possible to update the article then we still wouldn't have the possibility to run that test. Either we would need to host a html version of that page somewhere or replace the test with a bookmarklet like:
data:text/html,<html><body><a href="javascript: document.getElementById('myimage').setAttribute('src','http://img307.imageshack.us/img307/1337/blimp59ck.png')">First click here</a><br>if after clicking the link, the blimp image does not appear then reset this pref on the <b>about:config</b> page: <b>dom.disable_image_src_set</b> <img id='myimage' src='http://img307.imageshack.us/img307/6524/1pixel13np.png'></img></body></html>
--Dickvl 20:58, 31 July 2008 (UTC)

Dick, I can't help with the test for Image 5 but the JavaScript instructions need updating and the about:config instructions to reset dom.disable_image_src_set to false (that the KB article already includes) need to be added. Also, what about Image 4...? Why would an adblocker block that image? Looks like trolly replaced it awhile back. In any case, the test page at http://forums.mozillazine.org/viewtopic.php?t=288184 by Filipp0s isn't that useful as it is, so we should probably remove the test page link from the article. If we do create a new "Image and animation tests" article it could be similar to the following: Alice 23:23, 31 July 2008 (UTC)

There was a discussion here about that particular test case not working (that is where the data uri in my above post came from; had forgotten to include that link).
Image 4 has ad in the name and that triggered a filter in Adblock at the time of writing. I can't imagine why someone would want to use such a filter that can have any side effects.
It should be possible to host those two images on the KB: http://img307.imageshack.us/img307/6524/1pixel13np.png (an invisible 1x1 image) and http://img307.imageshack.us/img307/1337/blimp59ck.png. But I don't know if using that data uri in the location bar is too complicated. It would be good to have an article about testing images.
--Dickvl 06:18, 1 August 2008 (UTC)


Image and animation tests


Image 1
If you cannot see the image below check under: "Tools -> Options -> Content -> Load Images" (put checkmark here)
http://static.mozillazine.org/common/images/blimp.png

Image 2
If you cannot see the image below:
1.Type about:config in the location bar
2. Filter for permissions.default.image
3. Change value to 1
http://img255.imageshack.us/img255/7559/blimp25jg.png"

Image 3
If you only see frame one of the animation below:
1. a. Type about:config in the location bar
b. Filter for image.animation_mode
c. Change value to normal
2. Enable animations from ZoneAlarm (screenshot)

http://img255.imageshack.us/img255/2186/blimp39tk.gif


Image 4
If you cannot see the image below, some adblocking software is probably blocking it.
(This is the wanted behavior, I've just added this step for troubleshooting)
http://www.trolly.homepage.t-online.de/ads.jpg


Image 5
|------>Add Image 5 test here<------|

If after clicking the link, the blimp image does not appear:
Check under: "Tools -> Options-> Content -> Enable JavaScript" (put checkmark here).
If the image still does not appear:
1.Type about:config in the location bar
2. Filter for dom.disable_image_src_set
3. Make sure the value is set to false


If some images don't appear and at the same time background and text colors are displayed wrong, read: Website colors are wrong

Still cannot see some images? Read this: Images or animations do not load