Little-Miss Posted May 29, 2009 Posted May 29, 2009 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?! So does anyone fancy a go? Anyone not got a life?! Thanks! minishowcase v09b142
EduTech Posted May 29, 2009 Posted May 29, 2009 So there is nothing like this in the css file? body {background-image:url('myimage.gif')} Hmm looks interesting, suppose could give it ago 1
EduTech Posted May 29, 2009 Posted May 29, 2009 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.
Little-Miss Posted May 30, 2009 Author Posted May 30, 2009 Hmm, i might have tried that. But i'll give it a go later!
mossj Posted May 30, 2009 Posted May 30, 2009 (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 May 30, 2009 by mossj # or .'s 1
p858snake Posted May 30, 2009 Posted May 30, 2009 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. 1
Little-Miss Posted May 30, 2009 Author Posted May 30, 2009 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?
mossj Posted May 30, 2009 Posted May 30, 2009 (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 May 30, 2009 by mossj
Little-Miss Posted May 30, 2009 Author Posted May 30, 2009 *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*
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now