How to remove highlighted pictures backgroound?

GoKeR
GoKeR's picture

Joined: 2002-08-19
Posts: 8
Posted: Mon, 2002-08-19 18:45

First of all its really very good program that it has everthing what I need.

In this last version 1.3.1 , I saw that highlighted pictures have background pic that the picture shows like it has shadow effect.It is good but when there is border color it isnt seems like good to me.

I want to remove this, but I think deleting background picture is not enough?
Can anybody tell me how can I remove this.

Thanks.

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Mon, 2002-08-19 18:53

Here's an answer that Nicholas Head sent out to the mailing list a while back:

Quote:
Modifications such as this can be done by editing files in the html_wrap
directory under gallery. In there you will find the defaults. If you create
a file minus the .default at the end, it will override the default. The file
you want to modify is inline_albumthumb.frame -- so make a copy of
inline_albumthumb.frame.default over to inline_albumthumb.frame and open
inline_albumthumb.frame in a TXT editor to make the changes there.

 
GoKeR
GoKeR's picture

Joined: 2002-08-19
Posts: 8
Posted: Mon, 2002-08-19 19:32

Thanks bharat I did it.
Gallery users like who wants to remove this shadow thing in main page of gallery - you should also edit inline_gallerythumb.frame.default file :wink:

 
kingface
kingface's picture

Joined: 2002-09-10
Posts: 2
Posted: Tue, 2002-09-10 16:26

Was wondering which line of code to change to remove shadow? :eek:

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Fri, 2002-09-13 04:03

Modifying the .default files is a very bad idea. The next upgrade will overwrite any changes you make. Instead, copy the .default file to the same name without the .default suffix (ie, "album.footer.default" => "album.footer") and then modify the new file. Gallery will look for that file first.

kingface, copy html_wrap/inline_albumthumb.frame.default to html_wrap/inline_albumthumb.frame and edit it. Remove everything but this:

$tag = $gallery->html_wrap['thumbTag'];
$href = $gallery->html_wrap['thumbHref'];
<a href="<?php echo $href ?>"><?php echo $tag ?></a>

I haven't tested this, but I'm pretty sure it will work.

 
kyle1745

Joined: 2002-09-06
Posts: 68
Posted: Fri, 2002-09-13 15:25

This only works on normal albums. It screws up nested galleries.

There has to be an easy way to get the thumbs throughout to look like v. 1.2.5

I think the new look, looks horrible.

Kyle