Author Topic: Pics not showing  (Read 8301 times)

0 Members and 1 Guest are viewing this topic.

Offline roiphil

  • Hero Member
  • *****
  • Posts: 989
  • I did the 10,000 forum posting
    • Limerick Xmas Tree Centre
Pics not showing
« on: January 02, 2009, 11:20:10 AM »
Haveing trouble with some pics not showing http://www.ideasforgardens.net/gardenplantsbypost/, last night i worked through some of the plants that start with a c some pics are showing some are not the pics not showing are
Carex testacea prairie fire red switch
Colorado blue spruce
Cordyline australis Purpurea group
Cornus alba 'Sibirica'

also noticed this when i did the b plants

Berberis thunbergii
Buxus sempervirens

yet when i generate and view all pics are their, its only when i upload the pics disappear even though they are showing as being uploaded in my ftp programme, i am doing everthing the same way, its strange that some pics should appar and some not, any thoughts ideas on problem  ???
Thanks in advance

Phil

Online ideasguy

  • Administrator
  • Hero Member
  • *****
  • Posts: 6332
  • Just me
    • Ideas for Gardens
Re: Pics not showing
« Reply #1 on: January 02, 2009, 01:07:32 PM »
Lets take one plant photo as an example:
Berberis thunbergii

In your published WPG project, click to select the plant.
In the position where the photo should appear you will see a little box with an X.
RIGHT click on that image
Click properties.
Youll find the URL it is looking for is:
http://www.ideasforgardens.net/gardenplantsbypost/BERBERIS%20THUNBERGII%202.JPG

Ive logged in, and checked the server.
The image file name is:
http://www.ideasforgardens.net/gardenplantsbypost/berberis_thunbergii_2.jpg
If you click on thje above link youll see the image on the server.

I had this problem with Malcolm (I think) and will need to check over our correspondence to see how it was resolved.

The problem is related to the file name for the image on your computer.
Can you copy and paste the file name here so can see.
Somehow the system is substituting each underscore (possibly a space) with %20

PS: I see youve managed the "Grouping" style. Well done again. Web site is looking real good!

Offline roiphil

  • Hero Member
  • *****
  • Posts: 989
  • I did the 10,000 forum posting
    • Limerick Xmas Tree Centre
Re: Pics not showing
« Reply #2 on: January 02, 2009, 01:40:35 PM »
in the published online page picture properties are http://www.ideasforgardens.net/gardenplantsbypost/BERBERIS%20THUNBERGII%202.JPG

if i generate in IG then preview picture is showing and properties are file:///C:/igdata_sets/web/postal_plants/BERBERIS%20THUNBERGII%202.JPG

file name of pic on my pc in my pictures BERBERIS THUNBERGII 2

checked pic that is showing online Fagus sylvatica properties http://www.ideasforgardens.net/gardenplantsbypost/FAGUS%20SYLVATICA.JPG
IG generated/view properties file:///C:/igdata_sets/web/postal_plants/FAGUS%20SYLVATICA.JPG
file name of pic on my pc in my pictures Fagus sylvatica

yes been grouping, did not even use the tutorial as i find to learn by ones self is much better because you have less chance of forgetting, but your tutorials have come in handy

Phil

Online ideasguy

  • Administrator
  • Hero Member
  • *****
  • Posts: 6332
  • Just me
    • Ideas for Gardens
Re: Pics not showing
« Reply #3 on: January 02, 2009, 04:27:38 PM »
Ive done a test.
Ive dragged a file by name BERBERIS THUNBERGII 2.JPG to the temp folder on the server

It shows up exactly with that name

Are you sure your image file names dont have underscores. e.g.
BERBERIS_THUNBERGII_2.JPG

Offline roiphil

  • Hero Member
  • *****
  • Posts: 989
  • I did the 10,000 forum posting
    • Limerick Xmas Tree Centre
Re: Pics not showing
« Reply #4 on: January 02, 2009, 04:54:16 PM »
pic from my pc named exactly BERBERIS THUNBERGII 2 copied and pastedfrom picture properties in my ftp programme
picture is same name BERBERIS THUNBERGII 2 in the files upload section renamed to berberis_thunbergii_2.jpg, does that help

Online ideasguy

  • Administrator
  • Hero Member
  • *****
  • Posts: 6332
  • Just me
    • Ideas for Gardens
