Hi Thomas, thanks for your fast answer.
Doesn't work for me.
I'm creating it now, so my albums aren't important, so I deleted all albums, photos and categories.
And then I made the changes. But for me all images, still are created in the same directory.
------------------------------------
this is my file picmgmt.inc.php
if ($crop != 1) {
$destWidth = (int)($srcWidth / $ratio);
$destHeight = (int)($srcHeight / $ratio);
$resize_commands = "-geometry ".$destWidth."x".$destHeight;
$xOffset = 0;
$yOffset = 0;
}
$dest_dir = dirname($dest_file); //create dir if not exist
if (! is_dir($dest_dir)) {
if (! mkdir($dest_dir, 0777, true)) {
return false;
}
}
------------------------------------------------
and this is my file searchnew.php
this is the original line 411: if ($CONFIG['display_thumbs_batch_add'] == 1) {
and this is the modified one: if (substr($directory,0,5) != "thumb" && substr($directory,0,6) != "normal") { // added do not show subdir thumb nor subdir normal
$return .= <<<EOT
<img src="showthumb.php?picfile=$pic_url&size=48" class="thumbnail" border="0" alt="" />
EOT;
}
as you can see I have put the "{" in the end of the 411 line, as there was before.
....
I also want to tell you that, I want to upload images in the future using the option "Batch", because I need that each album in one separeted folder. The reason I'm using coppermine is just to process photos ( resizing and archive features ), so after it, the images will be displayed in a Joomla site, using a slideshow.
Thanks for your effort and help.
Best regards,
Luciana
--------------------------------------------------------------------------