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: Simple Question  (Read 2832 times)

0 Members and 1 Guest are viewing this topic.

muna580

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Simple Question
« on: February 17, 2007, 11:34:25 pm »

I just intalled Coppermine, but I have some questions.

1. Currently, my photogallery is showing up on this link. http://munbha.100webspace.net/includes/management/cpg1410/index.php I want it so show up on my main site, http://munbha.100webspace.net/ inside my main content area. This way, users can still navigate thorugh mysite and clikc on Home, Forum, Photogallery, etc.

2. I read the documentations but I can't figure out how to upload pictures? How do I upload a batch picture using FTP?
Logged

klewless

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 107
Re: Simple Question
« Reply #1 on: February 18, 2007, 08:23:16 am »

Hi there,
Though I am new at this too here is the link I found most helpful. Hope this does the trick.

http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#batch_add_pics

kind regards
klew :)
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Simple Question
« Reply #2 on: February 18, 2007, 06:27:52 pm »

but I have some questions.
We have a "one question per thread" policy that you agreed to respect when signing up.
Logged

muna580

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: Simple Question
« Reply #3 on: February 18, 2007, 09:26:54 pm »

Okay, sorry about that. Well the only thing I want to know is how to integrate the gallery into my website. Currently, my photogallery is showing up on this link without my website content. It is only the photogallery.  I want it so show up on my main site, http://munbha.100webspace.net/ inside my main content area. This way, users can still navigate through my site and click on Home, Forum, Photogallery, etc.
Logged

phill104

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4885
    • Windsurf.me
Re: Simple Question
« Reply #4 on: February 20, 2007, 08:54:15 pm »

There are a number of ways to achieve this the best methods are explained in the themes section where you should have really posted this.

The simplest but not the best is to use an iFrame (google it) but you have to set the dimensions of the frame, and as this changes in coppermine you are left with an extra scroll bar inside the frame.

A more elaborate option is to put this code in the head of your html

Code: [Select]
<script language="javascript">
<!--
function iFrameHeight() {
if(document.getElementById && !(document.all)) {
h = document.getElementById('iframename').contentDocument.body.scrollHeight;
document.getElementById('iframename').style.height = h;
}
else if(document.all) {
h = document.frames('iframename').document.body.scrollHeight;
document.all.iframename.style.height = h;
}
}
//-->
</script>

And in the body where you want coppermine to appear put this code

<iframe onLoad="iFrameHeight();"
src="/your gallery"
scrolling="no" scroll="auto"
id="iframename" name="iframename"
marginwidth="0" marginheight="0" frameborder="0"
style="width:100%;" height="100px">
</iframe>

replacing the "/your gallery" with the relative path of your gallery.

Hope this helps
Logged
It is a mistake to think you can solve any major problems just with potatoes.

muna580

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: Simple Question
« Reply #5 on: February 21, 2007, 06:59:23 am »

Just wondering, what does that javascript you told me to put in the head do?
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Simple Question
« Reply #6 on: February 21, 2007, 09:34:27 am »

Phil is trying to be helpful and his recommendations are possible options. If you don't understand what the code he suggested does, then try it - don't be lazy!
However, our most basic recommendation is to built a theme that matches the overall look of your site as per documentation.
This is not related to initial install, moving accordingly.
Logged
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 15 queries.