Hi, I have noticed that when privacy is enabled the album thumbnails arent resized and a huge image is shown in the teasers. When privacy is turned off they are resized.

This is a great module and the support for the module has been excellent. On behalf of most of us interested in using it I want to say a big THANK YOU!

CommentFileSizeAuthor
#1 photos.page_.inc_.txt42.16 KBeastcn

Comments

eastcn’s picture

StatusFileSize
new42.16 KB

This is an error, please make the following modifications:

Index: photos.page.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/photos/photos.page.inc,v
retrieving revision 1.1.2.21
diff -u -r1.1.2.21 photos.page.inc
--- photos.page.inc   24 Sep 2008 02:30:19 -0000   1.1.2.21
+++ photos.page.inc   25 Sep 2008 01:23:13 -0000
@@ -233,8 +233,9 @@
       }
     break;
     case 'cover':
+      header('Content-type: '.$image['filemime']);
       if($image = _photos_get_path_cover(arg(3))){
-        header('Content-type: '.$image['filemime']);
+          $t = end(explode('/',$image['path']));
           switch (arg(4)){
             case 't':
               $u = str_replace($t,'t_'.$t, $image['path']);

The revised document photos.pager.inc

tiki’s picture

Status: Active » Fixed

Hi eastcn,

The problem was fixed by substituting the new file, thank you very much.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.