One Picture won't popup One Picture won't popup
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

One Picture won't popup

Started by reyn, November 20, 2003, 10:12:36 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

reyn

I have one picture out of four which does not want to open a new popup window. I uploaded them individually using Image Upload.
The intermediate picture with the boat and anchor will not show the hand icon to allow a new window, the other three are fine.
The only difference I can see is that the picture is not as high as the other three.
http://www.kuckoo.co.uk/coppermine/index.php
Thanks
Frank

Oasis

You cannot click for the full-size image popup because it is already shown in fullsize.

You must have changed the intermediate picture dimension settings after you uploaded the first file, because from what I see, the first photo wasn't resized, while the others were.

Just delete the first file and upload it again, and it will be resized to your new dimensions.
Pixnet Gallery: http://www.pixnet.net
iNSiGNiA Weblog: http://www.jayliu.org

Joachim Müller

you won't have to delete an upload, you can also use "resize pictures" from admin menu.

GauGau

reyn

To try and prove the problem:
I removed all the pictures from the album database and from the server.
I have reset the config to default settings, I uploaded a dir of pictures using ftp and then used Batch upload to register them in the database.
All reported 'ok'
I now have two pictures that won't popup, the boat and anchor on page 1 and the tripper boat on page 2.
Perhaps the graphic's engine (GD v2) doesn't like the different picture sizes?
I have not altered anything after I reset config to default.

New Addition - 23/11/03
I have set up a local server with GD2 and Mysql and carried out the same activities as above, with the same results. Looking at the source behind the intermediate picture page, for some reason the two pictures that won't popup have no call to the MM_openBrWindow function.
Can someone tell me how this page gets built from the php.
This is the part code from two pages one that works and one that doesn't.

Works OK:

<!-- Start standard table -->
<table align="center" width="600" cellspacing="1" cellpadding="0" class="maintable">
        <tr>
                <td align="center" class="tableb" height="100" style="white-space: nowrap; padding: 0px;">
                        <table cellspacing="2" cellpadding="0" style="border: 1px solid #000000; background-color: #FFFFFF; margin-top: 30px; margin-bottom: 30px;">
                                <tr>
                                        <td>
                                                <a href="javascript:;" onClick="MM_openBrWindow('displayimage.php?pid=5&fullsize=1','144703fc0b47b296dd','scrollbars=yes,toolbar=yes,status=yes,resizable=yes,width=661,height=511')"><img src="albums/userpics/10001/normal_wb%20_0005.jpg" class="image" border="0" alt="Click to view full size image" /><br /></a>

                                               
                                        </td>
                                </tr>
                        </table>

                </td>
        </tr>
</table>
<!-- End standard table -->


Does not work:

<!-- Start standard table -->
<table align="center" width="600" cellspacing="1" cellpadding="0" class="maintable">
        <tr>
                <td align="center" class="tableb" height="100" style="white-space: nowrap; padding: 0px;">
                        <table cellspacing="2" cellpadding="0" style="border: 1px solid #000000; background-color: #FFFFFF; margin-top: 30px; margin-bottom: 30px;">
                                <tr>
                                        <td>
                                                <img src="albums/userpics/10001/normal_wb%20_0017.jpg" width="645" height="397" class="image" border="0" /><br />

                                               
                                        </td>
                                </tr>
                        </table>

                </td>
        </tr>
</table>
<!-- End standard table -->


Thank's
Frank
 http://www.kuckoo.co.uk/coppermine/index.php?

reyn

Try this, make two pictures one at 645x401 and the other 645x400 and then batch import them. Can you get both to popup the full size window?
What I get using GD2 is a normal_ size of 643x400 for the first one and 645x400 for the second one ie: the same size.
Thanks
Frank