Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: One Picture won't popup  (Read 3258 times)

0 Members and 1 Guest are viewing this topic.

reyn

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 26
One Picture won't popup
« on: November 20, 2003, 10:12:36 pm »

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
Logged

Oasis

  • VIP
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 252
  • iNSiGNiA
    • Pixnet Gallery
One Picture won't popup
« Reply #1 on: November 20, 2003, 11:22:55 pm »

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.
Logged
Pixnet Gallery: http://www.pixnet.net
iNSiGNiA Weblog: http://www.jayliu.org

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
One Picture won't popup
« Reply #2 on: November 21, 2003, 09:17:21 am »

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

GauGau
Logged

reyn

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 26
Tried again
« Reply #3 on: November 21, 2003, 11:06:43 pm »

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?
Logged

reyn

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 26
Some more Tests
« Reply #4 on: November 23, 2003, 05:50:32 pm »

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
Logged
Pages: [1]   Go Up
 

Page created in 0.021 seconds with 19 queries.