Page 1 of 1

Jpegs Not Showing

Posted: 13 Dec 2009, 16:57
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?

Re: Jpegs Not Showing

Posted: 23 Dec 2009, 09:18
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

Re: Jpegs Not Showing

Posted: 23 Dec 2009, 10:24
by Mclaren
if local, all works fine.

once uploaded to my webserver, no images.

Re: Jpegs Not Showing

Posted: 23 Dec 2009, 12:35
by doo_much
Are you using a CMS i.e. Joomla?

Re: Jpegs Not Showing

Posted: 23 Dec 2009, 12:36
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?

Re: Jpegs Not Showing

Posted: 23 Dec 2009, 13:01
by Mclaren
I am sure they point to the files online. but i am pretty new to html so i cannot say for sure.

Re: Jpegs Not Showing

Posted: 23 Dec 2009, 13:15
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"

Re: Jpegs Not Showing

Posted: 23 Dec 2009, 15:04
by Mclaren
this is the code : is it right ?

<img alt="Black Windows" src="images/snc00067.jpg" style="width: 314px; height: 235px;" />

Re: Jpegs Not Showing

Posted: 24 Dec 2009, 09:49
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.

:)

Re: Jpegs Not Showing

Posted: 24 Dec 2009, 10:35
by Mclaren
tried, no luck, i wonder if something in my css style sheet is not causing the problem.

Re: Jpegs Not Showing

Posted: 24 Dec 2009, 11:32
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?

Re: Jpegs Not Showing

Posted: 24 Dec 2009, 11:37
by Bladerunner
Oh and make sure your capitalisation of names and files are corresponding in the code and on the server.

Re: Jpegs Not Showing

Posted: 24 Dec 2009, 12:21
by doo_much
Give us the url to your webpage?

Re: Jpegs Not Showing

Posted: 25 Dec 2009, 06:16
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.

Re: Jpegs Not Showing

Posted: 25 Dec 2009, 12:56
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.

Re: Jpegs Not Showing

Posted: 26 Dec 2009, 16:19
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

Re: Jpegs Not Showing

Posted: 26 Dec 2009, 17:12
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.....

Re: Jpegs Not Showing

Posted: 26 Dec 2009, 17:34
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.

Re: Jpegs Not Showing

Posted: 26 Dec 2009, 18:36
by doo_much
Glad you got it sorted! ;)

Re: Jpegs Not Showing

Posted: 04 Jan 2010, 11:50
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