Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: Problem with blank spaces in image filename  (Read 3398 times)

0 Members and 1 Guest are viewing this topic.

mscrw

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Problem with blank spaces in image filename
« on: January 02, 2004, 05:09:26 pm »

My gallery doesn't display images that have a blank space in the file name.  For example, I inserted an image named 001 a.jpg, which appears as 001%20a.jpg to my IE browser and as 001 a.jpg in the directory (using ftp).

I can't view the image even by pasting either of the urls into my browser.  I was having the same problem with duplicated filenames but I solved it by replacing the ~ character with a regular letter (I used a "q").

How can I make db_input.php replace the blank space in the filename with a letter or number?

Thanks
Logged

hyperion

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Posts: 1317
  • - retired -
Problem with blank spaces in image filename
« Reply #1 on: January 02, 2004, 05:22:52 pm »

What is your operating system?
Logged
"Then, Fletch," that bright creature said to him, and the voice was very kind, "let's begin with level flight . . . ."

-Richard Bach, Jonathan Livingston Seagull

(http://www.mozilla.org/products/firefox/buttons/getfirefox_small.png)

mscrw

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Problem with blank spaces in image filename
« Reply #2 on: January 02, 2004, 06:16:50 pm »

The company that hosts my website says that it's a "Linux based system".
Logged

mscrw

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Problem with blank spaces in image filename
« Reply #3 on: January 02, 2004, 07:12:21 pm »

I fixed it by inserting a space in with the characters that aren't allowed - now it replaces blank spaces with an underscore and displays the images fine.
Logged

jdcdesigns

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: Problem with blank spaces in image filename
« Reply #4 on: October 01, 2004, 07:05:13 pm »

Logged
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 19 queries.