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: Need to edit display  (Read 3227 times)

0 Members and 1 Guest are viewing this topic.

kehbop

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 52
Need to edit display
« on: November 24, 2005, 09:17:09 am »

I need to edit the displaying of pictures. Here's what...

1) Make it so users can upload thumbnails for flash movies (swf)
2) When you click on a picture to display, it opens displayimage.php in a javascript popup
3) I want to edit the displayimage.php

Can you point out where I would do these things? I know very little php so I may need more help once I start editting.
« Last Edit: November 24, 2005, 11:59:17 pm by GauGau »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Need to edit display
« Reply #1 on: November 24, 2005, 07:23:57 pm »

I need to edit the displaying of pictures. Here's what...

1) Make it so users can upload thumbnails for flash movies (swf)
2) When you click on a picture to display, it opens displayimage.php in a javascript popup
3) I want to edit the displayimage.php

Can you point out where I would do these things? I know very little php so I may need more help once I start editting.
1) Currently not possible
2) There's a hack posted on the mods board that makes your pics open in a pop-up when users click on the thumbnail, use the search to find it. Another option would be to add target="_blank" to the code that refers to displayimage.php
3) Sure, no problem - go ahead. In case you question was meant to be "how do I change the looks of this page?", then the answer is "edit your theme, post details on what you want changed".
4) We have a "One question per thread" policy you agreed to respect when signing up. Do so in the future please.
Logged

kehbop

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 52
Re: Need to edit display
« Reply #2 on: November 24, 2005, 08:56:57 pm »

Oh sorry. Thanks for the help
Logged
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 20 queries.