Advanced search  

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]

Pages: [1] 2   Go Down

Author Topic: igames theme missing banner header graphic  (Read 14116 times)

0 Members and 1 Guest are viewing this topic.

kattmarl

  • Coppermine newbie
  • Offline Offline
  • Posts: 12
igames theme missing banner header graphic
« on: June 10, 2010, 08:25:12 am »

Hello!   ;D

I've upgraded from 1.4 to 1.5 and all seems to have gone well - I was able to backup my database, my albums, install the new 1.5 version... and modify some of the configuration settings to our liking.

I installed the igames theme, applied it - but the coding is somehow missing the banner graphics which used to be on the theme.  I tried looking for the code but, I'm not very sharp at it.  Was this part omitted in the new release?  Or is something else going on?  Does the banner table code exist within the index.php file, or in the theme.php file?  ???

For example, when you view the demo:  http://coppermine-gallery.net/demo/cpg15x/ and select theme Igames, there's a header graphic shown - what looks like a table of 3 images used for the banner header.  The grid-looking graphic, the flat grey spacer graphic, and the right side graphic.

In our old site, I simply replaced one of the graphics called "top_panel_r1_c1.jpg" with a different one using the same name.. and voila!  My logo banner appeared exactly as desired.  :D

Only now, after applying the 1.5 theme igames - there's nothing on top  :ohttp://www.jetwashimages.com/gallery/index.php

Was the coding removed in the theme, or is something else amiss?   ???
Can someone help explain, or show me what to add to get our logo (attached) back on the header of the gallery?

Thanks you anyone!  ;D
~ Katt
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15759
Re: igames theme missing banner header graphic
« Reply #1 on: June 10, 2010, 04:06:04 pm »

Do you use your 1.4.x theme or the already ported 1.5.x version?
Logged

kattmarl

  • Coppermine newbie
  • Offline Offline
  • Posts: 12
Re: igames theme missing banner header graphic
« Reply #2 on: June 10, 2010, 11:47:57 pm »

Thanks for your reply!  ;D

I installed the new 1.5, and then downloaded the 1.5 igames theme. I copied the theme folder into the Themes directory as instructed, logged in, applied the theme.. and it all seems to look ok, except - no header graphic.   ???

Any ideas?
Thanks!   :D
Logged

Joe Carver

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1503
  • aka 'i-imagine'
    • Home Page
Re: igames theme missing banner header graphic
« Reply #3 on: June 11, 2010, 12:14:32 am »

The folder /themes/igames/images/  seems to be missing, empty or corrupted.

onthepike

  • Guest
Re: igames theme missing banner header graphic
« Reply #4 on: June 11, 2010, 12:20:56 am »

Hi Joe,

Looks on my end like directory browsing has been turned off by default in the control panel and the 404 message is generic in nature. See here:

http://www.jetwashimages.com/gallery/themes/igames/images/important.gif

So the directory is there. But is the header image? And set to what permissions?

(butting out now...)
Logged

kattmarl

  • Coppermine newbie
  • Offline Offline
  • Posts: 12
Re: igames theme missing banner header graphic
« Reply #5 on: June 11, 2010, 12:38:44 am »

Hey everyone, thanks for assisting!

Not even sure where to start..  you said the directory browsing was disabled?  Is it disabled by default in CM?  Cuz I sure don't know how to do that!   :D

The images appear to be in the folder /top_panel_r1_c1.jpg is there..  so the basic files appear to be where they need to be, they just don't show in the header of the page.  Is that coming from the main CM Index.php, or from the Theme php page?

I don't know enough about how CM uses the themes to know where it draws the theme info from.

Any other ideas?  ???
Logged

onthepike

  • Guest
Re: igames theme missing banner header graphic
« Reply #6 on: June 11, 2010, 12:39:26 am »

Here's the banner: http://www.jetwashimages.com/gallery/themes/igames/images/top_panel_r1_c1.jpg

In config, try entering some data in the Gallery Name and Gallery Description fields and see if the banner shows up.
Logged

