Author Topic: Problem with ONE picture  (Read 5873 times)

Offline hidden

  • The Fisherman
  • Global Moderator
  • Senior Member
  • *****
  • Posts: 4570
    • Jigs Fishing Lures
Problem with ONE picture
« on: February 20, 2009, 05:43:22 AM »
After inserting two new pictures in my Captures Photo Gallery, one of them can't be seen with FireFox (Address Not Found message)... No problem with the second and hundred more photos previously inserted.

Facts:
- Both have a name as Xyyyyy_Xyyyyy (note capital initial letters) (different names, off course...)
- Both have been resized to fit different places within the site
- Both are OK with Internet Explorer
- Both have been Photoshoped and saved as JPG during the same Photoshop session.

The tricky photo:
- With FFx, when cursor pointed it shows a rollover text correct, with capital initial letters, BUT... on status bar appears with ALL LOW CASE letters...
- With IE, when pointed it appears with CAPITAL initials letters on both rollover text and status bar
- If I type the correct name (with capital initials) on the browser bar, after clicking the text on the browser bar CHANGES the capital letters to low case and, off course, it doesn't find it because it was FTP loaded with capitals.

Then,
I RENAMED the photo on the server, making all low case letters, but it still not found with FFx

I've spent more than two hours with this puzzle finding no explanation... can any one tell me what is going on with this ........  photo?  >:(

  :surrender: :P

Thanks
 :D

Anyone who has never owned a dog can't know what loving and being loved mean- ARTHUR SCHOPENHAUER 

Offline hidden

  • Sami
  • Administrator
  • Senior Member
  • *****
  • Posts: 5924
  • Not a geek. Just a Nerd.
    • CSB Tutorials
Re: Problem with ONE picture
« Reply #1 on: February 20, 2009, 09:05:18 AM »
naming in general:
1) on linux/unix server, capitalization is VITAL.  PHOTO.jpg, PHoto.jpg, Photo.jpg, photo.jpg are four different files. If your file name is PHOTO.jpg and you link to photo.jpg your image will NOT appear to be found.
2) on a windows server, capitalization is unimportant.  PHOTO.jpg, PHoto.jpg, Photo.jpg, photo.jpg are ALL the SAME file. If your file name is PHOTO.jpg and you link to photo.jpg your image will be found.

If switching from a WINDOWS server to Linux and did not have your file names exactly match your code, they will all break. 
 :ximage:
If switching from a LINUX server to Windows and multiple versions of the same file were stored, then windows will only allow ONE of them.

SO.... It is EXTREMELY important that the file names be very consistent with the written code no matter which server you are on because you don't know what the future holds for the site!  Recommend using lower case when possible.

===============

When you insert a picture into a web page it is actually a two part process:
uploading a photo, and inserting a code to pull the photo into the page
CSB does both for you when you insert an image into the CSB design page.
There could be a problem with the photo itself, OR the link. 
Please provide a non-linked address for the page with the offending photo (h**p//.....) so we can see the code AND seek the offending image.

In your case we need some answers to help diagnose:
- what is the name of the image file?
- How large is it?  width by height   and how many kb?
- If being placed in a table, try to insert a NEW table and insert it into that
- use all lower case for the naming and the link (you said you did, was just reiterating best case)
- how many photos are in the page?
- how many photos are in the design file?
- can you place a DIFFERENT image into that page successfully where you have placed the bad one?
- do you get the same error when you put a different image on that page?
- can you put the bad image into a different page without the error?
- do you have another image with the SAME NAME somewhere else in the design file?
- is the offending photo in jpg LOSSLESS format?  that type of photo is not to be used.

There is of course a workaround that works great and is easy but we should identify WHY it is happening.
1) upload image to webspace with FTP software
2) insert a piece of HTML code into CSB to pull the image into the web page.
Code: [Select]
<IMG SRC="nameofyourgraphic.jpg" border=0 ALT="your description is here!!!" TITLE="your description is here!!!"  ALIGN="BOTTOM" HSPACE="0" VSPACE="0">IE uses the ALT tag for a TOOLTIP.  FF uses the TITLE tag for a TOOLTIP, even on photos! So you can use both of them for best effect.


 :ximage:
