hi, i was using CPG 1.2 and it was working fine. i went to batch add pics and the directory lists in my "userpics" directory showed up. i have two subfolders in the "userpics" gallery, both chmod to 777 but when i clicked on the directory to place the files into appropiate albums, the thumbnail previews showed up as broken images. but when i added them to the albums, they showed up fine (full size and thumbnail showed up fine in the album list).
so i upgraded to1.3. now when i go to the batch add, the folders in the "userpics" directory dont show up. i get the text:
"This function allows you to add a batch of file that your have uploaded to your server by FTP.
Select the directory where you have uploaded your files"
but the directories arent there so i cant add anything. anyone know why?
mikey
You create a new folder in the albums directory, and upload your files into this new directory. Please check the manual.
yeah i just found some answers whle searching old posts. i just moved all my pics up one directory to the "albums" and not "userpics". (for years ive used CPG and put photos in 'userpics' and it worked fine.. so i didnt think to read up on that being the problem) and it works. but i get php errors above the new thumbnails area once i click onto a directory. everything still lists, but i get this: (i hid the absolute path for security reasons)
Notice: Undefined variable: fullimagesize in /home/.----/----/bradley----.net/photos/searchnew.php on line 136
Notice: Undefined variable: fullimagesize in /home/.----/----/bradley----.net/photos/searchnew.php on line 137
those lines are:
if (filesize($picname) && is_readable($picname)) {
//$fullimagesize = getimagesize($picname); COMMENTED OUT FOR VIDEO SUPPORT
$winsizeX = ($fullimagesize[0] + 16);
$winsizeY = ($fullimagesize[1] + 16);
what could that be?
mikey
the errors went away when i switched to "no" for intermediate pictures in the config.. weird
You moved directories to a new location but you didn't update your Coppermine database. If you use phpMyAdmin and examine the pictures table, you will see what I'm talking about. You have to update the image locations so Coppermine knows where to look for your pictures.
You shouldn't have moved the directories at all; you should have created new directories to ftp your images into and started using them for your new uploads. In fact, that's what I recommend you do - put the directories back to where they were, then create new directories in the /albums directory for your new uploads. Much easier than changing the paths for all of your pictures in the database.