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 do I turn off thumbnails while I'm batch adding?  (Read 1903 times)

0 Members and 1 Guest are viewing this topic.

MacDs

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
How do I turn off thumbnails while I'm batch adding?
« on: February 20, 2007, 05:44:32 am »

Here is my problem:

I am adding 100's of pictures to each album. I am hosted by Hostmonster who will suspend your account (for 3 or 4 minutes) if you use too many resources at once. Just the act of brings up the page to add the pictures (searchnew.php) is enough to suspend my account if there are over 200 pictures in the album. I would LOVE to be able to turn off the thumbnails during this portion of the process. After all, I am going to add EVERYTHING. And then I would only need to suffer through being suspended once or twice per interation :-)

Any thoughts?
« Last Edit: February 20, 2007, 03:21:20 pm by Nibbler »
Logged

Nibbler

  • Guest
Re: How do I turn off thumbnails while I'm batch adding?
« Reply #1 on: February 20, 2007, 12:25:23 pm »

searchnew.php

change

Code: [Select]
$img = '<img src="showthumb.php?picfile=' . $pic_url . '&amp;size=48" class="thumbnail" border="0" alt="" />';
to

Code: [Select]
$img = '';
and

Code: [Select]
<a href="javascript:;" onclick= "MM_openBrWindow('displayimage.php?fullsize=1&amp;picfile=$pic_url', 'ImageViewer', 'toolbar=yes, status=yes, resizable=yes, width=$winsizeX, height=$winsizeY')"><img src="showthumb.php?picfile=$pic_url&amp;size=48" class="thumbnail" border="0" alt="" /><br /></a>
just remove. Should work.
Logged

MacDs

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: How do I turn off thumbnails while I'm batch adding?
« Reply #2 on: February 20, 2007, 02:51:53 pm »

Works like a charm!

Thank you very much  :)
Logged
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 20 queries.