Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Problem with blank spaces in image filename  (Read 3414 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

(https://forum.coppermine-gallery.net/proxy.php?request=http%3A%2F%2Fwww.mozilla.org%2Fproducts%2Ffirefox%2Fbuttons%2Fgetfirefox_small.png&hash=9f6d645801cbc882a52f0ee76cfeda02625fc537)

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.015 seconds with 14 queries.