coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: Kobaiano on July 17, 2006, 10:57:20 AM

Title: Full size images without template
Post by: Kobaiano on July 17, 2006, 10:57:20 AM
Hi, I'm hope you can help me to solve a little problem  :) whit coppermine 1.4.8
I've already searched within faq and older topics but I didn't find the proper solution.
I would like to modify my displayimage.php file to simply display the full-sized photo into an "empty" page, avoiding to use the template.
I'm sure it should be quite simple but I don't want to mess up with php code...

Thanks in advance

Title: Re: Full size images without template
Post by: Gizmo on July 17, 2006, 03:27:29 PM
When viewing the full size image, it opens a new popup window resized to fit the photo with a gray background. If you just click the photo, it closes the window. If you have javascript turned off then clicking on the intermediate photo opens the full sized photo in the same window and you have to use the back button to get back to the intermediate photo.

I'm not clear on what you mean by
Quoteavoiding to use the template
so if you could explain a bit better, it would help.
Title: Re: Full size images without template
Post by: Kobaiano on July 17, 2006, 07:08:56 PM
I solved!  ;D
I had screwed up the theme.php file, so that fullsize images where shown with theme header and footer, and not as "simple" pages.
I recovered the original theme.php file and now all is ok.
Please forgive my poor english...!  ::)

Title: Re: Full size images without template
Post by: saisrini85 on July 26, 2006, 08:11:51 AM
I think that happens when you have a dynamic header in the theme.php file instead of having the header in the template.html file rite?

Right now, I am installing my gallery and when I click on a image, it opens a new window with the header and the image!