How to change backgrond color to be from a jpg file?


I would like to change background color from a file. How should I do that?



Hello, I'm not sure what you

Hello, I'm not sure what you mean with "background color from file".

If you mean thumbnails you can edit thmb.tpl.php in themes/ directory.


Color map

Hi Patrik,

I am sorry that I was not clear on my question. I mean how can I change the color map to accept from image file.



Hello Vicky, again I do not

Hello Vicky,

again I do not know exactly what you mean.

Would you like to change background color of phpAlbum depending on colors of Image you are viewing? If this is what you want, it is not possible, yet.

But if think this would be an excellent idea to implement :) Like the new TVs which have color light on back side of TV and it is switching colors of the light depending on what is going on an TV-Screen.


You have a designer's mind

Hi Patrik,

You are a true designer! I did not mean what you described. But I do think if you can implement that into the new version of phpalbum, it will great.

My real question is:
Go to the setup, themes, and create a new color map. I can change the color for background: Link: Dir.Desc: Photo Border: Photo Desc: Logo:

I would like to know if I can change the backgrond color to use image file.



Patrick, perhaps she wants


perhaps she wants an image as background instead of a color.

Joep Meijer

Using phpAlbum on

Ok, now it is clear, you

Ok, now it is clear, you will most probably an image as background as Joep said.

This is not yet possible to set up in Setup. You will have to edit template files album.tpl.php and imageview.tpl.php which you will find in themes/ directory.

If you are familiar with HTML it should be no problem for you.


Thank you

Thanks, I will try.


an addition to this but some different


i have a doubt some what like this,so thought to post here!
if you have the theme Borders, and change the background color, we get the change in a box and the rest is white.
suppose if we edit the themes with background blue, then you will get a blue box with pic dir surrounded by white background
Now how can i edit/setup so that the background color can be changed?

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.