[Solved]: what do i do?? [Solved]: what do i do??
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

[Solved]: what do i do??

Started by dt, April 08, 2004, 02:23:50 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

dt

i have free hosting with 50free

and i have used like 46mb of the 50mb allowed

what do i do

can i change the pictures to a smaller size?
find a new free hosting??
can i only allow thumbnail view and remove the other (normal_ and myOwn)
can i link the hosting and get another account some where else

 :?  :?  :(

any feedback /directon for me would be appreciated

cheers :)

Joachim Müller

give us a link and we might be able to show you where to save space (maybe you allow to large pics, maybe you set a quality level that is to high etc.). After all, you have to realize: having a picture gallery on the internet is a ressource-eater. If you have limited webspace, you'll have to reconsider running a gallery, or get more webspace. Remember: you can not have coppermine on server A and your pics stored on a remote server B.

GauGau

dt

http://rapid.50free.org/gallery/index.php

file size of the orignal images(well after i edited it and resised it) are about 30-50kb and 640x480 if that helps

Casper

Your full size pics are not much bigger than the normals, so why bother with them.  You certainly don't need both, so my advice is to use the re-size utility to delete original size photos.  This means you will lose the better quality originals, but will save a lot of space.

Your pic 04nats_118.jpg is 42mb, whilst the normal_ version is 35mb.  Hardly worth the bother.
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

dt

yep i click the resize tab on coppermine

then selected Delete original size photos (1)
then selected the album
then submit


and it said ...
Deleting originals and replacing them with resized images, please wait..
The file albums/MM_03-12-03/normal_mm_03-12-03_001.jpg was successfully used as main picture!
The file albums/MM_03-12-03/normal_mm_03-12-03_002.jpg was successfully used as main picture!

QuoteThe file albums/MM_03-12-03/normal_mm_03-12-03_002.jpg was successfully used as main picture!
but it wasnt successfully used as main picture!

and now the pics dont show up(larger pics) :?  :lol:


and i looked in ftp and only saw the thumb_ and my original pic

and on copermine when you click on the thumbnal it opens up but it is looking for the normal_04nats_118.jpg  instead of the 04nats_118.jpg  :?

Casper

Ok,

you have a problem that has a fix.  You can either download the latest displayimage.php and slideshow.inc.php to replace your existing ones, or do this simple change to them both, as done by Tarique in another thread.

Quote from: "tarique"Replace this line if ($CONFIG['make_intermediate'] && max($CURRENT_PIC_DATA['pwidth'], $CURRENT_PIC_DATA['pheight']) > $CONFIG['picture_width']) {

With
   if($CONFIG['thumb_use']=='ht' && $CURRENT_PIC_DATA['pheight'] > $CONFIG['picture_width'] ){ // The wierd comparision is because only picture_width is stored
      $condition = true;
    }elseif($CONFIG['thumb_use']=='wd' && $CURRENT_PIC_DATA['pwidth'] > $CONFIG['picture_width']){    
      $condition = true;
    }elseif($CONFIG['thumb_use']=='any' && max($CURRENT_PIC_DATA['pwidth'], $CURRENT_PIC_DATA['pheight']) > $CONFIG['picture_width']){    
      $condition = true;
    }else{    
     $condition = false;    
    }

               
    if ($CONFIG['make_intermediate'] && $condition ) {


Remember to do it to both files.
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

dt

is the slideshow.inc.php  the one in the include folder??? if it is i replaced it

i replaced the displayimage.php  

and i have tried replacing with the new files slideshow.inc.php and the displayimage.php :oops: and i chmod the files to 755 and still no go

do you still have the link to  that post that tarique made??
might be worth reading :( edit: found link http://forum.coppermine-gallery.net/index.php?topic=4063&postdays=0&postorder=asc&start=0 and had a read

but still not working :cry:

dt

ok i played around with the resize funtion
and selected
Update thumbs and/or resized photos (1)

and now it works BUT

it has now created and exact same size file as my original pic but is it name normal_ :oops:

????

shall i repeat the same using the resine and remove the original pics thing??

Casper

Yes do the remove originals again.

I suggest you backup your originals on your pc first, do one album only, and check that all is ok before doing the rest.
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

dt

ok if that dosent work can i delete it via ftp cause it dosent look like it is using the original pic anymore???

dt

i deleted the unused pics safely

i know you guys said not to touch it using ftp, but i works

thanks 8)

now i have ~23mb of free space :D