Customise images in images\tree folder Customise images in images\tree folder
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Customise images in images\tree folder

Started by Bent Wooden Spoon, September 06, 2011, 01:08:47 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Bent Wooden Spoon

Hi,

I'm currently making a dark theme, and I want to use different buttons from some of the defaults in the images\tree folder for the config menu. I'm having problems with the expand/collapse buttons at the top and bottom. I'd like them to use the images I have in my theme's image folder rather than from Coppermine's image folder, but I don't know how.

Is there any way of changing these with theme.php?  I've seen what I think is the relevant code in admin.php, but I'm not sure if it's possible to insert it into my theme.php to change the img src, and if so how. If anyone can help I'd appreciate it.

Bent Wooden Spoon

Should clarify, it's the plus, minus and toggle images I'm trying to change.

ΑndrĂ©

As far as I can tell the only way to use your own images is to either
1.) Replace the images in images/tree/
2.) Edit the code in admin.php
3.) Adjust the final output with the plugin hook page_html

Option 3 is recommended and also quite easy and fast to implement.

Bent Wooden Spoon

Thought that might be the case. Many thanks for option 3, I'll look into it.

Cheers