DM Albums™ 3.1.3 Released January 14th, 2012

Thanks to the community for their feedback and input, we are ready to issue a service release on DM Albums, version 3.1.3. The following items are addressed:

  • Bug fixes, including elimination of WordPress Admin issues (DM Albums™ was breaking some WordPress Admin tools), dm-albums-external.php is now working, and various miscellaneous ui tweaks.
  • Re-introduction of Direct Download option
  • Improved IE8/9 support (requires a theme with a valid doctype definition)
  • DM Albums™ Admin Panel options allowing to choose a JQuery inclusion approach: Google JQuery library (default), deregister and replace the standard WordPress JQuery library, or Manual where the JQuery library is not loaded by the plugin and is instead loaded by the theme, giving more control to the user.

Note: In order for DM Albums™ to work in an external configuration, several libraries need to be included in (preferably) the header of the document. The new function dm_loadjavascript is provided for this purpose.

<?php

include($_SERVER["DOCUMENT_ROOT"] . “/wp-content/plugins/dm-albums/dm-albums-external.php”);

dm_loadjavascript();

dm_printalbum(“/wp-content/plugins/dm-albums/preview/”);

?>

For anyone having trouble with the 3.x release, the previous version is still available here.

Slideshow:
Fullscreen:

21 Responses to “DM Albums™ 3.1.3 Released”

  1. Jos Saris says:

    Hi Frank,

    Thank you for the update to 3.1.3. The problems I reported earlier are partly fixed by this release.

    I would to report two (new) bugs

    1. The Google maps on my photoblog are not longer vissible. The plugin I use for displaying Google Maps in my blog is ‘Comprehensive Google Map Plugin’ version 3.1.2 from Alexander Zagniotov.

    The frame of Google Maps is shown but the content is gone.

    2. When I used the fullscreen option the photo’s are not correctly displayed. The height is correct but the width not. I seems the width is fixed and fits not correctly to the fullscreen.

    See http://www.jossarisfoto.info to illustrate the problems I reported.

    Kind regards,

    Jos

  2. frank says:

    @Jos Saris
    I think what you’ll need to do is choose one of the advanced settings; either the Replace or Manual mode for the JQuery library. This will be found in the DM Albums admin panel.

  3. ReinoutS says:

    Hi,

    After installation (WordPress 3.3.1) I get this error in the DM Albums manager in the admin dashboard. Could you help me out?

    Warning: session_start() [function.session-start]: Cannot send session cookie – headers already sent by (output started at /data/home/roel05/domains/abcdefg.yz/public_html/art/wp-
    admin/includes/template.php:1657) in /data/home/roel05/domains/abcdefg.yz/public_html/art/wp-content/plugins/dm-albums/wp-dm-albums-admin-header.php on line 5

    Warning: session_start() [function.session-start]: Cannot send session cache limiter – headers already sent (output started at /data/home/roel05/domains/abcdefg.yz/public_html/art/wp-admin/includes/template.php:1657) in /data/home/roel05/domains/abcdefg.yz/public_html/art/wp-content/plugins/dm-albums/wp-dm-albums-admin-header.php on line 5

    Warning: opendir(/data/home/roel05/domains/abcdefg.yz/public_html/art/wp-content/uploads/dm-albums/) [function.opendir]: failed to open dir: No such file or directory in /data/home/roel05/domains/abcdefg.yz/public_html/art/wp-content/plugins/dm-albums/php/includes.php on line 151

    Warning: readdir(): supplied argument is not a valid Directory resource in /data/home/roel05/domains/abcdefg.yz/public_html/art/wp-content/plugins/dm-albums/php/includes.php on line 160

    Warning: closedir(): supplied argument is not a valid Directory resource in /data/home/roel05/domains/abcdefg.yz/public_html/art/wp-content/plugins/dm-albums/php/includes.php on line 172

  4. frank says:

    For some reason you’re getting some warnings; they’re harmless but unsightly. If you comment out line 1 of php/includes.php, the errors will go away.

  5. Adam says:

    I have found what I believe to be a bug in the external script. On line 3 of dm-albums-external.php you have:

    [php]
    if(function_exists(!”get_galleria”)) require_once(dirname(dirname(dirname(dirname(__FILE__)))) . “/wp-load.php”);
    [/php]

    This always evaluates to false for me and never includes the file. I have changed it to the line below and now it works.

    [php]
    if(!function_exists(“get_galleria”)) require_once(dirname(dirname(dirname(dirname(__FILE__)))) . “/wp-load.php”);
    [/php]

    It also appears that the download function prints the contents of the file to the browser instead of prompting for download. This is only on external use and works as expected inside of WP.

  6. Adam says:

    Download problem occurs because the headers have already been sent by the time the request has been made. To fix this we have to include this line before anything else occurs:

    If any html is sent first this will fail.

  7. Adam says:

    The line did not print for some reason above. Here it is:

    [php]
    include($_SERVER["DOCUMENT_ROOT"] . “/wp-content/plugins/dm-albums/dm-albums-external.php”);
    [/php]

  8. Jos Saris says:

    Hi Frank,

    Thanks for version 3.1.3.2. However the problems on my site (www.jossarisfoto.info) persist.

    Problem 1
    Choosing [Fullscreen] the picture become visible, but the scale is nog correct. It seems the the height is okay but the width is cut in half.

    Problem 2
    Google maps. There is only a frame visible but no content.

    Regards,

    Jos

  9. Jos Saris says:

    Hi Frank,

    Thanks for version 3.1.3.2.

    However the problems on my site (www.jossarisfoto.info) persist.

    Problem 1
    Choosing [Fullscreen] the picture become visible, but the scale is not correct. It seems the the height is okay but the width is cut in half.

    Problem 2
    Google maps. There is only a frame visible but no content.

    Regards,

    Jos

  10. Jon says:

    Hi Frank,

    Every time I upload a picture with the latest version it is made extremely large! I have the photo gallery set to 650px by 500px.

    These styles are being forced on the image tag:
    width: 976px;
    height: 583px;

    Any way to fix this?

  11. Adam says:

    Jon,

    Can you give us an example link of this problem? Is this your first install of DM Albums or are you updating? If you are updating, I find resetting the configuration options help with strange problems that creep in. This will reset everything to default, so make a note of custom settings first.

  12. Andrew says:

    I recently experimented with DM Albums v. 3.1.33 using WrdPress v. 3.3.1
    No picture thumbnails appear in the thumbnail bar in the FF v. 9. However, in IE v. 8 it seems to work fine.

  13. Andrew says:

    Please disregard my previous comment. After changing the WordPress theme the plugin works as expected, that is in FireFox. However, in IE 6 it still does not work.

  14. Adam says:

    “Please disregard my previous comment. After changing the WordPress theme the plugin works as expected, that is in FireFox. However, in IE 6 it still does not work.”

    I would really recommend that you stop using or update your browser if you are still using IE6. This browser version is no longer support by microsoft and therefore will not be standard compliant going forward.

  15. Daniel says:

    Is there any way to make the background and borders of the plugin white? I have a white site, and would like to display photos with no black border around the plugin. Thank you!!

  16. Leire says:

    I’ve had a problem of compatibility between DM Album 3.x and the theme TwentyTen 1.1 in MS IExplorer (how not! XD). In other browsers I’ve tried, Firefox, Chrome, Safari, works perfect.

    My solution has been to remove or comment out the lines on the processing of images in the # content that makes my theme in style.css, such as #content img{} and similar. The styles on the gallery ( #content .gallery{} and similar) do not affect the album.

  17. Jen says:

    After following the directions and uploading an album, then inserting it onto my page (a static page, not a post), the Slideshow and Fullscreen controls appear, but no thumbnails or gallery:

    http://www.sunbirdmedia.com/photostories/mozambique-fire

    Please help!

  18. Dan says:

    I have the same problem as Jen and have tried everything, including a re-install the older version (which doesn’t seem to work anymore) and adding the suggested javacode…please help!!!

  19. Rick says:

    I love this plugin, but sadly since the update it has stopped working in all versions of Internet Explorer :( Can anyone shed some light on this for me?

    http://www.rickyfoyle.co.uk/photography/places/

  20. Henk says:

    I have the same problem as Jen and Dan have: the control bar is visible in the posts, but the pictures are not. I’m using Pressplay 2.1 theme. When I edit the album in the “edit post”-screen, the photo’s still appear, so it seems like it has nothing to do with database problems, just showing the gallery doesn’t work. Please help!

  21. Tim says:

    I can’t get the images to upload into the plugin. I’ve put them in the exact path as the default setting: …public_html/wp-content/uploads/dm-albums/ but nothing displays. Both Home and album upload have the same path. I’m using v. 3.1.3.3.
    Thanks, Tim

Leave a Comment