Themes and Templates modifying
Backgroundpicture
Submitted by jaro on Mon, 2010-01-18 22:56.Hi,
What a nice product. Want to use it and playing on my local machine to see if I can use it.
A small question (not simple for me)
I want to add at the bottom of the white background a picture. playing already all evening but no luck.
How must I arrange that, who can help?
Thanks
Jan
Sort thumbnails seperate from directories?
Submitted by baumli on Fri, 2010-01-08 19:30.I have a modifed version of phpalbum that I'm using for a site manager. On the front page I have news items (as images) along with the directory list.
I want to be able to sort the directory list by name, and the news items by date desc. The news items is coming from a different create function. Instead of function theme_generate_thumbnails($thmbs), I'm using function theme_generate_news($thmbs). But I still don't know if I can seperate the lists. I understand that I'm rewriting code here, but any suggestions on how I can go about doing this?
Site: http://www.wranglersalesinc.com
PHP Include phpalbum?
Submitted by potter2010 on Thu, 2010-01-07 00:35.Hi,
Hopefully I have this in the right section. I was wondering how I could include the album in a php page? I have
<?php
include ('./album/index.php');
?>and have also tried just using ./album/ but keep getting errors:
Warning: Cannot modify header information - headers already sent by (output started at /mywebpagedirectory/index.php:14) in /mywebpagedirectory/album/index.php on line 12
Any thoughts? Thanks! :)
Textarea for photos/saving line breaks
Submitted by baumli on Thu, 2009-12-17 17:39.Just thought I would share this, I am setting up phpAlbum for someone who doesn't know html. I wanted to change the long description from a text box, to a text area. In doing that, I wanted to also be able to save line breaks to format it exactly as the user entered it.
First, make a backup of the files before modifying.
Edit setup_photos.inc
Find the long_desc section.
Replace the line (change * to <):
*input name="p_long_desc<?=$cnt?>" size="80" class="form-text" value="<?=prepit($pic["long_desc"])?>">
With:
*TEXTAREA name="p_long_desc<?=$cnt?>" rows="4" cols="80"><?=prepit($pic["long_desc"])?>*/TEXTAREA>
Edit imageview.tpl.php in the template.
Replace the line:
<? print $long_desc?>
With:
<? print nl2br($long_desc)?>
Where to Find Themes
Submitted by TechMan8 on Tue, 2009-12-08 20:11.Where can I download themes for phpAlbum?
Thanks!
-TechMan8
Need next button on gallery main page... too many galleries and don't wanna scroll...
Submitted by Raptorze on Thu, 2009-11-12 20:21.I started with the Flowing_Dark theme, modified it... and the problem is
the client has tons of galleries...
But none of the themes allow you to have next button - or page 1 | 2 | 3
so that I don't have a hundred galleries on opening page...
rather limit to 10 - then next page or More Galleries - button?
thanks!!!
Jen
Small, original, middle links.. how to translate them?
Submitted by matiit on Thu, 2009-11-12 18:34.Everything in Subject.
Please Answer.
Thanks.
New Style: Clear_White / Clear_Black
Submitted by ChrischiO on Wed, 2009-10-07 22:49.Hi folks,
after testing Galleries like "Gallery" and Coppermine (oh man, those ones really suck... ("u-s-a-b-i-l-i-t-y") or maybe i'm just to nub to handle them ._. ) and some local gallery-builder i found out phpAlbum to be the most suitable app for my needs.
But since i wasnt very happy with the two available styles i thought i could make a new one...
I wanted to have a clean center-focused monochrome style to get maximum attention on the gallery pictures - so here we go:
Major Changes / Features:
jpeg autorotation
Submitted by stopczyk on Mon, 2009-09-28 23:43.Hi!
because I am too lazy, I made patch for autorotating jpeg pictures (basing on exif "Orientation" field ). You will need imagemagick shell command ('convert') and access to /tmp directory. I dont use imegerotate function because standard php gd library included in debian doesnt have it :| . Before use you should clear cache. Feel free to use/modify/do whatever with this ;)
patch:
http://libiaz.org/patch
modified main.php file:
http://libiaz.org/main.php.txt
best regards
stopczyk
Modifying engine.php and exposing variable to album.tpl.php
Submitted by mushisushi on Wed, 2009-09-23 19:25.Hello,
I'm trying to modify the engine.php and expose a variable to the album.tpl.php file.
Currently, I've modified the 'theme_generate_album_page' function, and when I try to use the variable in album.tpl.php, nothing shows up.
Am I missing something?
Thanks,

Recent comments
1 day 10 hours ago
1 day 10 hours ago
2 days 1 hour ago
3 days 24 min ago
3 days 1 hour ago
3 days 22 hours ago
4 days 7 hours ago
4 days 9 hours ago
4 days 12 hours ago
4 days 12 hours ago