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 can I delete the link to original size photo and the photo  (Read 5564 times)

0 Members and 1 Guest are viewing this topic.

bugs

  • Coppermine newbie
  • Offline Offline
  • Posts: 8

I have one questions:

I don´t want that users are able to open the original size foto by clicking on the intermediate foto. How can delete the link?

I also want to save disk space. So it is possible to delete the original foto by creating the fotos for the albums?

Please help me! I have to solve this questions until Sunday evening and I´m not good in php.


bugs
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: How can I delete the link to original size photo and the photo
« Reply #1 on: July 04, 2004, 12:51:42 am »

No php needed.

Just click on 'admin tools' in the admin menu, and then choose 'Delete original size photos'.

Coppermine does exactly that, and uses the intermediate as the full size, so no pop-ups, and space saved on server.

So relax now till Sunday evening  ;)
Logged
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

bugs

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: How can I delete the link to original size photo and the photo
« Reply #2 on: July 04, 2004, 02:20:38 pm »

Yes, I tried this. But nothing happens! What should I do now!


bugs
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: How can I delete the link to original size photo and the photo
« Reply #3 on: July 04, 2004, 08:12:01 pm »

What exactly do you mean by 'nothing happens'.  Do you get an error, or a page telling you that it has done so and so.
Or does absolutely nothing happen when you click on the radio button to select 'delete original size pics', and then click 'submit'.

Have you tried doing 1 album at a time?
Logged
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

bugs

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: How can I delete the link to original size photo and the photo
« Reply #4 on: July 05, 2004, 12:16:49 am »

When I click on the button the same site (admin tools) is reloading but nothing in happens in the albums and I not get any message. This is by all options so, not only by this one option.

Could it be that my admin tools are false installed or so. But I have installed Coppermine, how the documentation says.


bugs
Logged

madsci

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 4
    • Dogs Life Media
Re: How can I delete the link to original size photo and the photo
« Reply #5 on: July 16, 2004, 06:02:15 am »

same problem for me.
Mine worked on 1.2 but now it says "Select Album" but I see no drop down box.

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: How can I delete the link to original size photo and the photo
« Reply #6 on: July 16, 2004, 07:45:03 am »

there has been a bug in util.php that came with cpg1.3.0, try replacing the file with one from the current stable cvs branch, or even better: upgrade to cpg1.3.1, which fixes some other bugs as well.

GauGau
Logged

madsci

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 4
    • Dogs Life Media
Re: How can I delete the link to original size photo and the photo
« Reply #7 on: July 17, 2004, 10:06:25 am »

did the upgrade, now I get a database error  :o

Quote
Fatal error :
There was an error while processing a database query

I am useing phpbb for Auth
« Last Edit: July 17, 2004, 10:16:26 am by madsci »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: How can I delete the link to original size photo and the photo
« Reply #8 on: July 17, 2004, 10:18:22 am »

enable debug_mode in coppermine config (at the very bottom of the page) to see more dtails what query actually failed. If you can't go to coppermine config, use a tool like phpMyAdmin to directly enable debug_mode on your database: browse to the table yourCopperminePrefix_config and search for "debug_mode". Change the value to "1". Go back to your coppermine install and post the additional error message you get (what query did actually fail). It might be helpfull to post a link to your gallery as well.

GauGau
Logged

madsci

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 4
    • Dogs Life Media
Re: How can I delete the link to original size photo and the photo
« Reply #9 on: July 17, 2004, 05:57:31 pm »

Thanks so much, when I enabled debug I found that I had forgotten to change my database name. sorry if I hijacked your post bugs, I maybe this will fix your problems also.
Pages: [1]   Go Up
 

Page created in 0.029 seconds with 19 queries.