Advanced search  

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]

Pages: [1]   Go Down

Author Topic: how to hide [Picture information] and put [Add your comment  (Read 24206 times)

0 Members and 1 Guest are viewing this topic.

blame

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
    • http://blame.eclub.lv
how to hide [Picture information] and put [Add your comment
« on: March 20, 2004, 01:28:49 pm »

how to hide [Picture information] and put [Add your comment] under the picture
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
how to hide [Picture information] and put [Add your comment
« Reply #1 on: March 20, 2004, 10:23:51 pm »

to enable people adding comments, you'll have to set their permission to post comments to "yes" in groups manager (admin menu).

In config, you can as well set up wether to display pic info by default or not. If you don't want it to be displayed at all, the easiest thing to do is remove the link to it: edit /themes/yourtheme/theme.php and find
Code: [Select]
<a href="javascript:;" onClick="blocking('picinfo','yes', 'block'); return false;" title="{PIC_INFO_TITLE}"><img src="images/info.gif" width="16" height="16" border="0" align="absmiddle" alt="{PIC_INFO_TITLE}" /></a>and comment it out (by replacing above code with
Code: [Select]
<!--<a href="javascript:;" onClick="blocking('picinfo','yes', 'block'); return false;" title="{PIC_INFO_TITLE}"><img src="images/info.gif" width="16" height="16" border="0" align="absmiddle" alt="{PIC_INFO_TITLE}" /></a>-->)

GauGau
Logged

smartwebs

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 29
Re: how to hide [Picture information] and put [Add your comment
« Reply #2 on: June 08, 2005, 12:36:33 pm »

Hello

I have done as you have suggested and this appears to work for the intermediate pics and the popup large image, however the pic info is still showing on the filmstrip.

Basically I need to have no pic info showing anywhere, for any file.

How can I achieve this

Thank you

Marc
Logged
M

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: how to hide [Picture information] and put [Add your comment
« Reply #3 on: June 09, 2005, 07:44:10 am »

pic info is the section on the page that displays the file name, album, uploader, exif info etc. It is only displayed once on the page (displayimage.php). It is toggled with the little (https://forum.coppermine-gallery.net/proxy.php?request=http%3A%2F%2Fcoppermine.sourceforge.net%2Fdemo%2Fimages%2Finfo.gif&hash=31642e671ada19faeea5938e26e97f4c9cd62892)-icon. You're talking about something different: your question is about the tool tip that is displayed when you hover over a thumbnail. It is not related to this thread and not discussed in this thread, but in many others on this board. Please search an appropriate thread that will explain how to get rid of the tool tip when you mouse-over the thumbs.
Logged
Pages: [1]   Go Up
 

Page created in 0.023 seconds with 18 queries.