Help to make room to a picture and place the picture in a specific place Help to make room to a picture and place the picture in a specific place
 

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

Help to make room to a picture and place the picture in a specific place

Started by charlie5000, November 05, 2007, 10:33:15 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

charlie5000

Hi all

I have to questions. First I would like to know how to make room fore a picture as shown below. I would like to move "Album" and "Billeder" to the left as show by the arrow.   

Then I would like to place a picture on my site in the position showed down below. I use the theme Reynolds

I have tried to look into the codes but I can't seem to find out what to do

I hope that somebody can help me, and that it is possible to do
(http://)
(//)

Joachim Müller

Post a link to your gallery for a start and post a link to the image you want to see displayed. Zip up your custom theme and then attach it to your posting (using "additional options" when composing your message).
Not related to permissions, moving accordingly. Post in the proper sub-board in the future!


Joachim Müller

The reynolds theme you use has got a tableless approach - the file where you need to enter the HTML code for your images is http://www.boligbilleder.dk/cpg1413/themes/reynolds/template.html, which contains this code:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html dir="{LANG_DIR}">
<head>
<meta http-equiv="Content-Type" content="text/html; charset={CHARSET}" />
<title>{TITLE}</title>
{META}
<link rel="start" href="index.php" />
<link rel="shortcut icon" href="favicon.ico" />
<link rel="search" href="search.php" />
<link href="themes/reynolds/style.css" type="text/css" rel="stylesheet" />
<script type="text/javascript" src="scripts.js"></script>
</head>
<body>
{CUSTOM_HEADER}
<h1 id="header">{GAL_NAME}</h1>

<p id="tagline">{GAL_DESCRIPTION}</p>
<div id="menu">
    <ul>
        <li>
            Menu
            {SUB_MENU}
        </li>
        <li>
            Bruger
            {SYS_MENU}
        </li>
        <li>

            Admin
            {ADMIN_MENU}
        </li>
    </ul>
    {THEME_SELECT_LIST}<br />
    <br />
    {LANGUAGE_SELECT_LIST}
</div>
<div id="content">
    <div class="innerdiv">
        {GALLERY}
        <div align="center">{LANGUAGE_SELECT_FLAGS}</div>

    </div>
</div>
{CUSTOM_FOOTER}{VANITY}
</body>
</html>
You'll have to change the entire theme from two-column layout to three-column layout by editing the stylesheet accordingly. This can be a tricky task for a newbie. I rather suggest using a table-driven theme as template and go from there.

charlie5000

Okay thank you.
Is it easyer to make space for a picture between the header and the tabel as show in the attach file? And if so, can anyone tell me what to do?

thank you

Joachim Müller

Add the corresponding code before<div id="content">That's plain HTML.

charlie5000

Hallo ones again

Thank you for answering all my questions

You say that I should place my code in the template section, but when I do that then the picture is shown on each page on my site. I only want the picture to be on the first page and not all the sites under that. Should I do something in the index – file instead of the template – file?
     




Joachim Müller

Quote from: charlie5000 on November 21, 2007, 09:10:34 PM
You say that I should place my code in the template section, but when I do that then the picture is shown on each page on my site. I only want the picture to be on the first page and not all the sites under that. Should I do something in the index – file instead of the template – file?
You never said so before. The needed changes to show this on the index page only differs completely from what I suggested in this thread.
I recommend using anycontent for that purpose. Edit anycontent.php, add the HTML tag that will display the picture. Then go to coppermine's config (section "the content of the main page") and add anycontent to the start of that string (review the documentation for details).
I'm not willing to look into this any further - lacking basic HTML skills is one thing; failing to describe what you actually want and then later clarifying what you want to accomplish equals wasting supporter's time. Therefor, I'm out of this thread.