« Last Edit: February 20, 2009, 09:22:36 AM by Samrc »
-Samantha
TNG: "Sometimes, you can make no mistakes, do everything right, and still lose" - Capt Picard to Data
(:turtle: In memory of Turtle: May 22, 1944 - Nov 24, 2007  GURU, mentor, and really nice guy! :turtleleft: )

Offline hidden

  • The Fisherman
  • Global Moderator
  • Senior Member
  • *****
  • Posts: 4570
    • Jigs Fishing Lures
Re: Problem with ONE picture
« Reply #2 on: February 20, 2009, 11:32:46 AM »
Thank you Sami.
I'm aware of the importance of linking using exactly the same capitalization.  :yes:

I will answer all your questions later (short of time right now...), meanwhile, take a look at the incriminated  image here h**p://www.iarfish.com/test-iar/index.htm.  It is the one on the left of the two pictures beneath the main and large top lady picture holding a big fish, is a diabolic blue fish with a green lure in its mouth, the thumbnail  image name is: Gaetano_Sciabola_EH3.jpg and it is repeated (smaller, with different name) on top right of the same page and again in the Photo Gallery . 
The one just to its right was inserted at the same time, using same process, note that it also has Capital initials: Aureliano_Barra2.jpg,  both Photoshoped and JPG format saved. 

All thumbnails of the offending photo are linked to a main and larger original picture, loaded to my server with a FTP program and named (renamed) gaetano_sciabola.jpg

The problem is ONLY with FFx, because it works fine with IEx, which means that the work done within CSB and the FTP image on the server was OK


Sami, there was a blackout minutes ago (I had to write this post twice…) and my server seems to be out, just in case you can't get with the address
Anyone who has never owned a dog can't know what loving and being loved mean- ARTHUR SCHOPENHAUER 

Offline hidden

  • The Fisherman
  • Global Moderator
  • Senior Member
  • *****
  • Posts: 4570
    • Jigs Fishing Lures
Re: Problem with ONE picture
« Reply #3 on: February 20, 2009, 11:46:26 AM »
Yes, confirmed.
My server is down. Try later


now 5:45 p.m.
Anyone who has never owned a dog can't know what loving and being loved mean- ARTHUR SCHOPENHAUER 

Offline hidden

  • Sami
  • Administrator
  • Senior Member
  • *****
  • Posts: 5924
  • Not a geek. Just a Nerd.
    • CSB Tutorials
Re: Problem with ONE picture
« Reply #4 on: February 20, 2009, 12:56:54 PM »
Yes site is down...got it for 2 seconds and it crashed trying to load.  12:55pm here  +5 hours = 5:55pm your time.


Maybe that fish does not want to be shown???
-Samantha
TNG: "Sometimes, you can make no mistakes, do everything right, and still lose" - Capt Picard to Data
(:turtle: In memory of Turtle: May 22, 1944 - Nov 24, 2007  GURU, mentor, and really nice guy! :turtleleft: )

Offline hidden

  • The Fisherman
  • Global Moderator
  • Senior Member
  • *****
  • Posts: 4570
    • Jigs Fishing Lures
Re: Problem with ONE picture
« Reply #5 on: February 20, 2009, 01:22:09 PM »
Is really diabolic... you will see it!  :ss-shocked:

The server still down  :(




P.S.
Sami, have you read my last three MP?
Anyone who has never owned a dog can't know what loving and being loved mean- ARTHUR SCHOPENHAUER 

Offline hidden

  • The Fisherman
  • Global Moderator
  • Senior Member
  • *****
  • Posts: 4570
    • Jigs Fishing Lures
Re: Problem with ONE picture
« Reply #6 on: February 20, 2009, 01:53:13 PM »
QUOTE:

In your case we need some answers to help diagnose:

- what is the name of the image file?
The name of the image FTP loaded is:   gaetano_sciabola.jpg
The local images are linked to that name


- How large is it?  width by height   and how many kb?
Has been inserted in two different sizes in four different places. First  size: 400 x 210 inserted in home page only, 60 Kb.  Second size: 100 x 75 inserted as thumbnails in home page, photo gallery and EH Style page (id25), 20 Kb

- If being placed in a table, try to insert a NEW table and insert it into that
Yes, all have been inserted in tables. I will do it after your checking…  ;)

- use all lower case for the naming and the link (you said you did, was just reiterating best case)
Done, the link IS indeed lower case, as the name of the main image FTP loaded

