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: Problems with til.gif in igames  (Read 6022 times)

0 Members and 1 Guest are viewing this topic.

FischerKing

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
Problems with til.gif in igames
« on: May 29, 2009, 07:13:51 pm »

Hi
I am a new member of this board and new to Coppermine. I have some experiense in php, css and so forth. I am doing an overhaul to the igames theme for my father, as he needs a place to put his artphotos, he is running an exhibition of them and he want to promote them on the internet as well. I didnt put his photos yet, when he gets the photos he will do so. I want to remove the movie strip animation from the plays that displays the pictures, as they are disturbing. I have deactivated a part of the code in theme.php and that removed the animation. However, my problem is that in internet explorer there is still the broken picture link and that is pretty ugly! I have tried to deaktivate more code, this one in the include/themes.inc.php file, but then I get an error message! What do I do?
Any help will be appreciated strongly as this problem is driving me crazy!

My page:
http://www.rolfdl.com/cpg1.4.21/cpg14x/displayimage.php?album=random&cat=0&pos=-3

Rolf
Logged

phill104

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4885
    • Windsurf.me
Re: Problems with til.gif in igames
« Reply #1 on: May 29, 2009, 07:52:04 pm »

*****edit***** You need to upgrade your version of coppermine from 1.4.21 to the current version, 1.4.24 as there are some security implications if you don't.

Fiddling with include/themes.inc.php is not a good idea. All the functions in that can be manipulated in theme.php. If the code you need to adjust is not in the custom theme then copy the relavent part from the sample theme.

This thread might help.

http://forum.coppermine-gallery.net/index.php/topic,57766.0.html

Here is the relavent code

Code: [Select]
// HTML template for filmstrip display
$template_film_strip = <<<EOT

        <tr>
         <td valign="top" style="background-image: url({TILE1});"><img src="{TILE1}" alt="" border="0" /></td>
        </tr>
        <tr>
        <td valign="bottom" class="thumbnails" align="center">
          <table width="100%" cellspacing="0" cellpadding="3" border="0">
              <tr>
                 <td width="50%"></td>
                 {THUMB_STRIP}
                 <td width="50%"></td>
              </tr>
          </table>
        </td>
        </tr>
        <tr>
         <td valign="top" style="background-image: url({TILE2});"><img src="{TILE2}" alt="" border="0" /></td>
        </tr>
<!-- BEGIN thumb_cell -->
                <td valign="top" align="center">
                                        <a href="{LINK_TGT}">{THUMB}</a>
                                        {CAPTION}
                                        {ADMIN_MENU}
                </td>
<!-- END thumb_cell -->
<!-- BEGIN empty_cell -->
                <td valign="top" align="center" >&nbsp;</td>
<!-- END empty_cell -->

EOT;
 
« Last Edit: May 29, 2009, 08:17:48 pm by Phill Luckhurst »
Logged
It is a mistake to think you can solve any major problems just with potatoes.

FischerKing

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
Re: Problems with til.gif in igames
« Reply #2 on: June 02, 2009, 09:07:37 pm »

Thank you for your advice, however I am still stuck. I dug out the posts from your link, deleted the tile.gif file, and tried to follow the other advices he gave, but same result. I have browsed around the code quite alot during this last week, and it seems to me that most things in the ingame theme is controlled from the ingame theme folder. However, the picture controller seems to be controlled from the outside, somewhere in the main script, I think the purpetrator is the themes.inc.php but I cant be sure. Can you give me any further advice?

About the updating:
Thanks for notifying me about the update, I didnt realize it :)
The homepage on this server is just a testpage, and nobody will use it. When I am happy with the result, I will move it to another server, and make the updates. Any reason why that should be a bad idea?

Thanks for any help you might give me :)
Logged

phill104

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4885
    • Windsurf.me
Re: Problems with til.gif in igames
« Reply #3 on: June 02, 2009, 09:20:44 pm »

