Delete "Filename:" in the Picture information Delete "Filename:" in the Picture information
 

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]

Main Menu

Delete "Filename:" in the Picture information

Started by Cheffu, October 27, 2003, 02:46:08 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

Cheffu

In the Picture information there is write the filename of every picture. Can i delte the line where is write "Filename:***"? My Filenames are often something like "01.jpg" and that is write on the site on the first place in the Picture information. I find this line senseless so I will delete it.
Schreibfehler sind beabsichtigt und dienen der allgemeinen Belustigung.

Zarsky

Comment out the relevant area in template.php that generates that line.  Just search the file for the text on the line you are talking about and comment it out.
Read the Online DOCs, FAQ, and SEARCH the board BEFORE posting questions for help.

Joachim Müller

actually this is done in displayimage.php: look for $info[$lang_picinfo['Filename']]   = htmlspecialchars($CURRENT_PIC_DATA['filename']);and comment it out with two leading slashes.

GauGau

P.S. Please post your support requests in the proper board. I moved this from "feature request" here!

Cheffu

Quote from: "gaugau"actually this is done in displayimage.php: look for $info[$lang_picinfo['Filename']]   = htmlspecialchars($CURRENT_PIC_DATA['filename']);and comment it out with two leading slashes.

With the new finial version i would test this, but i don't understand a wrd from you. What are slashes?
Schreibfehler sind beabsichtigt und dienen der allgemeinen Belustigung.


Joachim Müller


Cheffu

Hi GauGau
If you believe or not. I have looked up the word before I post that in my dictionary and there is write "shlashes Hieb, Schlitz" and that doesn't help me real or do you now what is mean when you here this words?
Schreibfehler sind beabsichtigt und dienen der allgemeinen Belustigung.

eke

not sure if the solution applies to my problem too:

the code still is generated even if I comment out the suggested lines. maybe this is a different one?

<a href="displayimage.php?album=4&pos=0"><img src="albums/stockerau_2002/thumb_0.jpg" class="image" width="100" height="67" border="0" alt="0.jpg" title="Dateiname : 0.jpg
Dateigrösse : 41kB
Abmessungen : 576x384
hinzugefügt am : 23.November 2003"></a>


I looked in displayimage.php and theme.php... i must be blind.

thanks for any pointers. cheers!
eke.

Joachim Müller

@eke: this thread dealt with the filename in the info section; you're talking about the tooltip when hovering over the pic - this is something else. Read http://forum.coppermine-gallery.net/index.php?topic=186

GauGau

eke

ok thanks!

cool script btw. just found out about it 2 days ago and am slowly working my way into it (tablelessly :D)

cheers
eke.