- how many photos are in the page?
19 linkable photos on home page, ONLY THAT ONE presents problems...

- how many photos are in the design file?
??   a lot… !! hundreds...

- can you place a DIFFERENT image into that page successfully where you have placed the bad one?
YES!!

- do you get the same error when you put a different image on that page?
NO!!

- can you put the bad image into a different page without the error?
NO!! was done in three different pages and got error on ALL

- do you have another image with the SAME NAME somewhere else in the design file?
NO

- is the offending photo in jpg LOSSLESS format?  that type of photo is not to be used.
LOSSLESS ??  ???   :-\




I forgot...

Clicking on ALL thumbnails from CSB the link WORKS FINE, but it doesn't in Preview mode (using FFx)

Server is UP   8:00 p.m.
« Last Edit: February 20, 2009, 02:01:41 PM by Tony41 »
Anyone who has never owned a dog can't know what loving and being loved mean- ARTHUR SCHOPENHAUER 

Offline hidden

  • Sami
  • Administrator
  • Senior Member
  • *****
  • Posts: 5924
  • Not a geek. Just a Nerd.
    • CSB Tutorials
Re: Problem with ONE picture
« Reply #7 on: February 20, 2009, 05:37:42 PM »
OK....I have an answer for you!
And you will KICK yourself once you see it.  SO simple yet so deadly too!

Here is the CSB code for the two pictures below the woman holding the fish.
The first piece is from the LEFT diabolical fish.
The second is from the RIGHT ordinary fish.
Can you see the difference when you look at it like this??????

Code: [Select]
<A HREF="h**p://www.iarfish.com\gaetano_sciabola.jpg" TARGET="_top"    TITLE="h**p://www.iarfish.com\gaetano_sciabola."><U><IMG SRC="68b90d20.jpg" border=0 width="400" height="210" ALIGN="BOTTOM" HSPACE="0" VSPACE="0"></U></A>


<A HREF="h**p://www.iarfish.com/Aureliano_Barra.jpg" TARGET="_top"    TITLE="h**p://www.iarfish.com/Aureliano_Barra.j"><U><IMG SRC="68ac8e80.jpg" border=0 width="200" height="232" ALIGN="BOTTOM" HSPACE="0" VSPACE="0"></U></A>

The BAD code has backward slashes.  \\\\\\\
The GOOD code has forward slashes.  ///////
Links on websites ALL need to be forward.

When you added a link to the bad image YOU typed the link wrong:
h**p://www.iarfish.com\gaetano_sciabola.jpg

And it should have been:
h**p://www.iarfish.com/gaetano_sciabola.jpg


As to why it only fails in Firefox...
Well MICROSOFT is the problem here, NOT Firefox.
Addresses in your own computer are backward slashes \
But web addresses are forward slashes /
Since Microsoft makes your computer operating system AND internet explorer, Microsoft ALLOWS you to type the address wrong when they should not.


SO...correct the link address and your evil fish will appear.
ALSO, if you choose BLANK instead of TOP, your fish will appear in a separate window or tab instead of replacing the current window.  Just a thought....


AND still must report to you that you STILL have the problem that iarfish.com MUST have www in front of it.
You should be able to reach the site WITH or WITHOUT the www!!!!


-Samantha
TNG: "Sometimes, you can make no mistakes, do everything right, and still lose" - Capt Picard to Data
(:turtle: In memory of Turtle: May 22, 1944 - Nov 24, 2007  GURU, mentor, and really nice guy! :turtleleft: )

Offline hidden

  • The Fisherman
  • Global Moderator
  • Senior Member
  • *****
  • Posts: 4570
    • Jigs Fishing Lures