kattmarl

  • Coppermine newbie
  • Offline Offline
  • Posts: 12
Re: igames theme missing banner header graphic
« Reply #7 on: June 11, 2010, 12:41:12 am »

Could it really be THAT easy?  hahaa!  Ok, I'll try!   ;D
Logged

kattmarl

  • Coppermine newbie
  • Offline Offline
  • Posts: 12
Re: igames theme missing banner header graphic
« Reply #8 on: June 11, 2010, 12:45:26 am »

Partial Success!   :D

Why does adding info into those fields affect the display of a header?  WEIRD!

So now the image shows - sort-of..  I'm guessing I need to adjust the img size code?  Where can I find that?

And.. last time, the banner shows center and full.. now it's only on the left, with the other images on the right.   Any idea how to remote the other images?

Thank you SOO much everyone!   ;D
Logged

kattmarl

  • Coppermine newbie
  • Offline Offline
  • Posts: 12
Re: igames theme missing banner header graphic
« Reply #9 on: June 11, 2010, 12:52:10 am »

Ok, so I'm confused.  ???

When I add text in those Description Fields.. the banner does show, but it seems the height of the banner is linked to the existence of each description line.
If I have only the Gallery Name used... the banner is shrunk vertically..
If I use both Gallery Name and Description, the banner is slightly taller - to show the next line, but it's still not full size.   :-\

The other images still show as well... but we can fix that last.

What should I do to make the whole image show as a logo/banner on top?  ::)
Logged

kattmarl

  • Coppermine newbie
  • Offline Offline
  • Posts: 12
Re: igames theme missing banner header graphic
« Reply #10 on: June 11, 2010, 01:05:10 am »

Am I going about this the wrong way perhaps?   :-\

In the 1.4.x version.. this was simply a graphic swap and a code adjustment.

In 1.5.x, is this now a "custom header" element?  ;)
Logged

kattmarl

  • Coppermine newbie
  • Offline Offline
  • Posts: 12
Re: igames theme missing banner header graphic
« Reply #11 on: June 11, 2010, 01:15:43 am »

Ok wait, I found the image codes within the STYLE.CSS file..   Now there's a ticket!  ;D   Sorry I'm new with CSS and how CM works in 1.5.x  seems all strange to me again.

Code: [Select]
.top_panel {
background-image: url(images/top_panel_r1_c4.jpg);
background-repeat : repeat-x;
border-collapse:collapse;
margin: 0;
padding: 0;
}

.top_panel_left {
background-image: url(images/top_panel_r1_c1.jpg);
background-repeat : no-repeat;
background-position: top left;
margin: 0;
padding: 0;
}

.top_panel_right {
background-image: url(images/top_panel_r1_c2.jpg);
background-repeat : no-repeat;
background-position: top right;
margin: 0;
padding: 0;
}



.top_panel_btm {
background: #4A4A4A;
background-image: url(images/top_panel_r2_c3.jpg);
background-repeat : no-repeat;
background-position:right;
padding-top : 0;
padding-bottom : 0;
}

What is the difference between these .top_panels?
If I just want one image, is that - then - the background image?  How can I get this image centered and full size?
Logged

kattmarl

  • Coppermine newbie
  • Offline Offline
  • Posts: 12
Re: igames theme missing banner header graphic
« Reply #12 on: June 11, 2010, 02:34:11 am »

 :D  WE DID IT!  :D

Well... mostly.  I still don't know why we HAVE to have a Gallery Name and Description in order to show the header graphic.
If there's a way around this - let me know.  I'd rather have the logo be the only thing written above the Nav Bar.

So, I went in to the STYLE.CSS file and modified the code for the .top_panel_left tag - changing the alignment to "center" and added a "Height: 120px;" requirement.

This did the trick - the graphic now shows at full size.  ;)

Is there any way to get rid of the Gallery Name & Description which sits above the image?   :-\
Logged

onthepike

  • Guest
Re: igames theme missing banner header graphic
« Reply #13 on: June 11, 2010, 03:08:28 am »

