Posted by peťo on May 28, 2009 at 4:00pm
Jump to:
| Project: | album photos |
| Version: | 6.x-2.6-beta3 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Issue Summary
i have problem with displaying album cover on album page. But this occours only when I change default album cover. Album cover is displayed correctly on front page and in album node. But in album view, album cover is missing. I know, whre the problem is, but i dont know, how to solve it. Album cover image displayed on front page links to http://something.com/sites/default/files/photos/image_1_2009/05/27/thumb... and album cover displayed on album view links to http://something.com/?q=sites/default/files/photos/image_1_2009/05/27/th... and that is invalid location (?q=sites) as you can see. What should I do?
Comments
#1
I had the same problem.
To solve it, I had to modify line 380 in photos.module:
old: $info['album']['cover']['url'] = url($image['thumb'][$thumb]);
new: $info['album']['cover']['url'] = _photos_l($image['thumb'][$thumb]);