The version you are running has a security problem. If you want your work destroyed and your server compromised then stick with it. But I am sure you would be happier securing your site. When you have, come back and I will try and help you with your problem.
Logged
It is a mistake to think you can solve any major problems just with potatoes.

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Problems with til.gif in igames
« Reply #4 on: June 03, 2009, 08:21:18 am »

The homepage on this server is just a testpage, and nobody will use it. When I am happy with the result, I will move it to another server, and make the updates.
Make sure to tell the hacker who can gain access to the entire domain and plant a backdoor or do all kinds of sinister and malevolent things on the entire server that it's only meant as a test site and that you therefor have been reluctant to upgrade. Additionally, read up http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#theme_create_rename
Logged

FischerKing

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
Re: Problems with til.gif in igames
« Reply #5 on: June 03, 2009, 02:29:13 pm »

Lol! I am working on it, didnt know it was that sinister!!
Logged

FischerKing

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
Re: Problems with til.gif in igames
« Reply #6 on: June 03, 2009, 05:13:17 pm »

Ok, update done! Im sure you will panic when you see the register_globals enabled on that site, but I will fix it!!
here you go:
http://www.rolfdl.com/cpg1.4.21/cpg14x/displayimage.php?album=1&pos=3
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Problems with til.gif in igames
« Reply #7 on: June 03, 2009, 05:54:25 pm »

Im sure you will panic when you see the register_globals enabled on that site
We can't see that - the warning will only display for the admin. I certainly won't panic anyway if others ask for trouble, even if I could see the warning. In fact I couldn't care less.

You haven't done as suggested though:
Additionally, read up http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#theme_create_rename
You really should do as suggested there.

Back to your initial question:
I want to remove the movie strip animation from the plays that displays the pictures
You're trying to accomplish what? I can see no animation at all, nor can I see signs of broken links. Create a screenshot of your issue and highlight the place where you have issues. Then attach the screenshot to your posting.
Logged

FischerKing

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
Re: Problems with til.gif in igames
« Reply #8 on: June 03, 2009, 07:25:25 pm »

Logged

FischerKing

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
Re: Problems with til.gif in igames
« Reply #9 on: June 03, 2009, 08:24:38 pm »

Forgot to mention, I want to remove these movie strips completely
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Problems with til.gif in igames
« Reply #10 on: June 04, 2009, 11:25:13 am »

Coppermine's config -> Image view -> Show film strip -> set from "Yes" (default) to "No"  ::)
Logged

phill104

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4885
    • Windsurf.me
Re: Problems with til.gif in igames
« Reply #11 on: June 04, 2009, 11:39:40 am »

I believe he wants the filmstrip feature but without the graphics along the edges.

Am I correct FischerKink?
Logged
It is a mistake to think you can solve any major problems just with potatoes.

FischerKing

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
Re: Problems with til.gif in igames
« Reply #12 on: June 04, 2009, 02:21:19 pm »

No, I wanted to remove it :) that solved the problem very easily. I believe I couldnt do that before I upgraded my version, i was looking for it.
Thanks for the help
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Problems with til.gif in igames
« Reply #13 on: June 04, 2009, 03:16:13 pm »

Coppermine's config -> Image view -> Show film strip -> set from "Yes" (default) to "No"  ::)
has been a feature in all versions of cpg1.4.x
Logged

phill104

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4885
    • Windsurf.me
Re: Problems with til.gif in igames
« Reply #14 on: June 04, 2009, 04:39:16 pm »

I must have missunderstood right from the start. I thought you just wanted rid of the til.gif graphic.

Glad you have it solved now.
Logged
It is a mistake to think you can solve any major problems just with potatoes.

FischerKing

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
Re: Problems with til.gif in igames
« Reply #15 on: June 04, 2009, 04:41:16 pm »

No worries :) I appreciate your help anyway
Logged
Pages: [1]   Go Up
 

Page created in 0.023 seconds with 15 queries.