PDA

View Full Version : Uploading error


vikram
03-07-2008, 08:00 PM
II am trying to upload the images through the web interface. However as soon as I upload an image, the web view goes for a toss with the newly uploaded image. However previous impages appear fine.

Please check out the link to see what I mentioned.
http://www.vikramchopra.com/shutterbug

Thanks in advance

Dennis
03-07-2008, 08:10 PM
There is a space in the image name. This is the reason why it doesn't work. Spaces and linux systems tend to get difficult sometimes.

vikram
03-07-2008, 08:18 PM
Renamed the image and tried. It's still messed up. Unable to figure out what's happening.

Dennis
03-08-2008, 06:24 AM
renaming will not work since the name is also stored in the database. You need to change that one as well.

You can use PHPMyAdmin for that, the name is located in the pixelpost_pixelpost table. Make sure you also rename your template.

So, here are the steps:
1. Rename the filename in the database using PHPMyAdmin in the pixelpost_pixelpost table. Replace the space with an underscore

2. use FTP to rename the image in the images folder. Replace the space with an underscore

3. use FTP to rename the thumbnail in the thumbnails folder. Replace the space with an underscore