Re: Pics not showing
« Reply #5 on: January 02, 2009, 08:12:17 PM »
I dont understand where those underscores are coming from.

Can you that one file only from your Web Project folder into the folder on the server.
Does it change from BERBERIS THUNBERGII 2.jpg on your computer to to berberis_thunbergii_2.jpg  on the server?

Try looking at your settings in your FTP program.
In CuteFTP, click Tools, then Global Options
In FileZilla, on the Menu, click Edit, then Settings

Check your settings in Transfer Rules

Aaargh!
Ive checked in your folder on the server and see youve renamed the files!
OK, that solves the problem temporarily, but it means we didnt learn why it wasnt working.

« Last Edit: January 02, 2009, 08:27:43 PM by ideasguy »

Offline roiphil

  • Hero Member
  • *****
  • Posts: 989
  • I did the 10,000 forum posting
    • Limerick Xmas Tree Centre
Re: Pics not showing
« Reply #6 on: January 02, 2009, 09:10:59 PM »
well i fixed it copied pic of plant in my pics and renamed it as one word then in IG web make new thumnail from pic on pc that actually duplicates the plant delete the first plant with pic that was not working and hey presto pics are showing, now i need a lie down, i have no idea why it was happening on some and not on others as i tend to name my pics the same way i.e Acer Something,

yes i tried renaming files in my folder but that did not help in my options i have unticked replace spaces with under scores and convert to lower case always these are they only options i have

Phil

also had to change list of plants in ftp programe by deleteing the ones that were not working
« Last Edit: January 02, 2009, 09:16:55 PM by roiphil »

Online ideasguy

  • Administrator
  • Hero Member
  • *****
  • Posts: 6332
  • Just me
    • Ideas for Gardens
Re: Pics not showing
« Reply #7 on: January 02, 2009, 09:38:11 PM »
You got there by renaming, Phil, but we have learned something.

RE:
Quote
in my options i have unticked replace spaces with under scores and convert to lower case always these are they only options i have
That's what was causing the problem.

Anyone reading this, please beware.
As discussed above, please check the settings in your FTP program (as described above)
The WPG expects the name on the server to be EXACTLY as on your computer. If your FTP program changes spaces to underscores, then you will get the same problem as Phil.

In Windows operating system, text case is irrelevant.
PHOTO.JPG is the same as photo.jpg
On some non-windows servers, you have to be VERY careful with text case.
PHOTO.JPG  is NOT the same as PHOTO.jpg (jpg now lower case)
You can have both those entries in the same folder.
Slip up with a letter in the wrong case, and your URL doesn't work.

To Phil
Now you have changed those setting, please do a test when you have got your wind back   :)
I'd like to be sure it will work with file names with spaces,and it will re-assure our WPG'ists.
« Last Edit: January 02, 2009, 09:43:49 PM by ideasguy »

Offline roiphil

  • Hero Member
  • *****
  • Posts: 989
  • I did the 10,000 forum posting
    • Limerick Xmas Tree Centre
Re: Pics not showing
« Reply #8 on: January 03, 2009, 01:52:33 PM »
will do a test and let you know, watch this space

Offline roiphil

  • Hero Member
  • *****
  • Posts: 989
  • I did the 10,000 forum posting
    • Limerick Xmas Tree Centre
Re: Pics not showing
« Reply #9 on: January 03, 2009, 06:40:05 PM »
Well just done a couple of plants beginning with letter E and pics uploaded ok, will see how we get on with more later this week

Online ideasguy

  • Administrator
  • Hero Member
  • *****
  • Posts: 6332
  • Just me
    • Ideas for Gardens
Re: Pics not showing
« Reply #10 on: January 03, 2009, 08:10:43 PM »
The Escalonia photo is:
http://www.ideasforgardens.net/gardenplantsbypost/ESCALLONIA_LANGLEYENSIS_APPLE_BLOSSOM.JPG

Does it have underscores on your computer?

Try a photo with spaces Phil, and lets see if that is now working with your new settings.

Offline roiphil

  • Hero Member
  • *****
  • Posts: 989
  • I did the 10,000 forum posting
    • Limerick Xmas Tree Centre
Re: Pics not showing
« Reply #11 on: January 04, 2009, 01:56:39 PM »
yes to the under scores will do some more later today

