coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: dumbo on March 28, 2008, 09:15:06 AM

Title: Problems with displayimage.php , need to theme too
Post by: dumbo 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
Title: Re: Problems with displayimage.php , need to theme too
Post by: dumbo 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

Title: Re: Problems with displayimage.php , need to theme too
Post by: dumbo 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
Title: Re: Problems with displayimage.php , need to theme too
Post by: Joachim Müller 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.
Title: Re: Problems with displayimage.php , need to theme too
Post by: dumbo 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 :(
Title: Re: Problems with displayimage.php , need to theme too
Post by: dumbo on March 30, 2008, 07:35:46 PM
Quote from: Joachim Müller 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.

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 ...
Title: Re: Problems with displayimage.php , need to theme too
Post by: Joachim Müller on March 30, 2008, 08:38:08 PM
Quote from: dumbo on March 30, 2008, 07:35:46 PMsorry dude ...i must have really been testing ur patience ...
Indeed ;D