Closed (fixed)
Project:
Album Photos
Version:
6.x-1.3
Component:
User interface
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
24 Sep 2008 at 08:17 UTC
Updated:
26 Jul 2013 at 00:06 UTC
can you integrate my idee for your great great great module ?
i pick a photo from my created album or upload one in large resolution and the module auto resize it in the size the admin have set for the album cover
and can you integrate a default picture for the album cover. or/and the admin can upload a default picture
Comments
Comment #1
eastcn commentedA small error led to the default cover can not be displayed, photos.module to amend Article 145 line:
$v = l('<img src="'.drupal_get_path(module,photos).'/img/d.jpg">', 'node/'.$node->nid, array('attributes'=>array('title' => t('There\'s no cover uploaded for the album, this image is the default cover.')), 'html'=>true));Amended to read:
$v = l('<img src="/'.drupal_get_path(module,photos).'/img/d.jpg">', 'node/'.$node->nid, array('attributes'=>array('title' => t('There\'s no cover uploaded for the album, this image is the default cover.')), 'html'=>true));Comment #2
nathaniel commented