473,769 Members | 6,597 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

CSS images will not load

Hi,

I'm struggling to find answers on the problem I'm having, and I
desperately need some closure :)

I have a bunch of background-images in a css file that are visible
locally, but when I upload to a remote server they won't show.

I checked the actual link, which is correct (e.g '../images/main/
brc.gif'). To make sure I also tried the URL approach (e.g. 'http://
www.redstudio.c om.au/client/os/images/main/brc.gif'), which is also
correct, but to no avail.

A friend suggested that I should try placing the image in a DIV as I
had been placing the images inside a class within a cell. This also
did not make any difference.

I have noticed that while testing in Safari, the Activity utility
states that the background images are 'forbidden'. Maybe this is a
clue?

Standard <IMG>'s have also been placed within the document as a test
to see if they load, and these are all visible remotely. So it must
have somehting to do with the CSS.

I've also W3 validated the HTML and CSS and both are 100% OK.

The site/soure can be viewed here:

http://www.redstudio.com/client/os/index.html

http://www.redstudio.com/client/os/css/os.css

Any help would be really appreciated,

Cheers,

Marc

May 8 '07 #1
19 6182
ma***********@g mail.com wrote:
I have a bunch of background-images in a css file that are visible
locally, but when I upload to a remote server they won't show.
The CSS file your page uses does not contain any references to
background images.
The site/soure can be viewed here:

http://www.redstudio.com/client/os/index.html
The page asks for:

url("/styles/ns-uc.css");
http://www.redstudio.com/client/os/css/os.css
That seems to be an empty file. Anyway, your page is not referring to it.

HTH,
Osmo
May 8 '07 #2
Osmo Saarikumpu schrieb:
ma***********@g mail.com wrote:
>I have a bunch of background-images in a css file that are visible
locally, but when I upload to a remote server they won't show.

The CSS file your page uses does not contain any references to
background images.
>The site/soure can be viewed here:

http://www.redstudio.com/client/os/index.html

The page asks for:

url("/styles/ns-uc.css");
>http://www.redstudio.com/client/os/css/os.css

That seems to be an empty file. Anyway, your page is not referring to it.

HTH,
Osmo
Additionally, you should clean up your HTML code:

- Set the correct encoding: you are using UTF-8 characters but encoding
is set to iso-8859-1.

- Do not use XHTML style (the trailing / in some HTML elements) while
declaring loose.dtd

- Put the <formaround the table instead in the middle of nowhere

Klaus
--
Linux User #54760
Fingerprint: 890bdbdeaa3ddab 07bac87a3115d55 3a
May 8 '07 #3
I'm sorry. I have been pointing to the site... eek!

Try this instead:

http://www.redstudio.com.au/client/os

http://www.redstudio.com.au/client/os/css/os.css

May 8 '07 #4
I'm so sorry. I have been pointing to the wrong url... eek!

Try this instead:

http://www.redstudio.com.au/client/os

http://www.redstudio.com.au/client/os/css/os.css

May 8 '07 #5
On 8 May, 13:00, marckatsam...@g mail.com wrote:
Try this instead:

http://www.redstudio.com.au/client/os
<td><img src="images/menu/spacer.gif" width="9" height="1" border="0"
alt="" /></td>

Start again from scratch. (and lose the XHTML)

What's with the 7-handed goatse too? _Not_ a good choice of corporate
clipart there, it's going to get you slahdotted, and for all the wrong
reasons.

May 8 '07 #6
On May 9, 12:30 am, Osmo Saarikumpu <o...@weppipakk i.comwrote:
marckatsam...@g mail.com wrote:
Try this instead:
http://www.redstudio.com.au/client/os

My Webdeveloper toolbar says:

Broken Images -http://www.redstudio.c om.au/client/os/

1.http://www.redstudio.com.au/client/o...ain/banner.jpg
2.http://www.redstudio.com.au/client/o...ain/newsrc.gif
3.http://www.redstudio.com.au/client/o...ain/femmod.jpg
4.http://www.redstudio.com.au/client/o...ain/helprc.gif
5.http://www.redstudio.com.au/client/o...s/main/brc.gif

When I ask for the first one I get:

Forbidden
You don't have permission to access /client/os/images/main/femmod.jpg on
this server.

HTH,
Osmo
I am getting the forbidden message as well (Through Safari's Activity
utility). But what I don't understand is why the banner image loads
(which is in the same directory as the rest of the images) but the
other css linked files do not.

Is it likely to be a CSS thing? A server thing? Or an HTML encoding
thing?

Thanks,

Marc

May 8 '07 #8
On 8 May 2007 07:04:29 -0700, Andy Dingley <di*****@codesm iths.com>
wrote:
http://www.redstudio.com.au/client/os
<td><img src="images/menu/spacer.gif" width="9" height="1" border="0"
alt="" /></td>

Start again from scratch. (and lose the XHTML)
What do you mean when you say lose the XHTML?
The markup is crap. 10-year obsolete single-pixel gif rubbish. Anyone
writing this style of code today ought to be ashamed.

So for the very few cases where XHTML might possibly be of some use,
this isn't one of them. Nor is the guilty coder likely to be a fit
person to be let loose with it.

XHTML on the web is usually bogus. XHTML that still needs trainer wheels
and single pixel gifs is _definitely_ bogus.

What's with the 7-handed goatse too? _Not_ a good choice of corporate
clipart there, it's going to get you slahdotted, and for all the wrong
reasons.
As for the stock photo, its just there as a 'filler' at this stage.
Search Wikipedia for "goatse". _Don't_ Google for it, unless you're
ready for a surprise!

Any image that looks remotely like a goatse (Joe Clark's usability book,
even "Meet the Robinsons") is going to be treated with scorn and
derision when the geeks find it.
As for slahdotted... what?
Sorry, "slashdotte d" Wikipedia knows that one too.

--
Die Gotterspammerun g - Junkmail of the Gods
May 9 '07 #9
On May 9, 10:17 am, Andy Dingley <ding...@codesm iths.comwrote:
On 8 May 2007 07:04:29 -0700, Andy Dingley <ding...@codesm iths.com>
wrote:
>>http://www.redstudio.com.au/client/os
><td><img src="images/menu/spacer.gif" width="9" height="1" border="0"
>alt="" /></td>
>Start again from scratch. (and lose the XHTML)
What do you mean when you say lose the XHTML?

The markup is crap. 10-year obsolete single-pixel gif rubbish. Anyone
writing this style of code today ought to be ashamed.

So for the very few cases where XHTML might possibly be of some use,
this isn't one of them. Nor is the guilty coder likely to be a fit
person to be let loose with it.

XHTML on the web is usually bogus. XHTML that still needs trainer wheels
and single pixel gifs is _definitely_ bogus.
>What's with the 7-handed goatse too? _Not_ a good choice of corporate
>clipart there, it's going to get you slahdotted, and for all the wrong
>reasons.
As for the stock photo, its just there as a 'filler' at this stage.

Search Wikipedia for "goatse". _Don't_ Google for it, unless you're
ready for a surprise!

Any image that looks remotely like a goatse (Joe Clark's usability book,
even "Meet the Robinsons") is going to be treated with scorn and
derision when the geeks find it.
As for slahdotted... what?

Sorry, "slashdotte d" Wikipedia knows that one too.

--
Die Gotterspammerun g - Junkmail of the Gods
Damn Andy!

All I asked was for some help, not a bitch slap.

Unfortunately the only HTML tool I have (and the only one I know how
to use) is Dreamweaver. The page I have pointed to is the result of
what Dreamweaver creates. Maybe instead of bagging my "obsolete"
method, you could try giving me some constructive advice .

If anyone else can help with the actual problem at hand, I would
greatly appreciate it.

Regards,

Marc

May 9 '07 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
3111
by: Charlie | last post by:
Hi I am using the following code to create an image viewer for multiple images. var pageImage = document.images; var image = new Image(); var args = GetQuerystring(); //return arguments from querystring image.src = args.imageSource; //get image src pageImage.src = ""; pageImage.src = image.src;
5
2714
by: howdy | last post by:
Hi all, I'm trying to rotate 5 images which load from the server. My script loads the images but when i move to the end of my array i want to cycle throught the array again so that the images will load again in succession. At the moment the images load through once and then stop on the first one. How can i make my code constantly cycle throuhg the images and not stop once it has gone through one time? Here is my current code: <SCRIPT...
3
12273
by: src_mag | last post by:
Hello, I'd like to write JavaScript code that refreshes a frame once a second loading a different image each time. Basically, here's what the script would do: 0 sec load img0.gif 1 sec load img1.gif 2 sec load img2.gif 3 sec load img0.gif (back to the first image) 4 sec load img1.gif
2
2927
by: Van der Weij | last post by:
Hi, I want to preload some images for a webpage _and_ determing their width and height. The problem is that the scripts continue while the images are loaded in the background, while I need the thus undefined values of image.width and image.height. Thus I'm looking for a function which stops executing my script until the images are all fully loaded.
15
2336
by: Geoff Cox | last post by:
Hello I have following type of code in the header function pre_load_pics() { if (document.images) { var image1 = new Image(400,265); image1.scr = "pic1.jpg";
3
3482
by: Dalan | last post by:
At first I was not certain what could cause Access 97 from displaying most jpeg images, but not all. After further testing, it seemed that all original images of less than 275 pixels per inch or less would display, but those close to 300 pixels/inch or greater would not (MS Access cannot recognize the file format xxx.jpg). The larger, original images were scanned and saved as .bmp (at 300 dpi producing a 15MB file). Then the images were...
3
2229
by: mraj | last post by:
Hello... I am new to C#. My requirement is that, I will receive over 100s of images from the network to local machine and display these images on an image viewer one by one on mouse scroll. To improve the performance, I want these images to reside on the RAM instead of the hard disk. How do I load the images to the ram and access it to improve my performance. -- Mohan
3
3829
by: Simon | last post by:
This problem has been driving me mad for months.... Seen a few posts on forums about it but no answers... No mention on MSDN etc. XP Pro SP1, VS.NET (c#) .Net framework 1.1, IIS 5.1. In a nutshell when testing my ASP.NET (localhost) apps images randomly don't load on the page. Examining the IIS logfile shows the missing images give 401 or 403 errors. Here's an example - 10:15:47 127.0.0.1 GET...
10
13414
by: eholz1 | last post by:
Hello Members, I am setting up a photo website. I have decided to use PHP and MySQL. I can load jpeg files into the table (medium blob, or even longtext) and get the image(s) to display without a problem. I am using chunk_split(data) and the base64_encode and base64_decode on the files. I do a select from the database, and then echo the image (with header(Content Type: image/jpeg) and the decoded image displays fine. Yes, I have...
5
13379
matheussousuke
by: matheussousuke | last post by:
Hello, I'm using tiny MCE plugin on my oscommerce and it is inserting my website URL when I use insert image function in the emails. The goal is: Make it send the email with the URL http://mghospedagem.com/images/controlpanel.jpg instead of http://mghospedagem.comhttp://mghospedagem.com/images/controlpanel.jpg As u see, there's the website URL before the image URL.
0
9423
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10214
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10048
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9865
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8872
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7410
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6674
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5304
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
3
2815
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.