forum.coppermine-gallery.net

Support => Older/other versions => cpg1.1.X Support (standalone) => Topic started by: sbpoole on October 08, 2003, 07:33:53 am

Title: Batch Upload: Thumbnail's not showing nor result indicators
Post by: sbpoole on October 08, 2003, 07:33:53 am
After I choose batch upload images from a folder already present on the server, the small thumbnails do not show on the screen where you choose the images for adding to the album by selecting the checkboxes.  After the page is done and I choose to add the images, the icons for the success results does not show either.  Other than that everything is fine.  Pictures and thumbnails are added to the albums just fine.  Any thoughts?  Thanks
Title: Batch Upload: Thumbnail's not showing nor result indicators
Post by: Joachim Müller on October 08, 2003, 09:52:49 am
Link? Screenshot?

Are there broken images instead, or nothing at all? Maybe you can provide an html source code listing of the searchnew.php page when the thumbs don't show...

Thanks!

GauGau
Title: screen shots
Post by: sbpoole on October 08, 2003, 05:18:37 pm
Thanks gaugau for your quick reply.  Here is some screen shots of the problem.  Other than these 2 problems, everything else is fine.  Photos and thumbnails are correctly added to the album and display with no problems.  I just can't see what is being added or if they were successfully added.  There is an error displayed at the top of the first screen shot.  I believe that it is the result in my trying to eliminate the displaying of the full sized images by commenting out the following line in displayimage.php

//4th line executes full sized picture---it is now ignored
        if (isset($image_size['reduced'])) {
                $winsizeX = $CURRENT_PIC_DATA['pwidth'] + 16;
                $winsizeY = $CURRENT_PIC_DATA['pheight'] + 16;
                //$pic_html = "<a href=\"javascript:;\" onClick=\"MM_openBrWindow('displayimage.php?pid=$pid&fullsize=1','".uniqid(rand())."','toolbar=yes,status=yes,resizable=yes,width=$winsizeX,height=$winsizeY')\">";
                $pic_html .= "<img src=\"".$picture_url."\" {$image_size['geom']} class=\"image\" border=\"0\" alt=\"{$lang_display_image_php['view_fs']}\" /><br />";
                $pic_html .= "</a>\n";
        } else {rder=\"0\" /><br />\n";
        }


(https://forum.coppermine-gallery.net/proxy.php?request=http%3A%2F%2Fwww.sonnypoole.com%2Ftemp%2Fbatch_upload.jpg&hash=a1993c18fb97b54664984e3826aca56d0b29ca9e)
(https://forum.coppermine-gallery.net/proxy.php?request=http%3A%2F%2Fwww.sonnypoole.com%2Ftemp%2Finsert_selected.jpg&hash=69e88841f43de6b1a6aa4b17f01323b9ff2da0b2)
Title: Batch Upload: Thumbnail's not showing nor result indicators
Post by: Joachim Müller on October 09, 2003, 07:58:30 am
please do a right-click - properties on the broken images and post what url they're referencing to.

GauGau
Title: Batch uploads
Post by: sbpoole on October 10, 2003, 09:49:08 pm
Right click is disabled.  Sorry.  Thanks for you time in this matter.  Guess I'll have to live with it, don't know much about php programming!  Problem seem to be line #109 of searchnew.php.  Sonny
Title: Batch Upload: Thumbnail's not showing nor result indicators
Post by: kegobeer on October 10, 2003, 10:54:38 pm
I think this might be an easy fix.  You said
Code: [Select]
//4th line executes full sized picture---it is now ignored
if (isset($image_size['reduced'])) {
$winsizeX = $CURRENT_PIC_DATA['pwidth'] + 16;
$winsizeY = $CURRENT_PIC_DATA['pheight'] + 16;
//$pic_html = "<a href=\"javascript:;\" onClick=\"MM_openBrWindow('displayimage.php?pid=$pid&fullsize=1','".uniqid(rand())."','toolbar=yes,status=yes,resizable=yes,width=$winsizeX,height=$winsizeY')\">";
$pic_html .= "<img src=\"".$picture_url."\" {$image_size['geom']} class=\"image\" border=\"0\" alt=\"{$lang_display_image_php['view_fs']}\" /><br />";
$pic_html .= "</a>\n";
} else {rder=\"0\" /><br />\n";
}
The 4th and 5th lines are actually one big line of code; comment out the 5th also and your error should go away.
Title: Batch uploads
Post by: sbpoole on October 10, 2003, 11:27:18 pm
Thanks for your help but, the 4th and 5th line are still just one line.  When I pasted it into this forum it wrapped it into two lines.  I have undone the change that I had made and I still get the same results.  Displayimage.php is now the original, unmodified file.
Title: Batch Upload: Thumbnail's not showing nor result indicators
Post by: kegobeer on October 10, 2003, 11:36:46 pm
Have you made any changes to searchnew.php?
Title: Batch uploads
Post by: sbpoole on October 11, 2003, 05:51:50 am
I am using the original searchnew.php file.  I can ftp some new files to a folder album that already exists, and then when I choose to batch upload the images from that folder in to an existing album, the images that I already have in my album will be displayed correctly but the new ones will not, just a square jpg box.  Same goes for the result page.  Icons do not show if the new images are successfully added, although they are added to the album correctly.  Thanks again for your efforts.  Sonny
Title: Batch Uploads: Problem Fixed
Post by: sbpoole on October 12, 2003, 08:42:27 pm
Seems as though I had an error in my themes.php file.  Not sure where, I reuploaded the original and made my customizations again.  Now it works like it is supposed to!  Thanks for all of your help.
Title: Re: Batch Upload: Thumbnail's not showing nor result indicators
Post by: Joachim Müller on January 09, 2005, 08:55:26 pm
Split unrelated replies and moved the new thread to the proper support board: http://forum.coppermine-gallery.net/index.php?topic=13484.0

Joachim
Title: Re: Batch Upload: Thumbnail's not showing nor result indicators
Post by: tvbsquare on July 20, 2006, 02:33:30 am
Please also help mine, my pictures are not uploaded correctly.

URL: http://gallery.tvbsquare.com

Please see the screen capture:
(https://forum.coppermine-gallery.net/proxy.php?request=http%3A%2F%2Fi28.photobucket.com%2Falbums%2Fc224%2Ftvbsquare%2Fhelp.jpg&hash=1784d71e447cc420a1596dd7ad6dffe02209fb90)

I also have the URL address for the thumbnail:
one of them is: http://gallery.tvbsquare.com/showthumb.php?picfile=screencaps%2FForensic+Heroes%2F01.JPG&size=48
Title: Re: Batch Upload: Thumbnail's not showing nor result indicators
Post by: Joachim Müller on July 20, 2006, 06:37:54 am
This thread is on the very, very outdated version cpg1.1. You appear to be running cpg1.3.4, so you shouldn't have tried to hijack this thread. Respect board rules. Locking.