UPDATE
Check out plant numbers 3, 4 and 15 all plants picture names have gaps in on my pc i.e Festuca amethystina Large Blue Fescue plant number 3 and all seems well

http://www.ideasforgardens.net/gardenplantsbypost/
« Last Edit: January 04, 2009, 02:32:46 PM by roiphil »

NightHawk

  • Guest
Re: Pics not showing
« Reply #12 on: January 04, 2009, 03:14:18 PM »
My experience of filename structure, especially since the newer versions of Windows Operating Systems, was that you could have filenames up to 256 characters long including spaces - not that any sane person would want any that length anyway.

So, if you're only going to be dealing with files on your own PC, you can get away with having spaces in the name.  But when you come to uploading those files onto independent servers for example, then the filenames are handled differently, because other systems expect a specific file structure.

I would not advise having filenames with spaces in them, even on your own PC, as at some stage you may want to move those files elsewhere, and a long re-naming process would have to be done to ensure compatibility.

Underscores instead of spaces is what I would advise as a general rule of thumb for all filenames, whether images or text documents.

Laurie.

Online ideasguy

  • Administrator
  • Hero Member
  • *****
  • Posts: 6332
  • Just me
    • Ideas for Gardens
Re: Pics not showing
« Reply #13 on: January 04, 2009, 04:31:48 PM »
To Phil
Good to see we have managed to solve that problem. Thanks for posting one with spaces.

Ive looked on the server, and see that both the files have a number of spaces, and to clear any other ambiguity, do not contain underscores and do not contan %20.

To summarise, the solution was to check the settings in the FTP program being used to upload the files to the server.
In CuteFTP, click Tools, then Global Options
In FileZilla, on the Menu, click Edit, then Settings

To Laurie
I agree completely. Thats a good standard to work to

I have to make the program cope with every permutation. You'd be amazed how much extra programming that entails.
Theres more work handling error events than in writing the "normal" code.


NightHawk

  • Guest
Re: Pics not showing
« Reply #14 on: January 04, 2009, 04:39:19 PM »
I have to make the program cope with every permutation. You'd be amazed how much extra programming that entails.
Theres more work handling error events than in writing the "normal" code.

George, you do a fantastic job there.  I take my hat off to you as a programmer.  The way you're able to manage these workarounds is amazing.  8)

Keep up the good work and we'll all support you to our best abilities.  ;D

Laurie.

Online ideasguy

  • Administrator
  • Hero Member
  • *****
  • Posts: 6332
  • Just me
    • Ideas for Gardens
Re: Pics not showing
« Reply #15 on: January 04, 2009, 09:27:01 PM »
Thanks Laurie. That makes it all worthwhile.
Its very encouraging to know the software is being used and appreciated i


Offline roiphil

  • Hero Member
  • *****
  • Posts: 989
  • I did the 10,000 forum posting
    • Limerick Xmas Tree Centre
Re: Pics not showing
« Reply #16 on: January 05, 2009, 08:08:54 PM »
To Phil
Good to see we have managed to solve that problem. Thanks for posting one with spaces.

Ive looked on the server, and see that both the files have a number of spaces, and to clear any other ambiguity, do not contain underscores and do not contan %20.

To summarise, the solution was to check the settings in the FTP program being used to upload the files to the server.
In CuteFTP, click Tools, then Global Options
In FileZilla, on the Menu, click Edit, then Settings

To Laurie
I agree completely. Thats a good standard to work to

I have to make the program cope with every permutation. You'd be amazed how much extra programming that entails.
Theres more work handling error events than in writing the "normal" code.



i am useing classic FTP because it was a free one that suited me nice and easy to use in options be sure to untick replace spaces with underscores, it worked for me so far, and to george your doing a fantastic job of helping everyone that needs your help from time to time, thankyou from me for all your help upto date,

to laurie good bit of advise on the underscores may have to start renaming differently

Phil

Online ideasguy

  • Administrator
  • Hero Member
  • *****
  • Posts: 6332
  • Just me
    • Ideas for Gardens
Re: Pics not showing
« Reply #17 on: January 05, 2009, 08:30:33 PM »
Nice to get that tidied up.

Filezilla is also free. It was discovered by greenfinger, so we have him to thank for introducing us to that neat litle piece of software.