Template Template
 

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

Template

Started by yaxiiah, October 22, 2006, 02:01:02 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

yaxiiah

Is possible to upload  only a picture at the top of the gallery without modifying anything else of the theme?
For ex the classic theme but instead of saying gallery is an image.

Gizmo

Sure can, just replace the {GAL_NAME} tag with your image using standard HTML code. Check out this theme and you'll notice that is the case - http://coppermine-gallery.net/demo/cpg14x/index.php?4x=&theme=supernova.
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

yaxiiah

Thanks!!
That will help me!

Gizmo

Here's another released by Sami today call My Tanks. Again the header title is an image.
http://coppermine-gallery.net/demo/cpg14x/index.php?4x=&theme=my_tank
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

yaxiiah

i thought that it'll appear but it appears just like this..[img<IMG SRC="images/Untitled-2.jpg" WIDTH=1024 HEIGHT=768 ALT="">[/img]
do i place it an incorrect place?

yaxiiah

mmm like this...http://www.juicy-duff-site.exofire.net/galeria/
maybe i put and incorrect code...what's the problem?

Sami

You should edit themes/yourtheme(in your case water_drop)/template.html and replace the {GAL_NAME} tag with your image as Gizmo suggested,
You can't put html code under gallery config page this way :o
‍I don't answer to PM with support question
Please post your issue to related board

Bruce

Quote from: Sami on October 22, 2006, 07:01:39 AM
You should edit themes/yourtheme(in your case water_drop)/template.html and replace the {GAL_NAME} tag with your image as Gizmo suggested,
You can't put html code under gallery config page this way :o

Are you saying that in the following snippet of TEMPLATE.HTML...

<td width="100%">
                    <h1>{GAL_NAME}</h1>
                    <h3>{GAL_DESCRIPTION}</h3>
                  </td>

...to put a custom image there in place of the text name you would do this?

<td width="100%">
                    <h1>{image src="/images/sunheader.jpg"}</h1>
                    <h3>{My Photo Gallery}</h3>
                  </td>

Sami

No, chekc mine ,( use regular HTML)

<td width="100%">
                  <img src="/images/sunheader.jpg" />
                  </td>


or you could set it as a background image for that td , something like this:


<td width="100%" style="background:url(themes/water_drop/images/blabla.gif) no-repeat;">&nbsp;</td>
‍I don't answer to PM with support question
Please post your issue to related board

Bruce

Quote from: Sami on October 22, 2006, 06:08:10 PM
No, chekc mine ,( use regular HTML)

<td width="100%">
                  <img src="/images/sunheader.jpg" />
                  </td>


or you could set it as a background image for that td , something like this:


<td width="100%" style="background:url(themes/water_drop/images/blabla.gif) no-repeat;">&nbsp;</td>


Okay Sami, so instead of putting that code inside the {} marks (?), I just remove the...

<h1>{GAL_NAME}</h1>
                    <h3>{GAL_DESCRIPTION}</h3>

...H1 and H3 entirely and replace that with regular html, correct?

Thanks!

Sami

‍I don't answer to PM with support question
Please post your issue to related board