Jump to content

Recommended Posts

Posted

Right, with the help of Powerrmonkey i got this up and running last night.

 

I've not long got my head around CSS, PHP is alien to me at the moment but this is basically what this gallery is made of. So like always i've given it a go so i could teach myself through experience, but now im stuck again.

 

I basically want to change the background to an image, easy enough with CSS and i've tried all i could think of but to no avail.

 

Where there is something that looks like CSS it has an Echo in there. I thought echo outputted stuff?! :bowl:

 

So does anyone fancy a go? Anyone not got a life?!

 

Thanks!

 

minishowcase v09b142

Posted

So there is nothing like this in the css file?

 

body {background-image:url('myimage.gif')}

 

Hmm looks interesting, suppose could give it ago

  • Thanks 1
Posted

Also in the gallery.css

 

you have:

 

body {

margin: 0px;

background: <?php echo $theme_general_bg?>;

}

 

i think, if you take out "<?php echo $theme_general_bg?>" and just put background-image:url('myimage.gif')"

 

that should do it.

 

I'm just going off to bed so cant test it now.

 

james.

Posted (edited)

I think IE8 could also help here, as if you press f12 it brings up a rather nifity sourceviewer, that has html on one side and relavent styles on the other... if it doesn't work it could be being overidden and that will help identify how/where.

 

P.S try refrencing too

as this is a entire container used in there demo.

 

#global_container {
background-image:url('myimage.gif');
}

 

I think its '#' to refrence id's but could be '.'

Edited by mossj
# or .'s
  • Thanks 1
Posted
I think IE8 could also help here, as if you press f12 it brings up a rather nifity sourceviewer, that has html on one side and relavent styles on the other... if it doesn't work it could be being overidden and that will help identify how/where.
Also if you have firefox, check out the add on called firebug, its a nifty little tool with one of the bonus features of letting you play with css/html in real time within the browser window to debug stuff.
  • Thanks 1
Posted

Cheers guys, i'll take a look.

 

This is a cool little gallery and its going to save me a lifetime of work because i can teach my friend how to upload his own artwork.

 

The only bad thing is that the folder, cant have subfolders, which is a bit of an organisational nightmare. It doesnt look like the creater has done much recently either.

 

So is anyone up for a challenge? Can you create some nice subfolders? Might create another thread for this one...

 

While you're there, does anyone just wanna do all my work for me? ;)

Posted (edited)

Out of interest did you check out gallery2? There demo has a few simplistic templates as well... and i have the default template hosted here (pm me if you want to play with it)

 

I will be using it in school and it would seem fit for your purpose without to much fiddling (although could be overkill)... and most hosts support it (mine do...but then I'm my host :))

Edited by mossj
Posted

*Little-Miss raises head from desk long enough to type short message*

 

Ok...i've tried what they suggested....got the first attempt at subfolders working...so now for example my friend has a folder called Art, in there is 2 folders, Painted and Sketched. Whereas before they all had to be in the Art folder, it now automatically make 2 entries Art/Sketched, Art/Painted. Which is a step in the right direction, just not a very eye pleasing one. For some reason when i try to add the next hack, the one that looks how i want it, it just kills my gallery. Grrr

 

*places head back on desk*

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...