Jpegs Not Showing
-
- Registered User
- Posts: 497
- Joined: 30 Apr 2007, 02:00
- Location: c:\program files\temp
- Contact:
Jpegs Not Showing
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?
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?
-
- Moderator Emeritus
- Posts: 6866
- Joined: 12 Dec 2003, 02:00
- Location: JHB
- Contact:
Re: Jpegs Not Showing
Sup!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?
Are you browing the site locally? Do you get the little white box with the red cross?
w_s
-
- Registered User
- Posts: 497
- Joined: 30 Apr 2007, 02:00
- Location: c:\program files\temp
- Contact:
Re: Jpegs Not Showing
if local, all works fine.
once uploaded to my webserver, no images.
once uploaded to my webserver, no images.
-
- Registered User
- Posts: 26022
- Joined: 13 May 2004, 02:00
- Location: Getting there...
- Contact:
Re: Jpegs Not Showing
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
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
-
- Registered User
- Posts: 20732
- Joined: 13 Sep 2004, 02:00
- Location: Cruising the streets of Pretoria
- Contact:
Re: Jpegs Not Showing
Well, does the image files point to online or local files? That might be your problem?Mclaren wrote:if local, all works fine.
once uploaded to my webserver, no images.
-
- Registered User
- Posts: 497
- Joined: 30 Apr 2007, 02:00
- Location: c:\program files\temp
- Contact:
Re: Jpegs Not Showing
I am sure they point to the files online. but i am pretty new to html so i cannot say for sure.
-
- 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
Use relative referencing.Mclaren wrote:I am sure they point to the files online. but i am pretty new to html so i cannot say for sure.
"../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
-
- Registered User
- Posts: 497
- Joined: 30 Apr 2007, 02:00
- Location: c:\program files\temp
- Contact:
Re: Jpegs Not Showing
this is the code : is it right ?
<img alt="Black Windows" src="images/snc00067.jpg" style="width: 314px; height: 235px;" />
<img alt="Black Windows" src="images/snc00067.jpg" style="width: 314px; height: 235px;" />
-
- Moderator Emeritus
- Posts: 6866
- Joined: 12 Dec 2003, 02:00
- Location: JHB
- Contact:
Re: Jpegs Not Showing
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 wrote:this is the code : is it right ?
<img alt="Black Windows" src="images/snc00067.jpg" style="width: 314px; height: 235px;" />
-
- Registered User
- Posts: 497
- Joined: 30 Apr 2007, 02:00
- Location: c:\program files\temp
- Contact:
Re: Jpegs Not Showing
tried, no luck, i wonder if something in my css style sheet is not causing the problem.
-
- 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
Is the style sheet in its own folder, i.e. "styles" ?Mclaren wrote:tried, no luck, i wonder if something in my css style sheet is not causing the problem.
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
-
- 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
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
-
- Registered User
- Posts: 26022
- Joined: 13 May 2004, 02:00
- Location: Getting there...
- Contact:
Re: Jpegs Not Showing
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
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
-
- Registered User
- Posts: 497
- Joined: 30 Apr 2007, 02:00
- Location: c:\program files\temp
- Contact:
Re: Jpegs Not Showing
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 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.
-
- 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
I have tried guessing the image address and opening it, but it says not found. Is your images directory readable?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 get some images on the index page though.
If I weren't insane: I couldn't be so brilliant! - The Joker
-
- Registered User
- Posts: 26022
- Joined: 13 May 2004, 02:00
- Location: Getting there...
- Contact:
Re: Jpegs Not Showing
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?
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
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
-
- Registered User
- Posts: 497
- Joined: 30 Apr 2007, 02:00
- Location: c:\program files\temp
- Contact:
Re: Jpegs Not Showing
andBladerunner 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.
so, both are right in some way: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?
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.....
-
- Registered User
- Posts: 497
- Joined: 30 Apr 2007, 02:00
- Location: c:\program files\temp
- Contact:
Re: Jpegs Not Showing
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.
-
- Registered User
- Posts: 26022
- Joined: 13 May 2004, 02:00
- Location: Getting there...
- Contact:
Re: Jpegs Not Showing
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
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
-
- Registered User
- Posts: 497
- Joined: 30 Apr 2007, 02:00
- Location: c:\program files\temp
- Contact:
Re: Jpegs Not Showing
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