Advanced search  

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

Pages: [1]   Go Down

Author Topic: cgp 1.5x - Remove tile.gif  (Read 8682 times)

0 Members and 1 Guest are viewing this topic.

justmickie

  • Coppermine newbie
  • Country: us
  • Offline Offline
  • Gender: Female
  • Posts: 9
cgp 1.5x - Remove tile.gif
« on: November 27, 2016, 04:53:49 am »

Gallery Configuration - Coppermine Photo Gallery 1.5.40 (stable)
Gallery URL - http://sandbox3.geekgirl-chic.org
Gallery Page - http://sandbox3.geekgirl-chic.org/displayimage.php?pid=1#top_display_media
Gallery Theme: Rainy Day - unedited

Goal - I want to remove the image "tile.gif" but keep the film strip

Attemps to fix on my own -
I went through the following files with a fine tooth comb:
Style.css
Template.html
Theme.php

None of them made reference to the image I want to remove

I came here and went through the form next
I could not find any advice for my version of coppermine
I did find the following for 1.4x but it did not say where in the paste the info into  the template page.
Beginning, middle, end?

http://forum.coppermine-gallery.net/index.php/topic,40503.msg191975.html#msg191975
Is that code viable for 1.5?
If so, where do I paste it?
If not.. does anyone know what code I remove and from where?
I tried to locate the code with "inspect element" in my browser, but I am just not understanding where it came from

Inspect just shows this:
Code: [Select]
element.style {
    background-image: url(images/tile.gif);
}


Thank you in advance for your help



Logged

allvip

  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Posts: 1362
Re: cgp 1.5x - Remove tile.gif
« Reply #1 on: November 27, 2016, 04:07:37 pm »

Copy the code below in themes/your_theme/theme.php


Code: [Select]
/******************************************************************************
** Section <<<$template_film_strip>>> - START
******************************************************************************/
// HTML template for filmstrip display
$template_film_strip = <<<EOT

        <tr>
          <td valign="top" class="filmstrip_background"></td>
        </tr>
        <tr>
          <td valign="bottom" class="thumbnails filmstrip_background" align="center" style="{THUMB_TD_STYLE}">
            <table width="100%" cellspacing="0" cellpadding="3" border="0">
                <tr>
                   <td width="50%" class="prev_strip"></td>
                     <td valign="bottom"  style="{THUMB_TD_STYLE}">
                       <div id="film" style="{SET_WIDTH}"><table class="tape" ><tr>{THUMB_STRIP}</tr></table></div>
                     </td>
                   <td width="50%" align="right" class="next_strip"></td>
                </tr>
            </table>
          </td>
        </tr>
        <tr>
         <td valign="top" class="filmstrip_background"></td>
        </tr>
<!-- BEGIN thumb_cell -->
                <td class="thumb" >
                  <a href="{LINK_TGT}" class="thumbLink" style="{ONE_WIDTH}">{THUMB}</a>
                </td>
<!-- END thumb_cell -->
<!-- BEGIN empty_cell -->
                <td valign="top" align="center" >&nbsp;</td>
<!-- END empty_cell -->

EOT;
/******************************************************************************
** Section <<<$template_film_strip>>> - END
******************************************************************************/
Logged

justmickie

  • Coppermine newbie
  • Country: us
  • Offline Offline
  • Gender: Female
  • Posts: 9
Re: cgp 1.5x - Remove tile.gif
« Reply #2 on: November 27, 2016, 06:09:47 pm »

That did it! thank you so much!
Logged
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 19 queries.