Announcement

#1 2011-02-13 08:14:34

krzysztof
Guest

[resolved] Hiding filenames ?

Is it possible to hide the filename of given picture? The names like DSCF90001 etc.  could be surely omitted. The picture can be fully described by "tree" of categories and some cases there is no need to use filename. Unfortunately I can not find such options in configuration panel.

From the other side - PIWIGO is very, very useful tool.

 

#2 2011-02-13 08:54:26

ddtddt
Piwigo Team
Quetigny - France
2007-07-27
7207

Re: [resolved] Hiding filenames ?

go to the photo page

Clic on http://piwigo.org/demo/themes/Sylvia/icon/preferences.png or http://piwigo.org/demo/themes/default/icon/preferences.png

you can modify name


You love Piwigo so don't hesitate to participate, learn more on the "Contribute to Piwigo" page. If you don't have much time for contribution, you can also help the project with a donation.

Offline

 

#3 2011-02-13 13:23:20

Krzysztof
Guest

Re: [resolved] Hiding filenames ?

Thanks, sure, I know it. But I would like just to make the page more clear and simply to hide the "filename". Of course one may replace the "DSCF ... etc" with space, but more convenient would be simply to hide the name. I am afraid that is impossible?

 

#4 2011-02-13 16:42:13

ddtddt
Piwigo Team
Quetigny - France
2007-07-27
7207

Re: [resolved] Hiding filenames ?

ok it's possible wuth option 'show_thumbnail_caption'

You can add on your local config file (with localfil editor)

// show_thumbnail_caption : on thumbnails page, show thumbnail captions ?
$conf['show_thumbnail_caption'] = true;


You love Piwigo so don't hesitate to participate, learn more on the "Contribute to Piwigo" page. If you don't have much time for contribution, you can also help the project with a donation.

Offline

 

#5 2011-02-20 09:08:33

Krzysztof
Guest

Re: [resolved] Hiding filenames ?

Thanks again. Ok, the command seems to be clear, but... which file should contain this command? Index.php or ... others?  Unfortunately I am very poorly experienced with sql, php. I would be very grateful for the detailed advice because I would like to avoid some destruction of my webside :-)

 

#6 2011-02-20 09:18:27

ddtddt
Piwigo Team
Quetigny - France
2007-07-27
7207

Re: [resolved] Hiding filenames ?

Go to Administration -> Plugins -> Manage

Install and activate plugin LocalFiles Editor

-----------

Go to Administration -> Plugins -> LocalFiles Editor -> Tab1 'Local config'

add

$conf['show_thumbnail_caption'] = true;

or

$conf['show_thumbnail_caption'] = false;


between <?php  and ?>

-----------

true or false following the operation you want


You love Piwigo so don't hesitate to participate, learn more on the "Contribute to Piwigo" page. If you don't have much time for contribution, you can also help the project with a donation.

Offline

 

#7 2011-02-20 09:40:58

Krzysztof
Guest

Re: [resolved] Hiding filenames ?

OK, I have done it.
My local/config/config.inc.php is as follows:

<?php

/* Plik nie istnieje i zostanie utworzony przez Edytora Plików Lokalnych */

$conf['show_thumbnail_caption'] = false;


?>



But the filenames (e.g. DSCF35167) are still visible:
at thumbnails   -    http://foto.kujawa.org.pl/index.php?/category/25
at pictures        -    http://foto.kujawa.org.pl/picture.php?/80/category/25

 

#8 2011-02-20 09:46:32

Krzysztof
Guest

Re: [resolved] Hiding filenames ?

One correction. Sorry, but I gave you bad links. Filenames are hidden at small pictures (thumbnails):
http://grzyby.kujawa.org.pl/index.php?/category/29

but still visible at full size pictures:
http://grzyby.kujawa.org.pl/picture.php?/88/category/29

 

#9 2011-02-20 09:55:55

ddtddt
Piwigo Team
Quetigny - France
2007-07-27
7207

Re: [resolved] Hiding filenames ?

Go to Administration -> Plugins -> LocalFiles Editor -> Tab2 'css'

edit
local/css/dark-rules.css

and add code

#imageHeaderBar h2{display:none}


You love Piwigo so don't hesitate to participate, learn more on the "Contribute to Piwigo" page. If you don't have much time for contribution, you can also help the project with a donation.

Offline

 

#10 2011-02-20 10:02:43

Krzysztof
Guest

Re: [resolved] Hiding filenames ?

Great !! It works. Done. Many thanks.

 

#11 2011-02-20 10:28:13

ddtddt
Piwigo Team
Quetigny - France
2007-07-27
7207

Re: [resolved] Hiding filenames ?

Can I pass topic to resolved ?

[the register user can make ;-) ]


You love Piwigo so don't hesitate to participate, learn more on the "Contribute to Piwigo" page. If you don't have much time for contribution, you can also help the project with a donation.

Offline

 

#12 2011-02-20 10:38:15

Krzysztof
Guest

Re: [resolved] Hiding filenames ?

ddtddt wrote:

Can I pass topic to resolved ?

[the register user can make ;-) ]

Of course. Ready.

 

#13 2011-02-20 11:03:36

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

Re: [resolved] Hiding filenames ?

Krzysztof wrote:

but still visible at full size pictures:
http://grzyby.kujawa.org.pl/picture.php?/88/category/29

$conf['show_picture_name_on_title'] = false;

Offline

 

#14 2011-02-20 11:04:32

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

Re: [resolved] Hiding filenames ?

I have to add these 2 configuration settings on screen [Administration > Configuration > Options > Display].

Offline

 

Board footer

Powered by FluxBB

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