Jpegs Not Showing

Get help on web editors (Frontpage, Dreamweaver) and web languages (HTML, ASP, PHP).
Post Reply
Mclaren
Registered User
Posts: 497
Joined: 30 Apr 2007, 02:00
Location: c:\program files\temp
Contact:

Jpegs Not Showing

Post by Mclaren »

Hi

i have created my website, but i am having problems with jpgs.

my website will show png & bmp images no problem but no jpg will show. any ideas?
wit_skapie
Moderator Emeritus
Posts: 6866
Joined: 12 Dec 2003, 02:00
Location: JHB
Contact:

Re: Jpegs Not Showing

Post by wit_skapie »

Mclaren wrote:Hi

i have created my website, but i am having problems with jpgs.

my website will show png & bmp images no problem but no jpg will show. any ideas?
Sup!

Are you browing the site locally? Do you get the little white box with the red cross?

w_s
Mclaren
Registered User
Posts: 497
Joined: 30 Apr 2007, 02:00
Location: c:\program files\temp
Contact:

Re: Jpegs Not Showing

Post by Mclaren »

if local, all works fine.

once uploaded to my webserver, no images.
doo_much
Registered User
Posts: 26022
Joined: 13 May 2004, 02:00
Location: Getting there...
Contact:

Re: Jpegs Not Showing

Post by doo_much »

Are you using a CMS i.e. Joomla?
MOOD - Thirsty

A surprising amount of modern pseudoscience is coming out of the environmental sector. Perhaps it should not be so surprising given that environmentalism is political rather than scientific.
Timothy Casey
WiK1d
Registered User
Posts: 20732
Joined: 13 Sep 2004, 02:00
Location: Cruising the streets of Pretoria
Contact:

Re: Jpegs Not Showing

Post by WiK1d »

Mclaren wrote:if local, all works fine.

once uploaded to my webserver, no images.
Well, does the image files point to online or local files? That might be your problem?
Mclaren
Registered User
Posts: 497
Joined: 30 Apr 2007, 02:00
Location: c:\program files\temp
Contact:

Re: Jpegs Not Showing

Post by Mclaren »

I am sure they point to the files online. but i am pretty new to html so i cannot say for sure.
Bladerunner
Registered User
Posts: 14338
Joined: 04 Sep 2004, 02:00
Processor: i386DX Sooper
Motherboard: A blue one
Graphics card: A red one
Memory: Hard drive
Location: On a Möbius strip
Contact:

Re: Jpegs Not Showing

Post by Bladerunner »

Mclaren wrote:I am sure they point to the files online. but i am pretty new to html so i cannot say for sure.
Use relative referencing.

"../images/picture1.jpg" for example. Don't use "http://mysite.com/images/picture1.jpg"
If I weren't insane: I couldn't be so brilliant! - The Joker
Mclaren
Registered User
Posts: 497
Joined: 30 Apr 2007, 02:00
Location: c:\program files\temp
Contact:

Re: Jpegs Not Showing

Post by Mclaren »

this is the code : is it right ?

<img alt="Black Windows" src="images/snc00067.jpg" style="width: 314px; height: 235px;" />
wit_skapie
Moderator Emeritus
Posts: 6866
Joined: 12 Dec 2003, 02:00
Location: JHB
Contact:

Re: Jpegs Not Showing

Post by wit_skapie »

Mclaren wrote:this is the code : is it right ?

<img alt="Black Windows" src="images/snc00067.jpg" style="width: 314px; height: 235px;" />
Looks OK, try adding ../ in front of images - this means that from the "root" folder of your site there is a directory called images.

:)
Mclaren
Registered User
Posts: 497
Joined: 30 Apr 2007, 02:00
Location: c:\program files\temp
Contact:

Re: Jpegs Not Showing

Post by Mclaren »

tried, no luck, i wonder if something in my css style sheet is not causing the problem.
Bladerunner
Registered User
Posts: 14338
Joined: 04 Sep 2004, 02:00
Processor: i386DX Sooper
Motherboard: A blue one
Graphics card: A red one
Memory: Hard drive
Location: On a Möbius strip
Contact:

Re: Jpegs Not Showing

Post by Bladerunner »

Mclaren wrote:tried, no luck, i wonder if something in my css style sheet is not causing the problem.
Is the style sheet in its own folder, i.e. "styles" ?

Can you maybe give us a treeview screenshot of the root folder?
If I weren't insane: I couldn't be so brilliant! - The Joker
Bladerunner
Registered User
Posts: 14338
Joined: 04 Sep 2004, 02:00
Processor: i386DX Sooper
Motherboard: A blue one
Graphics card: A red one
Memory: Hard drive
Location: On a Möbius strip
Contact:

Re: Jpegs Not Showing

Post by Bladerunner »

Oh and make sure your capitalisation of names and files are corresponding in the code and on the server.
If I weren't insane: I couldn't be so brilliant! - The Joker
doo_much
Registered User
Posts: 26022
Joined: 13 May 2004, 02:00
Location: Getting there...
Contact:

Re: Jpegs Not Showing

Post by doo_much »

Give us the url to your webpage?
MOOD - Thirsty

A surprising amount of modern pseudoscience is coming out of the environmental sector. Perhaps it should not be so surprising given that environmentalism is political rather than scientific.
Timothy Casey
Mclaren
Registered User
Posts: 497
Joined: 30 Apr 2007, 02:00
Location: c:\program files\temp
Contact:

Re: Jpegs Not Showing

Post by Mclaren »

http://www.lenzaluworx.co.za is the website.

