Resizing Coppermine Gallery to Fit in Wrapper Resizing Coppermine Gallery to Fit in Wrapper
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Resizing Coppermine Gallery to Fit in Wrapper

Started by nontekkyguy, June 08, 2006, 08:48:56 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

nontekkyguy

I'm using Mambo 4.5.3 with CPG 1.43/44(with fixes). I am not bridging the two, however I am using the Mambo wrapper feature so that registered users (members), can access the coppermine gallery. What I've done for my own purposes was to disable Mambo's registration module, and configured it so that it is a member's login. Valid members are forwarded to my gallery, but I don't want to have the coppermine page pop-up or open in another window which is the current set up. I want to have the coppermine gallery open within a wrapper configuration (sort of like a frameset). The problem is with the size of the Coppermine page itself. Is there a way to resize this page so that it fits snugly within the wrapper frame, or do I have to remove my coppermine navigation menus to get things to fit.  Right now Mambo's auto scroll bar creates a frame because the gallery window is too huge to fit inside.
learning requires patience; teaching requires more

Joachim Müller

We have no idea how the mambo wrapper works, you would have to ask the mambo community about stuff like this. Of course you can make coppermine consume less space, edit your theme accordingly. This is not related to bridging though, so I moved your thread.

Sami

as gaugau said you should edit your template.html and style.css to fit it under wrapper
path to these file is :{gallery folder}/themes/{your selected themes}/template.html
‍I don't answer to PM with support question
Please post your issue to related board

Gizmo

I've downloaded Mambo to get an idea about CMS's. I don't have a need for one but they look interesting and want to take one apart to see what makes it tick. Anyway, in my snooping around, I've found these posts dealing with Coppermine and Mambo on their site:

http://forum.mamboserver.com/showthread.php?t=12634&highlight=coppermine - post started in 2004 but still being added to.
http://forum.mamboserver.com/showthread.php?t=53487&highlight=coppermine - deals with CPG 1.4x
http://forum.mamboserver.com/showthread.php?t=76176&highlight=coppermine
http://forum.coppermine-gallery.net/index.php?topic=21043.0 - this post on Coppermine

What theme are you using? If it's a full page theme that expands as you move the browser window around, yes, it will overflow and cause scrollbars. What you need to do is check out a theme such as Stramm's Tentacle - http://coppermine-gallery.net/demo/cpg14x/index.php?4x=&theme=tentacle as it's a fixed width theme. I'd recommend you determine the size of your Mambo window that you want to display your gallery and then build a theme to this size. As a note, the "standard" image display windows needs to be 600 pixels wide. By standard I mean without having to edit the code to change this width. Bigger is no problem but making it smaller means you have a lot of work ahead of you. 600px should be OK for your needs but it also depends on your target screen resolutions. Ahhh... webpage development... ain't it fun!!!!

Here's a cool tool that I use to measure widths and heights on a monitor. It's called JR Screen Ruler and you can download it here: http://www.spadixbd.com/freetools/?referrer=JRulerUser.

Hopefully this will get you started and off on the right foot.

Cheers,

Billy
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

nontekkyguy

Thanks I will definitely give Stramm's templates a look. I had no idea CPG templates could be resized! WOW. I've been looking for more templates...
Looks like I might have to create some of my own and contribute them for folks to use.
learning requires patience; teaching requires more

Gizmo

Read up on the docs and give it a try. Good luck and I look forward to seeing you work.

Cheers,

Gizmo

[edit] - sorry, don't try... do!
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