Denne tråd blev arkiveret. Stil et nyt spørgsmål, hvis du har brug for hjælp.
Web page doesn't display a gif link image
When I use Ie8 the image appears properly but it doesn't appear using Mozilla 28.0
Hi Bob, glad you've sorted out the image problem.
Alle svar (19)
Can we have a link to the page please, and also a screenshot if possible. Without this it will be very difficult to solve your problem. Thanks.
If the site is one you are developing and isn't online, can you please give us the HTML code by pasting it in this forum thread or posting a link to it on a site such as pastebin. You should also upload the gif in question and tell us the layout of the directories. Thanks.
Hello and thanks for the reply. The url is:
As I mentioned in the original post, the graphic displays fine in IE8 but not in Mozilla v28.0.
I've looked in both Firefox 28, Chrome 34 and Internet Explorer 11 and the page seems the same (but neater looking in Firefox and Chrome). There are at least 10 gifs on this page, so could you please tell me which one you are having problems with.
In the meantime, please check that images aren't blocked for this website:
- Right-click somewhere on the page and select 'View Page Info'.
- Click the 'Media' heading/tab.
- Ensure that 'Block Images from www.pcshomepage.com' is unchecked.
- Close the 'Page Info' window and refresh the page.
I did the steps you mentioned but still not there. The image should appear under this text: "Click on the banner below for more information."
I did see the gif image listed in the page info under media and it is: http://www.appliedi.net/affiliates/banners/applied2-120x60.gif
I just tested this page on my development machine and it displays properly. It is a very old version (3.6) as is this machine too.
Is there any way to attach screenshots here?
Hi bob, it definitely works for me (even on my phone's browsers), and looking at the source code I don't see anything wrong with it other than the containment of the image. An image is a block level element, but this image is contained within an <a> tag, which is an inline element. I suggest you try adding style="display:block" to the <a> tag which contains the image, and if it still doesn't work for you, also try removing the < p > tag that contains the <a> tag with the image (but don't remove the <a> tag and < img > tag).
Read this for taking a screenshot and uploading (save it on your computer then click the browse button above the 'Post a Reply' box and then find it in the browse window).
I will try your suggestion. If you are using the same Mozilla version, 28.0, it must be something with my computer or security software?
This is a sidebar to our current thread but can you go to either the CLIENTS or SERVICES pages or both and let me know if the tree structure (folders) function properly for you?
If images are missing then check that you do not block images from some domains.
- Press the F10 key or tap the Alt key to bring up the hidden Menu bar.
Check the permissions for the domain in the currently selected tab in "Tools > Page Info > Permissions"
Check "Tools > Page Info > Media" for blocked images
- Select the first image link and use the cursor Down key to scroll through the list.
- If an image in the list is grayed and "Block Images from..." has a checkmark then remove this checkmark to unblock images from this domain.
Make sure that you do not block (third-party) images, the permissions.default.image pref on the about:config page should be 1.
Make sure that you haven't enabled a High Contrast theme in the Windows/Mac Accessibility settings.
Make sure that you allow pages to choose their own colors.
- Tools > Options > Content : Fonts & Colors > Colors : [X] "Allow pages to choose their own colors, instead of my selections above"
Note that these settings affect background images.
There are extensions like Adblock Plus (Firefox/Tools > Add-ons > Extensions) and security software (firewall, anti-virus) that can block images and other content.
The folding tree Java code wasn't working before I added the Session code so might have two problems...:-(
Thanks for the reply. I must admit it is a bit baffling since everyone else can see the image...:-(
I will check all the options you noted:
1. I do use Adblock 2. My Firewall/Anit-virus is Kaspersky
I will let you know how the testing goes...
It was Adblock causing the problem. Once I disabled it for my domain, the image appeared.
So, since you have Java experience, how would you like to earn some extra $$$ redoing the folding tree code...:-)
Adblock was causing the problem. Once I disabled it for my domain, the image appeared.
Thanks for your help!
Hi Bob, glad you've sorted out the image problem.
Wow, 17 and you are already involved in the tech world...very good!
I notice that a lot of the scripts are versions from 2008 or older.
Hi Bob, the bookmark/add to favourites script doesn't work properly (older scripts will still run, but often not as intended, sometimes meaning nothing happens at all). 'Ctrl-D' is shown because the script checks for navigator.appName being equal to 'Netscape'; all of the main browsers now have this set to 'Netscape' in their latest versions (IE being the latest to change) for compatibility reasons. Therefore, IE 11 isn't recognised for what it is and the script incorrectly displays 'Bookmark (Ctrl-D)' as opposed to 'Add to Favorites'.
Taking this into account, I think you should try replacing the current script with this script I wrote:
This will say 'Add to Favourites (Ctrl-D)' in IE and 'Bookmark (Ctrl-D)' in all other browsers.
It is probably best to test for trident and MSIE
Yes, you are absolutely right Cor-el; your version should be compatible with IE 2 and upwards, whereas my original script is only compatible with IE 8 and and upwards. Thanks for that.