i have a test page that is working with jpegs, but i do not yet understand the why one works and the other not.

http://www.lenzaluworx.co.za/test.htm

I have picked up another problem with the test page, in that on IE 6 & 7 the transparency around my logo and around the images that make up the frame of the black section do not work.

On my first page they do. I think this has something to do with the additional style information embedded within the actual test page code.

PS. i have modified another website that i liked in order to make this website. although i know some basics, there is code there that i have no idea what it does, and i have no idea on the effects of the code should i remove it.

The original website is a PC manufacturers website and it is copywrited so i am unsure of how much changes i need to make to make it my own. will i get into trouble by doing this ?

will supply the website i used if asked.
Bladerunner
Registered User
Posts: 14338
Joined: 04 Sep 2004, 02:00
Processor: i386DX Sooper
Motherboard: A blue one
Graphics card: A red one
Memory: Hard drive
Location: On a Möbius strip
Contact:

Re: Jpegs Not Showing

Post by Bladerunner »

Mclaren wrote:http://www.lenzaluworx.co.za is the website.

i have a test page that is working with jpegs, but i do not yet understand the why one works and the other not.

http://www.lenzaluworx.co.za/test.htm

I have picked up another problem with the test page, in that on IE 6 & 7 the transparency around my logo and around the images that make up the frame of the black section do not work.

On my first page they do. I think this has something to do with the additional style information embedded within the actual test page code.

PS. i have modified another website that i liked in order to make this website. although i know some basics, there is code there that i have no idea what it does, and i have no idea on the effects of the code should i remove it.

The original website is a PC manufacturers website and it is copywrited so i am unsure of how much changes i need to make to make it my own. will i get into trouble by doing this ?

will supply the website i used if asked.
I have tried guessing the image address and opening it, but it says not found. Is your images directory readable?

I get some images on the index page though.
If I weren't insane: I couldn't be so brilliant! - The Joker
doo_much
Registered User
Posts: 26022
Joined: 13 May 2004, 02:00
Location: Getting there...
Contact:

Re: Jpegs Not Showing

Post by doo_much »

OK, you're committing some basics typos!

On the Products page you have a link to "http://www.lenzaluworx.co.za/files/after.[b]jpeg[/b]". Looking at the files directory it's obvious it should be "http://www.lenzaluworx.co.za/files/after.[b]jpg[/b]"

Same page - "http://www.lenzaluworx.co.za/files/black.jpg" Black.jpg doesn't exist in the files directory?
Index of /files wrote:
* Parent Directory
* B.bmp
* UK_unive.jpg
* Window.jpg
* a.bmp
* after.JPG
* b.png
* balustrade.png
* before.JPG
* body-bac.jpg
* box.png
* door.png
* footer-b.jpg
* global00.css
* headerA.png
* homepage.png
* homepagf.jpg
* jquery00.js
* jquery01.js
* jquery02.js
* jsapi000.js
* mainfram.png
* mainfran.png
* mainfrao.png
* mainfrap.png
* mainfraq.png
* mainfrar.png
* mainfras.png
* mainfrat.png
* master00.css
* master00.js
* navigati.jpg
* navigati.js
* navigati.png
* navigatj.jpg
* navigatj.png
* navigatk.jpg
* navigatk.png
* navigatl.jpg
* navigatl.png
* navigatm.jpg
* office.jpg
* phone1.png
* reset000.css
* search-c.jpg
* search-d.jpg
* top_image.jpg
* unive.png
* window.png
* workshop.jpg
MOOD - Thirsty

A surprising amount of modern pseudoscience is coming out of the environmental sector. Perhaps it should not be so surprising given that environmentalism is political rather than scientific.
Timothy Casey
Mclaren
Registered User
Posts: 497
Joined: 30 Apr 2007, 02:00
Location: c:\program files\temp
Contact:

Re: Jpegs Not Showing

Post by Mclaren »

Bladerunner wrote:
I have tried guessing the image address and opening it, but it says not found. Is your images directory readable?

I get some images on the index page though.
and
OK, you're committing some basics typos!

On the Products page you have a link to "http://www.lenzaluworx.co.za/files/after.jpeg". Looking at the files directory it's obvious it should be "http://www.lenzaluworx.co.za/files/after.jpg"

Same page - "http://www.lenzaluworx.co.za/files/black.jpg" Black.jpg doesn't exist in the files directory?
so, both are right in some way:

A: the images folder files folder are both readable.
B: i have fixed the page (windows) to point to the images folder and not the files folder

What i have found though is that the images names are to be in small letters including the JPG extension.

I can now see my images. whhooooo hooooo.....
Mclaren
Registered User
Posts: 497
Joined: 30 Apr 2007, 02:00
Location: c:\program files\temp
Contact:

Re: Jpegs Not Showing

Post by Mclaren »

done some work, now the windows and doors pages are working fine in opera and IE8, will have to wait till later to check other browsers.
doo_much
Registered User
Posts: 26022
Joined: 13 May 2004, 02:00
Location: Getting there...
Contact:

Re: Jpegs Not Showing

Post by doo_much »

Glad you got it sorted! ;)
MOOD - Thirsty

A surprising amount of modern pseudoscience is coming out of the environmental sector. Perhaps it should not be so surprising given that environmentalism is political rather than scientific.
Timothy Casey
Mclaren
Registered User
Posts: 497
Joined: 30 Apr 2007, 02:00
Location: c:\program files\temp
Contact:

Re: Jpegs Not Showing

Post by Mclaren »

Thanks Guys for all the help. my website is now up and running and is working quite well, Except in ie 6 and ie 7
Post Reply