Announcement

#1 2010-07-25 22:17:33

Gust
Member
2010-06-02
77

file name in the gallery

In the admin, I select "show filename = 0". But in the gallery, you see under the picture the filename. I don't want to see a filename. How can you fixed this?

Offline

 

#2 2010-07-25 22:39:53

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13786

Re: file name in the gallery

Hi Gust,

which theme are you using?

Offline

 

#3 2010-07-31 10:39:43

Gust
Member
2010-06-02
77

Re: file name in the gallery

Hello,

Is see this by all themes. See the example:

http://www.folkinlimburg.be/images/problem.jpg

Offline

 

#4 2010-07-31 10:42:54

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13786

Re: file name in the gallery

To hide the thumbnail caption:

1) install + activate the LocalFiles Editor plugin.

2) open [Administration > Plugins > LocalFiles Editor > Local config] and paste:

Code:

<?php
$conf['show_thumbnail_caption'] = false;
?>

Offline

 

#5 2010-07-31 10:44:24

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13786

Re: file name in the gallery

The "distance" is necessary because you have some thumbnails in portrait mode and other in landscape mode. Are you sure you have only thumbnails in landscape mode?

Offline

 

#6 2010-07-31 11:49:04

Gust
Member
2010-06-02
77

Re: file name in the gallery

Thank you!!!

How can you display the number of visits (from the visitors) under the thumbnails?

Your second answer:
You have wright, so I think it's ok

Offline

 

#7 2010-08-01 08:54:25

Gust
Member
2010-06-02
77

Re: file name in the gallery

plg wrote:

The "distance" is necessary because you have some thumbnails in portrait mode and other in landscape mode. Are you sure you have only thumbnails in landscape mode?

I changed my mind. I did a small test image in portrait mode. The picture remains the same as the other photos in landscape mode. see example:

http://www.folkinlimburg.be/images/problem0.jpg

So, The distance must remain the same for all the pictures, perhaps maybe without a borderline (or a borderline=0)

Offline

 

#8 2010-08-13 11:22:32

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13786

Re: file name in the gallery

Gust, how did you add photos? (admin web upload, pLoader, FTP+sync)

Do you really want to have such a display for thumbnail or would you prefer to have portrait format thumbnails to have the same height as landscape format thumbnails width?

Offline

 

#9 2010-08-25 23:15:12

kfan
Guest

Re: file name in the gallery

thanks for the tip on removing file names on thumbnails.

is it also possible to remove or hide the file names and meta tags when hovering over photos?

 

#10 2010-08-30 15:13:59

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13786

Re: file name in the gallery

kfan wrote:

is it also possible to remove or hide the file names and meta tags when hovering over photos?

There is no configuration setting for this, but we can do it with a Personal Plugin.

1) activate the LocalFiles Editor plugin

2) go to [Administration > Plugins > LocalFiles Editor > Personal Plugin] and paste the following code:

Code:

<?php
/*
Plugin Name: Personal Plugin
Version: 1.0
Description: Personal Plugin
Plugin URI: http://piwigo.org
Author:
Author URI:
*/

add_event_handler('loc_end_index_thumbnails', 'change_thumbnail_title');
function change_thumbnail_title($tpl_thumbnails_var)
{
  foreach (array_keys($tpl_thumbnails_var) as $id)
  {
    $tpl_thumbnails_var[$id]['TN_TITLE'] = null;
  }

  return $tpl_thumbnails_var;
}
?>

3) go to [Administration > Plugins > Manage], install and activate the "Personal Plugin".


kfan, please next time open a new topic when you have a new question. It makes things much easier to manage for us :-)

Offline

 

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact