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]   Go Down

Author Topic: Problems with displayimage.php , need to theme too  (Read 2975 times)

0 Members and 1 Guest are viewing this topic.

dumbo

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 112
Problems with displayimage.php , need to theme too
« on: March 28, 2008, 09:15:06 am »

I ve noticed a problem with the displayimage.php . when clicking the next image button on the top the entire page is refreshed then comes the next image ...which cause a lot of shaking and need to scroll once again to bring the image to the right place ....can this be fixed by giving a fixed size for image in " <img></img> " tag ?

And how do modify this part for theming ...i think i ve almost completed my theme for suiting Vista aero look , working fine on firefox and now with lil probs (on gui ) working fine on IE too

Thx
Logged

dumbo

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 112
Re: Problems with displayimage.php , need to theme too
« Reply #1 on: March 28, 2008, 09:23:27 am »

Found the answer to second part of my question
http://forum.coppermine-gallery.net/index.php/topic,51423.0.html

Logged

dumbo

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 112
Re: Problems with displayimage.php , need to theme too
« Reply #2 on: March 28, 2008, 02:22:38 pm »

How to edit the entire layout of the displayimage.php , i was able to find only the nav bar area ...

Thx
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Problems with displayimage.php , need to theme too
« Reply #3 on: March 28, 2008, 07:05:38 pm »

Edit themes/yourtheme/theme.php as discussed in thousands of threads. If a section that you want to see changed doesn't exist in your custom theme, copy the corresponding section (and only that) from the sample theme into your custom theme. As displayimage.php output is composed of many sections, you'll have to edit the sections you want to see changed.
Logged

dumbo

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 112
Re: Problems with displayimage.php , need to theme too
« Reply #4 on: March 30, 2008, 07:12:57 pm »

I ve created the aero theme on Dew drops , i couldnt find the Templates for this theme ... i should have moded on some other theme :(
Logged

dumbo

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 112
Re: Problems with displayimage.php , need to theme too
« Reply #5 on: March 30, 2008, 07:35:46 pm »

Edit themes/yourtheme/theme.php as discussed in thousands of threads. If a section that you want to see changed doesn't exist in your custom theme, copy the corresponding section (and only that) from the sample theme into your custom theme. As displayimage.php output is composed of many sections, you'll have to edit the sections you want to see changed.

Its this Fine day i found some thing called "Sample theme" .php among the folders ...all these days i thought u guys were refering to the theme that we used for samples to edit on  ;D ;D ;D

I replaced the sample theme with the theme on my server ..still every thing was working fine ...It was then i made this late discovery :)

I think now i can finish my work fast ,  ::) ::)

sorry dude ...i must have really been testing ur patience ...
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Problems with displayimage.php , need to theme too
« Reply #6 on: March 30, 2008, 08:38:08 pm »

sorry dude ...i must have really been testing ur patience ...
Indeed ;D
Logged
Pages: [1]   Go Up
 

Page created in 0.037 seconds with 16 queries.