Can't see new theme images :( Can't see new theme images :(
 

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

Can't see new theme images :(

Started by penelope79, January 18, 2005, 08:09:52 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

penelope79

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?? ???

Casper

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.
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

penelope79

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

jmc

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
I'm trying hard... at least!

Casper

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" />
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

penelope79

Thank you very much, guys!!!  ;D Now it finally works!!!!!!! :D