Re: Problem with ONE picture
« Reply #8 on: February 21, 2009, 04:19:48 AM »
 :-[ :-[ :-[

What to say...
I told that I was dealing with the problem for long time without seeing any solution... well I didn't see the backslash   :-\  To say the truth, I didn't even look too much at it, because it worked fine with CSB and IEx, so I gave for good the link syntax; you know, yo expect that if you write a code syntax in a wrong way IT SHOULD NOT WORK AT ALL. I knew that something was wrong with THAT picture, but I couldn't see the problem... I was almost entering in the Twilight Zone... that satanic fish straight looking at me and saying... GOTCHA!!  rofl

Thanks to you Sami, I didn't have to call an Exorcist !!    rofl rofl rofl

Hope this thread can help others that, like me, are often confused with the correct use of slashes.





Ref. to www, I called my server the first time you advice me, but in this country is very difficult to talk with a very interested people intended to help customers... you talk to a CALL CENTER, with hundreds of part-time or occasional employees, mostly young people, that in most cases, doesn't know how to help. I was "...asking for an abnormal thing... everybody MUST use the www !! ... Sir ! "              :-\



P.S.
Sorry for my  previous "off course", my keyboard "F" key is bouncing...    rofl rofl

Anyone who has never owned a dog can't know what loving and being loved mean- ARTHUR SCHOPENHAUER 

Offline hidden

  • Sami
  • Administrator
  • Senior Member
  • *****
  • Posts: 5924
  • Not a geek. Just a Nerd.
    • CSB Tutorials
Re: Problem with ONE picture
« Reply #9 on: February 21, 2009, 10:24:15 AM »
Glad your situation is resolved.
 :boogie: :boogie: :boogie:

Microsoft does us all a disfavor by not making that /\ and error in Internet Explorer.
I am glad you use both browser to test your site so you could find the error.

I learned about this \ the hard way, just like you.  Everyone learns of it that way.
But yours being attached to THAT FISH!    :yuck:
I would not have lifted that thing from the water...!  It is toooo scary.
What kind of fish is that thing???
-Samantha
TNG: "Sometimes, you can make no mistakes, do everything right, and still lose" - Capt Picard to Data
(:turtle: In memory of Turtle: May 22, 1944 - Nov 24, 2007  GURU, mentor, and really nice guy! :turtleleft: )

Offline hidden

  • The Fisherman
  • Global Moderator
  • Senior Member
  • *****
  • Posts: 4570
    • Jigs Fishing Lures
Re: Problem with ONE picture
« Reply #10 on: February 21, 2009, 10:43:10 AM »
It's called "pesce sciabola" ("sabre fish") by means of his elongated sword body shape. Is +/- one yard long  :o


...but this is definitely much, much scarier:



 :ss-shocked: :ss-shocked: :ss-shocked: :ss-shocked:



(Notice the thumb of the fisherman inside the fish mouth...)
 rofl
Anyone who has never owned a dog can't know what loving and being loved mean- ARTHUR SCHOPENHAUER 

Offline hidden

  • Sami
  • Administrator
  • Senior Member
  • *****
  • Posts: 5924
  • Not a geek. Just a Nerd.
    • CSB Tutorials
Re: Problem with ONE picture
« Reply #11 on: February 21, 2009, 11:01:40 AM »
 :ss-shocked:  Is that REALLY a thumb?
That is one MEAN looking fish!   Is it edible or just a trophy fish?

-Samantha
TNG: "Sometimes, you can make no mistakes, do everything right, and still lose" - Capt Picard to Data
(:turtle: In memory of Turtle: May 22, 1944 - Nov 24, 2007  GURU, mentor, and really nice guy! :turtleleft: )

Offline hidden

  • The Fisherman
  • Global Moderator
  • Senior Member
  • *****
  • Posts: 4570
    • Jigs Fishing Lures
Re: Problem with ONE picture
« Reply #12 on: February 21, 2009, 12:02:21 PM »
Yes, it is a thumb...

Edible? well, the local people do eat them, and seem to be very appreciated.
This one was caught by a friend of mine in the Rio Orinoco, Venezuela. Weight: 39 lbs   :o







P.S.
Sami, your MP service is not working...
Anyone who has never owned a dog can't know what loving and being loved mean- ARTHUR SCHOPENHAUER 

Offline hidden

  • Sami
  • Administrator
  • Senior Member
  • *****
  • Posts: 5924
  • Not a geek. Just a Nerd.
    • CSB Tutorials
Re: Problem with ONE picture
« Reply #13 on: February 22, 2009, 08:34:43 AM »
Quote
Sami, your MP service is not working...
The PM service IS working.  I just haven't had time to write something up. sorry.  Will post it publically on the original thread.
-Samantha
TNG: "Sometimes, you can make no mistakes, do everything right, and still lose" - Capt Picard to Data
(:turtle: In memory of Turtle: May 22, 1944 - Nov 24, 2007  GURU, mentor, and really nice guy! :turtleleft: )