Full size images without template Full size images without template
 

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]

Main Menu

Full size images without template

Started by Kobaiano, July 17, 2006, 10:57:20 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Kobaiano

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


Gizmo

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.
Did you read the manual first???? Taking 2 minutes to backup your files can save you hours of wondering what you screwed up.
Billy Bullock - BullsEyePhotos Blog of Indecision

Kobaiano

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...!  ::)


saisrini85

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!