4 replies [Last post]
explorers5000
explorers5000's picture
Offline
newbie
Last seen: 3 years 5 weeks ago
Timezone: GMT-7
Joined: 2011-08-09
Posts: 7
Points: 10

hey people,

i have a problem with the photo gallery.

on pages 6.html , 7.html , and 8.html some photos are not visible even though they are successful uploaded to images folder of public_html. i have also checked the codes but could not see anything wrong.

i cannot solve this by myself as i don't see anything wrong.

do you have any idea about why some photos are not visible?

photos that are not visible:

76.jpg
77.jpg
78.jpg
79.jpg
81.jpg
82.jpg
83.jpg
84.jpg
85.jpg
86.jpg
93.jpg
94.jpg
95.jpg
96.jpg
97.jpg
98.jpg
99.jpg
100.jpg
101.jpg
102.jpg
103.jpg
104.jpg
105.jpg
106.jpg
107.jpg

http://tercume.pro/gallery6.html
http://tercume.pro/gallery7.html
http://tercume.pro/gallery8.html

p.s. don't worry about the other links on the page this is not the real site

explorers5000
explorers5000's picture
Offline
newbie
Last seen: 3 years 5 weeks ago
Timezone: GMT-7
Joined: 2011-08-09
Posts: 7
Points: 10

trouble shot! those files got

trouble shot!

those files got a CAPITALIZED jpg extensions. example: for images/kw/093.jpg, the actual file is images/kw/093.JPG

now the question is how can i change the actual jpeg file without touching the code?

explorers5000 wrote:

hey people,

i have a problem with the photo gallery.

on pages 6.html , 7.html , and 8.html some photos are not visible even though they are successful uploaded to images folder of public_html. i have also checked the codes but could not see anything wrong.

i cannot solve this by myself as i don't see anything wrong.

do you have any idea about why some photos are not visible?

photos that are not visible:

76.jpg
77.jpg
78.jpg
79.jpg
81.jpg
82.jpg
83.jpg
84.jpg
85.jpg
86.jpg
93.jpg
94.jpg
95.jpg
96.jpg
97.jpg
98.jpg
99.jpg
100.jpg
101.jpg
102.jpg
103.jpg
104.jpg
105.jpg
106.jpg
107.jpg

http://tercume.pro/gallery6.html
http://tercume.pro/gallery7.html
http://tercume.pro/gallery8.html

p.s. don't worry about the other links on the page this is not the real site

explorers5000
explorers5000's picture
Offline
newbie
Last seen: 3 years 5 weeks ago
Timezone: GMT-7
Joined: 2011-08-09
Posts: 7
Points: 10

got it.. from the windows

got it..
from the windows folder option i just had to uncheck "hide file extensions.." now i can change the extensions.

explorers5000
explorers5000's picture
Offline
newbie
Last seen: 3 years 5 weeks ago
Timezone: GMT-7
Joined: 2011-08-09
Posts: 7
Points: 10

got it.. from the windows

got it..
from the windows folder option i just had to uncheck "hide file extensions.." now i can change the extensions.

gary.turner
gary.turner's picture
Offline
Moderator
Dallas
Last seen: 3 hours 15 min ago
Dallas
Timezone: GMT-5
Joined: 2004-06-25
Posts: 9230
Points: 3236

Ack! Windows is a juvenile

Ack! Windows is a juvenile os, or maybe just made for juveniles. Smile

Since your server has a modern os, you can use ssh to enter the image directory and run the following one-liner to change all JPG extensions to jpg.

 $ for f in *JPG; do mv $f `basename $f JPG`jpg; done

Be sure to test first.

cheers,

gary

Unplanned code results in a tangled wad of brain-cramping confusion.

There are enough html & css demos and tutorials to be interesting. Please visit.