forum.coppermine-gallery.net

Support => Older/other versions => cpg1.2 Standalone Support => Topic started by: Cheffu on October 27, 2003, 02:46:08 pm

Title: Delete "Filename:" in the Picture information
Post by: Cheffu on October 27, 2003, 02:46:08 pm
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.
Title: Delete "Filename:" in the Picture information
Post by: Zarsky on November 04, 2003, 06:04:01 pm
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.
Title: Delete "Filename:" in the Picture information
Post by: Joachim Müller on November 04, 2003, 06:40:47 pm
actually this is done in displayimage.php: look for
Code: [Select]
$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!
Title: Delete "Filename:" in the Picture information
Post by: Cheffu on November 26, 2003, 06:19:03 pm
Quote from: "gaugau"
actually this is done in displayimage.php: look for
Code: [Select]
$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?
Title: Delete "Filename:" in the Picture information
Post by: Nibbler on November 26, 2003, 06:33:37 pm
//
Title: Delete "Filename:" in the Picture information
Post by: Joachim Müller on November 26, 2003, 09:52:34 pm
@cheffu: don't be lazy, look up words you don't understand. You could as well use a translator, just to get an idea: http://translate.google.com/translate?u=http%3A%2F%2Fcoppermine.sourceforge.net%2Fboard%2Fviewtopic.php%3Ft%3D1031&langpair=en%7Cde&hl=de&ie=UTF-8&oe=UTF-8&prev=%2Flanguage_tools

GauGau
Title: Delete "Filename:" in the Picture information
Post by: Cheffu on November 27, 2003, 01:01:51 pm
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?
Title: hmm small problem
Post by: eke on November 27, 2003, 03:40:58 pm
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?

Code: [Select]
<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.
Title: Delete "Filename:" in the Picture information
Post by: Joachim Müller on November 27, 2003, 05:25:10 pm
@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
Title: Delete "Filename:" in the Picture information
Post by: eke on November 27, 2003, 05:36:07 pm
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.