forum.coppermine-gallery.net

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Themes/Skins/Templates => Topic started by: penelope79 on January 18, 2005, 08:09:52 pm

Title: Can't see new theme images :(
Post by: penelope79 on January 18, 2005, 08:09:52 pm
I wanted to realize an almost new theme starting from the "graphix" theme. I have followed the instructions of the "creating a skin" topic and I used TopStyle Pro to customize the template.html and the style.css instead of Dreamweaver that I usually use. I have created new images with the same values and names of those of "graphix" theme and I have saved the images, the template and the style files in a new folder, included the theme.php file that I didn't modified. Once finished the new theme folder, I have uploaded it in the coppermine/theme/ directory of my webserver. But when I try to see it through http://yourdomain.tld/your_coppermine/folder/?theme=your_theme_name I only see the page without the images, while if I try to select the new theme from the config menu I always see the classic theme... what I did wrong?? ???
Title: Re: Can't see new theme images :(
Post by: Casper on January 18, 2005, 08:17:43 pm
Where in the theme did you put these images.  Did you keep the same structure.
Is the theme named the same as the one it replaced 'graphix'.

A real link instead of the 'http://yourdomain.tld/your_coppermine/folder/?theme=your_theme_name' would also help.
Title: Re: Can't see new theme images :(
Post by: penelope79 on January 18, 2005, 08:40:57 pm
In my theme folder I have another folder called "images" where I have put the images. I have kept the same structure and the new theme is called "umatheme" as it's a gallery for a Uma Thurman fansite. This is the link http://umaonline.fan-wire.com/coppermine/?theme=umatheme
Title: Re: Can't see new theme images :(
Post by: jmc on January 18, 2005, 09:15:40 pm
Hi, Penelope.
The links for your images are pointing to the coppermine/images folder, and not the coppermine/themes/umatheme/images folder. Your html editor has probably set the link incorrectly (I know Dreamweaver tends to do this). Edit the refs in your template.html file manually to point to themes/umatheme/images/ and you should be good to go!
John Mc
Title: Re: Can't see new theme images :(
Post by: Casper on January 18, 2005, 10:34:51 pm
And make sure you change them in the theme.php as well.

Also your template is not pointing to the style.css correctly.

You have this;

Quote
<link rel="stylesheet" href="style.css" />

It should be this;

Quote
<link rel="stylesheet" type="text/css" href="themes/umatheme/style.css" />
Title: Re: Can't see new theme images :(
Post by: penelope79 on January 18, 2005, 10:42:16 pm
Thank you very much, guys!!!  ;D Now it finally works!!!!!!! :D