forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 upgrading => Topic started by: marciesleo on February 06, 2006, 10:29:13 am

Title: Images use to show up, but now they are not
Post by: marciesleo on February 06, 2006, 10:29:13 am
I recently upgraded to 1.4 and everything seemed okay. But when I started uploading images and putting them into the albums the other images in the albums would not work, the thumbnails show but when you click for the full image it doesn't show I tried everything you guys recommended nothing works. I really would hate to redo my gallery since i have over 5000 images in it.

Here's my link
http://www.heartofdestiny.com/gallery

I also noticed the pics where really weird urls like this: http://www.heartofdestiny.com/gallery/albums/leongisele/leongisele%20%281%29.jpg

When it should have been: http://www.heartofdestiny.com/gallery/albums/leongisele/leongisele (1).jpg

Can someone please help.
Title: Re: Images use to show up, but now they are not
Post by: Joachim Müller on February 06, 2006, 10:36:24 am
as you require a login to browse your gallery, you should provide a non-admin test user account for supporters to take a look.

The "funny" URLs are expected behaviour and not related to the upgrade - they used to be the same in previous versions of coppermine, as a space character is not valid in a URL, and it's not web-safe (meaning: you shouldn't have uploaded files with spaces in the name in the first place if you wanted "clean" URLs in the first place). That's why the space get's replaced with it's equivalent %20. The same thing goes for brackets. Not everything you're allowed to do on your Windows box is good on a webserver (in most cases, webservers run under Lunix operating systems).
Title: Re: Images use to show up, but now they are not
Post by: marciesleo on February 06, 2006, 10:46:05 am
oops sorry about that. you can login using this:

username: test
password: testme

Click here  and you will see what I mean: http://www.heartofdestiny.com/gallery/displayimage.php?album=99&pos=8

It's not all pics just some here and there.
Title: Re: Images use to show up, but now they are not
Post by: Joachim Müller on February 06, 2006, 10:59:35 am
well, http://www.heartofdestiny.com/gallery/albums/leongisele/leongisele%20%281%29.jpg is not there - you can easily see that for yourself by browsing that folder (as you haven't disabled the index option for the albums folder): http://www.heartofdestiny.com/gallery/albums/leongisele/
What you actually have is http://www.heartofdestiny.com/gallery/albums/leongisele/leongisele_(1).jpg (note the underscore).
The upgrade process doesn't touch the filenames of the fullsize images, so I'm not sure what you did to get this sort of behaviour nor how to fix this (except re-adding the pics or manually fixing stuff directly on the database level with a tool like phpMyAdmin).
Title: Re: Images use to show up, but now they are not
Post by: marciesleo on February 06, 2006, 11:06:07 am
Yea I changed the filenames in the admin to see if it would pick up images but it didn't.

I don't know what happened but it looks like i am gonna have to start over from scratch. :(
Title: Re: Images use to show up, but now they are not
Post by: Joachim Müller on February 06, 2006, 11:09:03 am
no, don't start from scratch - why would you do this?

Yea I changed the filenames in the admin to see if it would pick up images but it didn't.
erm, you did what?
Title: Re: Images use to show up, but now they are not
Post by: marciesleo on February 06, 2006, 08:01:39 pm
I used the admin tool in the admin section of coppermine. This: Remove the .jpg ending and replace _ (underscore) with spaces

to see if it would help but it didn't. I recently upgraded from 1.3 to 1.4 I follow the instructions for the upgrade then after i did that i batch added new files to the previous albums i had made, but when I did the old files in the album got messed up. I don't know how that happened.

Someone please help.  :'(
Title: Re: Images use to show up, but now they are not
Post by: marciesleo on February 07, 2006, 11:26:25 pm
The upgrade process doesn't touch the filenames of the fullsize images, so I'm not sure what you did to get this sort of behaviour nor how to fix this (except re-adding the pics or manually fixing stuff directly on the database level with a tool like phpMyAdmin).

You recommended this what do i have to do?
Title: Re: Images use to show up, but now they are not
Post by: marciesleo on February 07, 2006, 11:46:58 pm
I think i figured out my problem when i did this: Remove the .jpg ending and replace _ (underscore) with spaces from the admin tools

it somehow didn't pick up in the database so when i rename my files to the way they were for example:

Before: leongisele_(1).jpg

After: leongisele (1).jpg

They worked this only happened with the full size images not the thumnbnails.

Is there a way to rename the files without having to do them manually?