Not signed in (Sign In)

Vanilla 1.1.10 is a product of Lussumo. More Information: Documentation, Community Support.

    • CommentAuthorDillusion
    • CommentTimeMay 15th 2008
     
    I'm using plogger on another website for a friend, and once again it's not working as it should.

    Website Here:
    http://susansobel.com/index.php

    notice when you click on a thumbnail for the enlarged version, it does nothing.

    has anyone seen this before?

    Thanks in advance
    •  
      CommentAuthorsidtheduck
    • CommentTimeMay 16th 2008
     
    Dillusion,

    How are you including the script? Can you post your code for index.php here?
    • CommentAuthorDillusion
    • CommentTimeMay 16th 2008
     
    Sure,

    <?php

    require("plogger/gallery.php");
    $GLOBALS['plogger_level'] = "album";
    $GLOBALS['plogger_id'] = "2";

    ?>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <?php the_gallery_head(); ?>
    <title>Susan Sobel - Decorative Artist</title>
    <LINK REL="STYLESHEET" TYPE="text/css" HREF="css/susans.css">
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

    </head>

    <body>

    <table width="680" border="0" cellspacing="0" cellpadding="0" align="center">

    <tr>
    <td>
    <table width="680" border="0" cellspacing="0" cellpadding="0" align="center">
    <tr>
    <td width="33"></td>
    <td><img src="images/ss_header.gif" height="109" width="631" border="0"></td>
    <td width="16"></td>
    </tr>
    </table>
    </td>
    </tr>

    <tr>
    <td>
    <table width="680" border="0" cellspacing="0" cellpadding="0" align="center">
    <tr>
    <td width="33"></td>
    <td><a href="index.php"><img src="images/home.gif" width="69" height="57" border="0"></a></td>
    <td><a href="dec_faux.php"><img src="images/dec_faux.gif" width="137" height="57" border="0"></a></td>
    <td><a href="murals.php"><img src="images/murals.gif" width="125" height="57" border="0"></a></td>
    <td><a href="placemats.php"><img src="images/placemats.gif" width="123" height="57" border="0"></a></td>
    <td><a href="med.php"><img src="images/pricing.gif" width="90" height="57" border="0"></a></td>
    <td><a href="contact.html"><img src="images/contact.gif" width="87" height="57" border="0"></a></td>
    <td width="16"></td>
    </tr>
    </table>
    </td>
    </tr>

    <tr>
    <td>
    <table width="680" border="0" cellspacing="0" cellpadding="0" align="center">
    <tr>

    <td width="120" class="back" height="100%"></td>

    <td width="471" class="back3"><?php the_gallery(); ?></td>

    <td width="89" class="back2" height="100%"></td>

    </tr>
    </table>

    [...] SNIP [...]

    Its the basic includes/requires with a suggestion from yourself in a previous thread to go straight to the album when displayed.
    •  
      CommentAuthorsidtheduck
    • CommentTimeMay 16th 2008 edited
     
    This is what is causing your Plogger installation to be stuck on that album only.$GLOBALS['plogger_level'] = "album";
    $GLOBALS['plogger_id'] = "2";


    Do you only want to show that one album? If so, you may want to wrap the above the following code:if ($_GET['level']!="picture"){
    $GLOBALS['plogger_level'] = "album";
    $GLOBALS['plogger_id'] = "2";
    }
    • CommentAuthorDillusion
    • CommentTimeMay 16th 2008
     
    The album listing is fine, but when I click on an Image it does not enlarge. Normally, when you click a thumbnail it takes you to the larger version...this is not doing so.
    •  
      CommentAuthorDeeJayOdie
    • CommentTimeMay 17th 2008
     
    sidtheduck,
    The reason nothing happens when you click on each thumbnail is because each link keeps pointing back to the index page.
    Each link looks like this: <a href="/index.php?level=picture&amp;id=11">. The "index.php" part should not be there and that is what I believe is causing it not to work. Why this is happening, I can't tell you without seeing the actual code. I hope this helps.
    •  
      CommentAuthorsidtheduck
    • CommentTimeMay 17th 2008
     
    Posted By: DillusionThe album listing is fine, but when I click on an Image it does not enlarge. Normally, when you click a thumbnail it takes you to the larger version...this is not doing so.
    Did you add this part per my post?if ($_GET['level']!="picture"){That should really clear things up.

    Posted By: DeeJayOdieThe "index.php" part should not be there and that is what I believe is causing it not to work. Why this is happening, I can't tell you without seeing the actual code. I hope this helps.
    Nah, the 'index.php' part is not the problem. It's the $GLOBALS overriding any of the $_GET variables
    •  
      CommentAuthorDeeJayOdie
    • CommentTimeMay 17th 2008
     
    I'm still fairly new to plogger. I just noticed that the index.php part is there some of the time, so sorry for the mistake. I was tired and it was late, my mind was playing tricks on me.
    • CommentAuthorDillusion
    • CommentTimeMay 17th 2008
     
    Adding this:

    if ($_GET['level']!="picture"){
    $GLOBALS['plogger_level'] = "album";
    $GLOBALS['plogger_id'] = "2";
    }

    Inside my <?php - ?> causes the page to display the album at the COLLECTION level, AND causes images to not work AT ALL. THis is not what i want. I want this to work EXACTLY how it is with this:

    require("plogger/gallery.php");
    $GLOBALS['plogger_level'] = "album";
    $GLOBALS['plogger_id'] = "2";

    But I want my images to work! When you click on a thumbnailed image it does not go to the larger version ! it goes back to main!
    • CommentAuthorDillusion
    • CommentTimeMay 17th 2008
     
    <blockquote><cite>Posted By: DeeJayOdie</cite>sidtheduck,
    The reason nothing happens when you click on each thumbnail is because each link keeps pointing back to the index page.
    Each link looks like this: <a href="/index.php?level=picture&amp;id=11">. The "index.php" part should not be there and that is what I believe is causing it not to work. Why this is happening, I can't tell you without seeing the actual code. I hope this helps.</blockquote>

    THIS is correct. It is going back to MAIN instead of displaying the picture. I need it to display the clicked on picture instead of going back to main...
    •  
      CommentAuthorDeeJayOdie
    • CommentTimeMay 18th 2008
     
    Thanks for confirming that my original diagnosis was correct. I'm a little tired at the moment, so after I have slept and once I have a clear head, I will try and take a look at it again and see if I can help you.
    •  
      CommentAuthorsidtheduck
    • CommentTimeMay 19th 2008 edited
     
    I still do not think it has anything to do with the 'index.php' in the URL. In fact, I scripted a copy of your page on my own site. You can see it here -> http://sidtheduck.com/susansobel/index.php

    Is this how you want it to work?

    The code I have at the very top is:<?php
    include("../plogger/gallery.php");
    if (!isset($_GET['level']) || $_GET['level']!="picture"){
    $GLOBALS['plogger_level'] = "album";
    $GLOBALS['plogger_id'] = "2";
    }
    ?>
    I added the "isset" part because I have increased error reporting levels and it was giving an undefined index notice (but my previous post's script still worked without the isset). I would be happy to send you the entire script if you provide an email address.

    Let me know.
    • CommentAuthorDillusion
    • CommentTimeMay 19th 2008
     
    Yes! thats it! Do I just need to use the script code you included above or something else?

    Please email me the other parts of the script.

    You may email it to dillsmod@Yahoo.com

    Thank You!!!
    •  
      CommentAuthorsidtheduck
    • CommentTimeMay 19th 2008
     
    Great! I just emailed you. Let me know if you have any other problems.
    • CommentAuthorDillusion
    • CommentTimeMay 20th 2008 edited
     
    More problems:

    The actual image path is wrong. PLogger is installed on my server as www.url.com/plogger. When an image is click one, it asks for url.com/images/imag1.jpg instead of url.com/plogger/images/imag1.jpg

    This may be a problem with the whole script instead of the actual file here...
    • CommentAuthorDillusion
    • CommentTimeMay 20th 2008
     
    It seems the whole plogger script is adding in an index.php again, for some reason.

    Again, go to susansobel.com to look.

    I have tried to remedy the issue by moving the plogger/images/gallery to images/gallery but it still doesnt work properly.
    • CommentAuthorDillusion
    • CommentTimeMay 20th 2008
     
    This is the correct image path:

    http://susansobel.com/plogger/images/susan_sobel/decorative_painting_faux_finishing/image0001.JPG

    This is what plogger outputs when you click a thumbnail:

    http://susansobel.com/index.phpimages/susan_sobel/decorative_painting_faux_finishing/image0001.JPG

    Notice the 'index.php' in place of the correct path of /plogger/ ...
    •  
      CommentAuthorsidtheduck
    • CommentTimeMay 21st 2008
     
    Dillusion,

    It might be time to install the latest SVN trunk. I have it installed on my server and have no problems. Just make sure to keep your 'plog-config.php' file and your current 'theme' file (don't save over these or you will have to recreate them) and you can run the _upgrade.php file, but I don't think you should have to for changing from 3.0Beta to the current build.

    Let us know if you run into any trouble.
    • CommentAuthorredtoad
    • CommentTimeMay 21st 2008
     
    I had this issue too.

    so I installed the latest trunk.

    now my background page is not showing when I click any link.

    growl.

    any thoughts?

    http://www.salvipics.com/album/album_index.php?level=collection&id=2
    • CommentAuthorredtoad
    • CommentTimeMay 22nd 2008
     
    never mind.

    fixed it by renaming my pretty backdrop to index.php and zapping the one you gave me. it works now.

    thanks though
    • CommentAuthorDillusion
    • CommentTimeMay 25th 2008
     
    Is there a way I can skip the second step after clicking a thumbnail. IE after a thumbnail is clicked go straight to the picture by itself in the window instead of seeing the picture within the index.php?
    • CommentAuthorDillusion
    • CommentTimeMay 25th 2008
     
    I upgraded to the latest SVN trunk but its still doing the same thing.
    • CommentAuthorDillusion
    • CommentTimeMay 25th 2008
     
    Now When i try to upload a ZIP file into my archive I get this error:

    There were some problems importing the files:

    Placemats/: filtered

    You can proceed to the Import section to view any files that were successfully uploaded.

    Any ideas on this now?