Welcome to the fascinating world of custom themeing!

http://www.jetwashimages.com/gallery/docs/en/theme.htm
http://www.jetwashimages.com/gallery/docs/en/theme_create.htm
http://www.jetwashimages.com/gallery/docs/en/theme_theme_php.htm
http://www.jetwashimages.com/gallery/docs/en/theme_template.htm
http://www.jetwashimages.com/gallery/docs/en/theme_style_css.htm

Give your docs a good read-through and play around with the three files in the igames theme folder. Might be a good idea to rename the igames theme to something else and begin your custom theme with your new name avoiding any possible future conflict when the actual igames theme is eventually updated. You won't want to lose your work overwriting your personalized igames theme with CPG's default issue.

Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47844
  • aka "GauGau"
    • gaugau.de
Re: igames theme missing banner header graphic
« Reply #14 on: June 11, 2010, 07:51:06 am »

Not even sure where to start..  you said the directory browsing was disabled?  Is it disabled by default in CM? 
That's not a feature in Coppermine (official abbreviation "cpg" by the way, not "cm"), but a feature in your webserver's setup (usually Apache). It's recommended to leave directory browsing (aka indexes) off, so no need for action here. YIf your webhost ist displaying a 404 when someone tries to browse a directory that's of course bad and not the intended way. However, that's something you usually have no control over.
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15759
Re: igames theme missing banner header graphic
« Reply #15 on: June 11, 2010, 07:56:15 am »

Is there any way to get rid of the Gallery Name & Description which sits above the image?   :-\
I cannot see any text above your header graphic. But wouldn't it be easier just to add a custom header?
Logged

kattmarl

  • Coppermine newbie
  • Offline Offline
  • Posts: 12
Re: igames theme missing banner header graphic
« Reply #16 on: June 11, 2010, 07:18:05 pm »

Thank you everyone for your input!   ;)

Yes, after modifying the CSS tag for the image, I was able to remove the wording in CPG fields (removed the Gallery Name & Description) and the image still shows perfectly.   ;D  I think we're good!

I suppose a custom header is what's required, but I'm surprised that CPG - by default - doesn't have a menu-driven option in the config area to simply upload a header logo/graphic and select a placement area (left, center, right.)

However - ALL the help you guys have offered has been brilliant!  THANK YOU!
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15759
Re: igames theme missing banner header graphic
« Reply #17 on: June 11, 2010, 09:46:24 pm »

I'm surprised that CPG - by default - doesn't have a menu-driven option in the config area to simply upload a header logo/graphic and select a placement area (left, center, right.)
That option is just inflexible imo. We have that option instead.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47844
  • aka "GauGau"
    • gaugau.de
Re: igames theme missing banner header graphic
« Reply #18 on: June 12, 2010, 09:53:44 am »

I'm surprised that CPG - by default - doesn't have a menu-driven option in the config area to simply upload a header logo/graphic and select a placement area (left, center, right.)
Target audience are people who already know a little HTML/CSS to add their own.
Logged

kattmarl

  • Coppermine newbie
  • Offline Offline
  • Posts: 12
Re: igames theme missing banner header graphic
« Reply #19 on: June 14, 2010, 08:46:30 am »

Thank you Joachim & Αndré,

I guess more familiarity with the way CPG uses it's files would be the most helpful.
I do know enough CSS to uncover a few things and can code in html just fine.

I think I was just hoping something like this - something basic like header/logo modification would have been listed in the FAQs and I was completely bewildered as to why it wasn't.  It would have at least pointed me in the right direction of Custom Header so I wouldn't need to bother anyone.  Maybe add it to an FAQ saying - "Customizing Header with your own Logo/Banner graphic" and then describe that this MUST be done by following the link ANDRE lists?   Maybe I can write it from a basic user perspective?

Sorry to take up your time.  ::)
I really REALLY appreciate it though!  Thanks again!
You guys ROCK!   ;D
Logged
Pages: [1] 2   Go Up
 

Page created in 0.161 seconds with 20 queries.