Not signed in (Sign In)

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

    • CommentAuthorandros69
    • CommentTimeMar 13th 2007
     
    Oh, and one last thing, though this is probably a feature request I suppose. Is there a way to update the EXIF data for photos?

    Somehow my photos have the wrong date on them, not sure if it's because of copying and pasting, photoshop or what. Anyway, it would be great to be able to edit it through the admin.

    Just a thought, I'm sure it's been brought up before...

    Thanks!
    • CommentAuthorjack
    • CommentTimeMar 14th 2007
     
    Just upgraded my testsite to revision 448.

    A few things I found (which must be te result of working on the final version :)):

    1. Importing images: no thumbnails are created
    2. Viewing images in an album shows no images and no (theme)styling or lightbox functionality ... and now suddenly none of the styling works (missing stylesheet link I guess).

    One request I made earlier and imho should be a standard option: using the filename minus extension if no caption is added to an image. Great for archiving and very easy to import lots of images without the need to give each image a name (which it already has=> the filename). Especially usefull when using Plogger not only as an album but as a real image archive. It would be best if this filename would be added automagically inside the caption field in the database, but just using the filename is OK too.

    Another request (but let's finish the final release first ;) ) is that the description field can also be searched instead of only the caption. This way the description field could become a 'description/tag' field.

    Yet another feature (LOL) would be a tiny quick edit button only viewable by the one who is logged into Plogger. This should bring up the edit screen for just that one image for quick editing a name/description/tag or moving the image to another album.

    Yet another feature (LOLx2) would be another tiny button to select an image (could be the same as for the 'Allow Compressed Recursive Downloads'), and after collecting a few or a lot of images clicking a kind of 'Your Selection' button which could bring up a screen with several options: 1. download and/or 2. e-mail filenames or captions to administrator (perhaps for selling purposes?).

    OK, that it for now. I'll test some more soon.
    And a very big complement for the admin interface. It's really beautifull, including the live preview. I love it!
    •  
      CommentAuthormike
    • CommentTimeMar 14th 2007 edited
     
    Yup, RSS is broken. Oops.

    Thanks for the suggestions Jack =)

    Check your "Gallery URL" setting in options, it might clear up your thumbnail problems. I think the new install automatically sets it but the _upgrade script may miss that part.
  1.  
    Hi,

    I just installed (fresh) it on my website (www.sprint15.com), no trouble there and attempted to upload some jpg's to it, the files appear in the folders but when it tries to import them into the thumbnail generation fails and when you click import, I get this error message, its a bit big I'm afraid:

    "Failed: setSourceFilename(/websites/LinuxPackage02/sp/ri/nt/sprint15.com/public_html/pictures/images/plogger_test_collection/plogger_test_album/cimg0066__2__sprint_15s_at_grafham__by_mark_aldridge_1.jpg) set $this->sourceFilename to "/websites/LinuxPackage02/sp/ri/nt/sprint15.com/public_html/pictures/images/plogger_test_collection/plogger_test_album/cimg0066__2__sprint_15s_at_grafham__by_mark_aldridge_1.jpg" in file "phpthumb.class.php" on line 216 $AvailableImageOutputFormats = array(text;wbmp;gif;png;jpeg) in file "phpthumb.class.php" on line 636 $this->thumbnailFormat set to $this->config_output_format "jpeg" in file "phpthumb.class.php" on line 646 $this->thumbnailQuality set to "75" in file "phpthumb.class.php" on line 663 !$this->config_allow_src_above_docroot therefore setting "/websites/LinuxPackage02/sp/ri/nt/sprint15.com/public_html/pictures/images/plogger_test_collection/plogger_test_album/cimg0066__2__sprint_15s_at_grafham__by_mark_aldridge_1.jpg" to null in file "phpthumb.class.php" on line 790 $this->sourceFilename set to "" in file "phpthumb.class.php" on line 587 phpThumb() v1.6.2-200511240855 "" does not exist $this->config_cache_directory () is not a directory in file "phpthumb.class.php" on line 704 SetCacheFilename() failed because $this->config_cache_directory is empty in file "phpthumb.class.php" on line 1986 GetImageSize("") failed in file "phpthumb.class.php" on line 1869 using ImageMagick path from `which convert` (/usr/bin/convert) in file "phpthumb.class.php" on line 825 source dimensions set to 100x100 in file "phpthumb.class.php" on line 875 ImageMagick called as (convert -coalesce -geometry 100x100 "" png:/tmp/pThumbR6DoO2 2>&1) in file "phpthumb.class.php" on line 899 ImageMagick failed with message (convert: unable to open image `': No such file or directory. ) in file "phpthumb.class.php" on line 904 ImageMagickThumbnailToGD() aborting because ImageMagickCommandlineBase() failed in file "phpthumb.class.php" on line 923 ImageMagickThumbnailToGD() failed in file "phpthumb.class.php" on line 1876 EXIF thumbnail extraction: (size=0; type=; x) in file "phpthumb.class.php" on line 1925 starting SourceImageToGD() in file "phpthumb.class.php" on line 2073 Not using EXIF thumbnail data because $this->config_use_exif_thumbnail_for_speed is FALSE in file "phpthumb.class.php" on line 2076 Populating $this->rawImageData and attempting ImageCreateFromStringReplacement() in file "phpthumb.class.php" on line 2182 phpThumb() v1.6.2-200511240855 cannot fopen("") on line 2195 of /websites/LinuxPackage02/sp/ri/nt/sprint15.com/public_html/pictures/lib/phpthumb/phpthumb.class.php"

    Any ideas what is wrong?

    Thanks,

    Martin Searle
    • CommentAuthorhribek25
    • CommentTimeMar 17th 2007
     
    Hello folks,
    I have started using this lovely piece of SW and I have to say: Good job.
    There are lot things to do anyway but it is really visible huge amount of work on it...

    So Id like to share one update because I missed one function and I had to add this into but how I was suprised this function exist:) but didnt work.

    there is mistake in plog-admin-functions.php on line 73 (beta 3).

    WAS:
    while (is_file('/images/'.$create_path."/".$unique_filename_base . "." . $filename_ext)){
    $unique_filename_base = $filename_base . " (" . ++$i .")";
    }

    UPDATED ON:
    while (is_file('../images/'.$create_path."/".$unique_filename_base . "." . $filename_ext)){
    $unique_filename_base = $filename_base . " (" . ++$i .")";
    }

    There was missing "../" in the path so this routine didnt work.
    • CommentAuthorandros69
    • CommentTimeMar 17th 2007 edited
     
    I'm still trying to get the sort order options to work (no matter what combination of ascending or descending and date taken vs. submitted, etc).

    One thing i've noticed is that if I have "descending", I sometimes get the following error:

    Warning: Unexpected character in input: (ASCII=8) state=1 in /home/andresyalison/www/photos/plog-functions.php on line 752

    or

    Warning: Unexpected character in input: ' in /home/andresyalison/www/photos/plog-functions.php on line 752


    In any case, the order of my photos doesn't seem to change based on what I do there. But for whatever reason, the order does change some days. I just can't figure out what makes it change, but everynow and then the order will be different!

    It's driving me nuts! ;-)
    • CommentAuthorandros69
    • CommentTimeMar 18th 2007
     
    Ok, so I've figured out some more about the sort order.

    The Album and Collection sort order options do seem to work fine.

    The Default Sort Order options apparently work, but I have to close and restart my browser to see the changes (reloading the page doesn't work). Weird, because the other two don't need it.

    I don't know if this is a bug or not, or just the nature of it.
    •  
      CommentAuthormike
    • CommentTimeMar 18th 2007 edited
     
    Andros,

    Here is how the default sort order thing works.

    Your current sort order is stored in a session variable (the variable persists as long as your browser is open). Once a user views your gallery for the first time, it will automatically sort by the default sort order. Once the user manually changes the drop-down direction or sort field, a session variable is created so Plogger remembers which sort order you like an applies it to all the other albums you are viewing. This behavior persists until your session is cleared (you delete cookies or restart your browser). At this point it will revert to using the default sort order.

    Does it make sense to implement it this way?
    •  
      CommentAuthorkimparsell
    • CommentTimeMar 18th 2007
     
    I downloaded the updated zip package from Mike's March 1st post, and did a clean install.

    -------------------------------------------
    Server specs that Plogger is installed on:
    Operating system: Linux
    Apache version: 1.3.37 (Unix)
    PHP version: 4.4.4
    MySQL version: 4.1.21-standard
    -------------------------------------------

    Here are the errors/issues that I've encountered so far:

    1. After importing 5 images, I get the following error 5 times at the top of the admin page:

    Warning: chmod() [function.chmod]: Operation not permitted in /home/dhdesign/public_html/gallery/admin/plog-admin-functions.php on line 100

    Line 100 is: $res = chmod($final_fqfn, 0755);

    The import was completed successfully, the images were moved to the correct folder, with their permissions set at 644, not 755.

    2. Using the default theme, with Allow Full Picture Access: disabled, I go to the main page of the gallery, click on the first collection, then the album, then the first thumbnail. None of the full-size images will display, just a small box with a line through it. Refreshing the page does not help.

    When I enable Allow Full Picture Access:, then the full-size images will display, but the image is also linked so that people can click on it to see just the image. I thought that Allow Full Picture Access: being disabled would stop the hyperlink, but still allow the image to be displayed on the page when the thumbnail is clicked. *confused*

    3. When I click on Manage, then click the collection, then the album, the images are being displayed in a random order, not ordered by filename. I can't find any way to set a sort order on that page.

    4. In the admin, when I click on the edit icon for an album (to choose the default thumbnail, for example) I get the following error:

    Warning: Missing argument 2 for generate_thumb() in /home/andresyalison/www/photos/plog-functions.php on line 430

    This error appears repeated as many times as there are photos in the album. Editing the album still works as expected, the errors just get displayed at the top of the page. (Same problem as andros69 reported on March 6, 2007.)

    5. When using the lightbox theme, when I hover over a thumbnail, there is an extra / being added to the url, i.e.: http://www.kpdesign.net/gallery//images/the_farm/scenery-may_2002/im000329.jpg.

    Also, when clicking on a thumbnail to view the full-size image using the lightbox, the page shifts to the left and has a horizontal scrollbar when displaying the lightbox. Clicking X closes the lightbox, and the page shifts back to the right. (Using Firefox 2.0.0.2, screen resolution 1280x800, image size is 640x480).
    •  
      CommentAuthordusk
    • CommentTimeMar 19th 2007
     
    Hi Mike,

    I've just installed the latest version and the install went perfectly - everything came up nicely.

    The only thing I've found so far is a missing "</a>" tag in plog_functions.php at line 1981:

    return "tt<li class='$class'><a href='$link' title='$title'><img src='$img_path' /></li>n";

    This is causing a few issues in IE when using the thumbnail navigation option.

    I'm working on updating/cleaning my theme for this new version, should be ready soon.

    Ben
    •  
      CommentAuthormike
    • CommentTimeMar 19th 2007
     
    Awesome, I can not wait to see it Ben! Your Plogger2 gallery was one of the best I have seen. Hopefully we will have the kinks worked out soon, getting very very close. Thanks to everyone else for you reports, I will keep updating until it is ready.
    •  
      CommentAuthordusk
    • CommentTimeMar 20th 2007
     
    For anyone that's interested, here's a preview of my theme: http://www.digitaldusk.com/dev/plogalpha/
    • CommentAuthorandros69
    • CommentTimeMar 20th 2007
     
    I just have a couple things to finish up and my gallery theme is finished.
    http://andresyalison.com/photos/

    I'm going to try and create a version of this theme (this one is highly customized for my needs) to give our to the community. Hopefully it will be done in time for v3 release.
    • CommentAuthorAkuyazi
    • CommentTimeMar 20th 2007 edited
     
    ive integrated beta3 into my website and when i click a picture and it shows its details, the link to goto the full picture does not work

    the url goes
    http://wallkick.ig3.net/gallery.phpimages/japan_fest_2007/japan_fest/img_0055.JPG

    where do i go to remove the .php and add a / between it becuase the /gallery is where my gallery script is located

    edit: i found the function in the the plog_functions file, its in
    function plogger_get_source_picture_url

    but it takes a $config["baseurl"] which i cannot find. but i dont think it'll be able to fix unless you have them seperate for people who use it by itself and those who integrate it.

    Edit 2: i added my own $config["baseurl2"] and put the path to my normal gallery in it, and changed the function for the link to the full photo to baseurl2 also.. now it works fine.

    i think you could should make it look for the url you put in the option menu that tells you to put the link to your gallery so that getting the full image url compensates for integrated users so that it could do it automatically.
    • CommentAuthorhribek25
    • CommentTimeMar 21st 2007
     
    Bug maybe:

    there is no need to include META HEADER with ENCODING charsets specification when plogger is included in another web app ($config["embedded"] == 1).

    Petr
    • CommentAuthorandros69
    • CommentTimeMar 21st 2007
     
    Akuyazi,

    make sure you have your options set correctly in the admin screen as well as the corresponding folder for plogger using the right URL.

    I'm sure you know this already, but in the Options menu, where it asks for "Gallery URL" you just need the folder address not the file address. In other words if your plogger script is in a folder called "gallery", all you need to put there "http://wallkick.ig3.net/gallery/" in your case.

    I didn't have to do any customization of the functions and it works fine on my server, and I put plogger in a folder called "photos".
    • CommentAuthorardamis
    • CommentTimeMar 21st 2007 edited
     
    Wow, Mike. Thanks for including my Softer theme with the latest alpha. That's quite a compliment. But I'm afraid that Softer requires the output-validation-related changes I made to plog-functions.php to display properly.

    I guess the best resolution here would be to peruse the differences between the alpha's plog-functions and my modified file, and if you don't see any problems, implement the changes in the next update to the alpha.

    I realize that this may negatively affect some of the other themes, but I believe that the sooner Plogger's output validates, the better for all us designers. Maybe a few of us could take it upon ourselves to each check out one of the existing themes prior to release.

    I've made a few changes to Softer in the last few days and will probably continue to do some minor tweaking in the future. To be safe, I suggest you incorporate the latest version with each refresh of the alpha. You can find all the files involved with Softer at
    http://www.ardamis.com/2007/01/22/plogger-beta-3-theme-softer/

    Thanks again,
    -ardamis

    P.S. It looks like someone beat me to building a Lightbox 2 theme:
    http://plogger.org/forum/comments.php?DiscussionID=1152
    • CommentAuthorandros69
    • CommentTimeMar 22nd 2007
     
    ardamis,

    Depending how extensive the themes are, there are ways of keeping your theme-specific functions off plog-functions.php. I also had to make some changes to my theme and I created a new functions file on my theme folder that contained just the new functions. Then I called the file from the header/head file and referred to the new functions from the themes.

    This way I can have all my theme-specific stuff contained in my theme folder, and not modify the core plooger files.
    • CommentAuthorardamis
    • CommentTimeMar 22nd 2007
     
    I fully agree with your position, andros69, but the problem I'm addressing is that the HTML output of plog-functions.php isn't valid XHTML. Nobody's theme can correct that, because the invalid code comes from a core file. My changes to plog-functions.php aren't exactly theme-specific, but my theme needs the core files to produce valid code.

    Any theme that relies on the output to be invalid is in a rather precarious position to begin with.

    BTW, I really like your theme. Have you thought about adding
    input { cursor:pointer; } 

    to change the cursor to the hyperlink pointer on the various buttons?

    -ardamis
    • CommentAuthorandros69
    • CommentTimeMar 22nd 2007
     
    ardamis,

    I now get what you're saying. I didn't read the info on your theme's blog page where you explain what you changed. Yeah, the code is a bit all over the place. It would be nice to have as much HTML code on the themes, and use the functions to output only the data, that way you could control as much of the HTML as possible.

    Thanks for the suggestion. I still need to go through and clean up the CSS, it's pretty sloppy and all over the place. I will remember your suggestion. Eventually I'm going to do buttons quite differently, so it'll be a good time to change it.
    • CommentAuthorandros69
    • CommentTimeMar 22nd 2007 edited
     
    Mike,

    I noticed that you changed the plog admin functions file to correct the EXIF date issue. Awesome. I made the change to my file too and it works nicely now. I re-uploaded some of my photos, and sure enough, now they sort properly.

    BTW, I had some photos that were scanned and not from a camera, so they had no EXIF information. That was also throwing my sorting out of wack. I downloaded a program to add EXIF information to them so they sort the way they should.

    Thanks for the hard work!

    PS: as a new feature recommendation, it would be cool to be able to edit the EXIF info from the Plogger admin. :-)
    • CommentAuthorandros69
    • CommentTimeMar 23rd 2007
     
    Mike,

    Just to let you know that v3 rocks. I'm getting tons of compliments from people about my gallery, and this would not be possible without Plogger. I have a few people also interested in using it in their sites.

    Kudos and keep up the good work!

    let us know what we can help with.
    Thankful People: mike
    • CommentAuthorandros69
    • CommentTimeMar 23rd 2007
     
    ardamis,

    You got me curious and tested my code for validation and it seems to pass. I suppose you want yours to be XHTML strict, right? Mine is fine as XHTML transitional.

    This is really anal on my part, but I would also like my code to render properly nested :-) Yes, I know, but it make it a lot easier to debug my theme.
    •  
      CommentAuthordusk
    • CommentTimeMar 25th 2007
     
    Well I think my theme is ready for a trial. Anyone that wants to give it a go can get a copy from http://www.digitaldusk.com/download/theme-element.zip.
    Thankful People: mike
    •  
      CommentAuthormike
    • CommentTimeMar 25th 2007
     
    Looks and works great! Thanks Ben!
    •  
      CommentAuthormike
    • CommentTimeMar 25th 2007 edited
     
    Ok, another round of Plogger updates here, same place: http://www.plogger.org/source/plogger3alpha.zip

    Here are the changes (straight from http://dev.plogger.org) based on the feedback given so far (still haven't gotten through all of it...)

    • Some HTML changes based on Ardamis's plog-functions.php changelog
    • Fix problem with image path when checking for duplicate filenames during upload
    • Missing a closing anchor tag in thumbnail navigation function
    • Fix RSS feed functionality, add Plogger descriptions to feed and make sure to encode HTML entities
    • Fixed "missing argument" warning when editing an album
    • Added localization hooks to feedback management page
    • Force UTF8 to be used in MySQL connections for MySQL v4.1 or greater
    • Correct improper usage of EXIF "DateTime?" property which changes when you update and image. Now uses "DateTimeOriginal?" which properly represents the time the photo was taken.

    I didn't include any user themes this round, but make sure to check out Softer and Element for two examples of excellent Plogger themes (I am also considering including these with the official release)

    I am also patiently awaiting a finished version of Andros' theme, which is insanely cool =)
    • CommentAuthorandros69
    • CommentTimeMar 25th 2007
     
    Mike, I'm really excited about the changes, tons of upgrades!

    So, since you're so interested in my theme, I decided to make a fresh installation of it on my personal website, so I can put back in some of the functionality available on other themes before I make it publicly available.

    The problem is that now it won't install.

    If I run _install.php it tells me that the database doesn't exist. If I go in and manually put it in through phpMyAdmin, then it tells me that Plogger is already installed, but there are not tables in the database. running _upgrade.php doesn't do the trick either. Is there something I'm missing?

    I've:
    - Uploaded all files to the server
    - set the permissions to the usual folders
    - created a user and database on my server for the new install
    - modified the plog_config.php file with the new parameters
    - run _install.php

    It's been so long since I first intalled it on my other website I can't remember what what I did different.
    • CommentAuthorardamis
    • CommentTimeMar 26th 2007
     
    Posted By: andros69You got me curious and tested my code for validation and it seems to pass. I suppose you want yours to be XHTML strict, right? Mine is fine as XHTML transitional.


    Yup, I'm lobbying for Strict. Plogger is now valid Transitional, and very close to being Strict, after Mike's changes two posts above.

    Can anyone tell me a way to get a thumbnail's width AND height in Plogger without using getimagesize()? I know that the height for small and the width for medium thumbnails can be set in the Options, but I'm not sure the other axis is available as a variable. I'm running into a problem where captions longer than the corresponding image extend the containing list item, wreaking havoc on the layout. http://www.ardamis.com/testing/longcaption.jpg

    Thanks,
    -ardamis
    •  
      CommentAuthormike
    • CommentTimeMar 26th 2007
     
    Posted By: andros69I've:
    - Uploaded all files to the server
    - set the permissions to the usual folders
    - created a user and database on my server for the new install
    - modified the plog_config.php file with the new parameters
    - run _install.php

    Andros, you don't need to modify plog_config.php when installing Plogger, the install script will write that file for you. In fact, the way Plogger checks to see if it is already installed is by looking at the connection parameters in that file. Try restoring plog_config.php to it's original state with empty strings for all four connection parameters and running the _install.php script again.
    Thankful People: andros69
    •  
      CommentAuthormike
    • CommentTimeMar 26th 2007
     
    Posted By: ardamisI'm running into a problem where captions longer than the corresponding image extend the containing list item, wreaking havoc on the layout.

    Have you tried playing with the CSS attribute "overflow"? I think Derek may have used this to truncate long captions on the Table-less theme by setting overflow to hidden.
    • CommentAuthorardamis
    • CommentTimeMar 26th 2007
     
    I could use overflow:hidden, and in fact Softer does just that. But without knowing the width of the thumbnails, I would have to use a 'best-guess' width for the captions, say 100px, ala:

    div.caption { width:100px; overflow:hidden; }

    While this may look fine 99% of the time, it bothers me that someone could plausibly choose to use thumbnail widths of 80px or 200px, and the 100px caption wouldn't match up as nicely.

    Perhaps I'm setting my standards too high, but I'm trying to build an accessible, flexible theme whose elements smoothly adapt to the user-specified selections in the Options. If it turns out that this degree of flexibility is unattainable, I'll write the fixed-widths into Softer.

    -ardamis
    •  
      CommentAuthormike
    • CommentTimeMar 26th 2007 edited
     
    Actually, part of the reason I released the Alpha early was so that people building themes could give me feedback on what types of template functions they needed to make the process as flexible as possible. Would a thumbnail_info function be helpful? I could do something like: plogger_get_thumbnail_info() and it would return a hash with thumbnail information...

    $thumb_info = plogger_get_thumbnail_info();
    $height = $thumb_info['height'];
    $width = $thumb_info['width'];
    $filesize = $thumb_info['filesize'];
    // etc..
    •  
      CommentAuthordusk
    • CommentTimeMar 27th 2007
     
    That would make life much easier Mike! I was looking for some way to do that the other day, but never got around to it.
    • CommentAuthorandros69
    • CommentTimeMar 27th 2007
     
    Mike, that would be excellent! Now, if we could set the max height of the thumbnails in the Options... ;-)
    •  
      CommentAuthormike
    • CommentTimeMar 27th 2007
     
    Ok guys, I will make that function available as soon as I can.
    Thankful People: Ben, andros69
    •  
      CommentAuthorBen
    • CommentTimeMar 27th 2007 edited
     
    Mike, in the plog-admin.php file on line 67 you have...

    <script type="text/javascript" src="js/moo.fx.js"></script>
    I was wondering if your intention was to use moo.fx or not since it hasn't been included in the js folder of the admin. Or maybe it isn't need anymore with the other js files you have implemented. Idk just something I saw in my activity list that wasn't loading.
    • CommentAuthoramasters
    • CommentTimeApr 2nd 2007
     
    I just installed Beta 3 on the same server as version 2. After adding new database fields, it's now installed. My problem? I can't log in as admin. I'm using "admin" and the password created by the installation process. It just keeps returning, "Invalid login."

    Any suggestions?

    Thanks,
    Anne
    •  
      CommentAuthormike
    • CommentTimeApr 2nd 2007 edited
     
    Hmm... so you didn't run the _upgrade.php script, you just tried installing over your old installation? That may have caused the problem... does your old Beta2 password work on your new Beta3 install? If you are going to try to install them both on the same database, they need to have different table prefixes or their is going to be a huge mess...
    •  
      CommentAuthormike
    • CommentTimeApr 2nd 2007 edited
     
    Posted By: BenI was wondering if you the intention was to use moo.fx or not since it hasn't been included in the js folder of the admin.

    Ben, I'm not sure about that. It may just be left over from something I was trying to add with Moo.fx, I'll check it out...
    • CommentAuthoramasters
    • CommentTimeApr 2nd 2007
     
    Posted By: mikeyou didn't run the _upgrade.php script, you just tried installing over your old installation? That may have caused the problem

    No, I installed to a completely different directory and just used the same database. I guess that isn't going to fly.

    Posted By: mikedoes your old Beta2 password work on your new Beta3 install? If you are going to try to install them both on the same database, they need to have different table prefixes

    No, the old password doesn't work on the new installation. I was trying to keep from having to re-enter all the images. I'll do it again with different table prefixes and just re-enter. Sigh.

    I have another problem. I have several installation attempts in different directories and am having trouble completely deleting them. Directories in the images directory won't delete. I can't access their permissions at all. Any suggestions on that?

    Thank you for such a prompt reply,
    Anne Masters
    •  
      CommentAuthormike
    • CommentTimeApr 2nd 2007 edited
     
    Anne,

    The _upgrade.php script automatically migrates all of your old pictures and information from Beta2 into the new Beta3 system. All you have to do is upload all the new Beta 3 files and overwrite everything in your Beta 2 installation EXCEPT FOR plog-config.php. Then you go to http://www.yoursite.com/yourploggerdir/_upgrade.php and your database and images should all be automatically updated. Since you installed over the old database, this may not work as smoothly as I hope.

    As for deleting the old directories, I really have no idea how to get rid of them with FTP.. they just seem to stick around no matter what. You need to delete the collections from Plogger and it SHOULD remove the directories for you. Once the /images/ directory is empty you should be able to remove it through FTP.
    • CommentAuthorandros69
    • CommentTimeApr 4th 2007 edited
     
    So I haven't posted anything lately because I've been busy having a baby :-) We've been back from the hospital for a few days now and feel like I can be myself again.

    I have a theme in the works, based on my current gallery theme, but a little more generic. I hope I can release it soon.

    Mike, one thing I keep noticing is that when I click on the edit Icon for an album, I get at the top of the page the following message for however many thumbs there are in the thumbnail choosing form.

    Warning: Missing argument 2 for generate_thumb() in /home/andresyalison/www/photos/plog-functions.php on line 430
    The form still works fine, but it's definitely a distraction, specially if there are lots of thumbnails on the Album, since it writes the above statement that many times.

    Otherwise, the script is holding up great.
    • CommentAuthorandros69
    • CommentTimeApr 4th 2007
     
    Oh, one more thing.

    I believe from the import tab or maybe from the upload tab (sorry, I can't remember which right now). Once you select the folder you want them imported to, the following form asks you to select it again. Seems that the value for the album you chose is not being passed to the next form.
    •  
      CommentAuthormike
    • CommentTimeApr 4th 2007
     
    Andros, congratulations! Hope to see the Baby Pictures soon up on your Plogger Gallery =D I have been insanely busy myself with work... day job and contract work together are really kicking my butt. Anyway, I thought I took care of that annoying missing argument warning already, but maybe I missed it. Either way, it's a super easy fix and hopefully I can get that together for you sometime this weekend. The thumbnail information template function is coming soon too... must ... find ... time...
    • CommentAuthor_leon_
    • CommentTimeApr 5th 2007
     
    gday chaps. going to have a go at beta 3 too - settled on plogger as being the best gallery tool out there currently - its a great tool and thanks for making it available :) loving the fact it hasn't got all heavy and nasty with unnecessary options like some others I'll leave unmentioned.

    anyway - will give some feedback soon. have a few suggestions at the moment. if i can help let me know.

    should this thread be a sticky?
    •  
      CommentAuthormike
    • CommentTimeApr 5th 2007 edited
     
    I figured it would have enough action to keep it at the top without making it sticky, if it starts to fall out of view I'll make it stuck. _leon_, thanks for testing... let me know what you find.
    • CommentAuthor_leon_
    • CommentTimeApr 5th 2007 edited
     
    well so far so good. looks great - easy to use still and a few options like album and collection sorting which i was hoping for. one thing i have noticed straight off was thumbnail generation of images when importing - is taking a very long time - 10mins to do 10% of 10 images. The images are 1600x1200pixels in raw - and all under 700k. However, of the percentage that is complete, no thumbnails are displayed.

    i've just tried uploading now - can't get it to work - it just hangs - no error messages or warnings. From looking in IE and firefox - activity dies when hitting either Import or Upload buttons.

    Sorry I can't be more specific. Its been a while since doing PHP - but are there any debuggers or decent logging tools that I could try and use to break down the issues?
    •  
      CommentAuthormike
    • CommentTimeApr 5th 2007
     
    Firebug is an essential debugging tool for firefox. Combined with the Web Developer Toolbar and some other random extensions like View Live HTTP Headers you should be good to go.

    I'm guessing there is a memory issue here with your host. Did you try uploading smaller images? Also, do you have your Gallery URL set correctly on the Plogger options page?
    •  
      CommentAuthormike
    • CommentTimeApr 5th 2007
     
    Ok, I've made the plogger_get_thumbnail_info() function available.

    Here is an example on how to use it...

    // find thumbnail width (hack to define size of li below)
    $thumb_info = plogger_get_thumbnail_info();
    $thumb_width = $thumb_info[0];
    $thumb_height = $thumb_info[1];


    The array it returns also contains a bunch of other information you may be able to use in your theme...
    $thumb_info[0] = The width of the image. It is integer data type.
    $thumb_info[1] = The height of the image. It is an integer data type.
    $thumb_info[2] = Image Type Flag. It is an integer data type.
    $thumb_info[3] = String for <img> tag (width="xxx" height="xxx"). It is a string data type.
    $thumb_info[bits] = Number of bits. It is an integer data type.
    $thumb_info[channels] = Number of channels. It is an integer data type.
    $thumb_info[mime] = MIME type. It is a string data type.


    You can get the latest version from SVN or just re-download the package (generated from revision 462) at http://www.plogger.org/source/plogger3alpha.zip
    Thankful People: Ben, dusk, ardamis, andros69
    • CommentAuthor_leon_
    • CommentTimeApr 6th 2007
     
    Thanks Mike. I'm running on localhost at the moment - with standard apache/php settings. I'm not too big on this area since I've been doing other stuff for a few years now. I tried uploading just 1 image at around 120k 500x300px and the same happened (with a new browser instance too). The Gallery URL I'm assuming just needs to be the root of your plogger installation?