PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Photopost Pro How Do I...? (http://www.photopost.com/forum/photopost-pro-how-do-i/)
-   -   Resizing issue (http://www.photopost.com/forum/photopost-pro-how-do-i/136715-resizing-issue.html)

Niyuka May 23rd, 2008 09:44 AM

Resizing issue
 
Hi , i have this issue, when i upload an image ant that image is an icon for about 6.5kb , it gets resized to 45kb, how to fix that ?

Here is the picture of the same ico one is small and the other is big.

Code:

Content visible to verified customers only.

Chuck S May 23rd, 2008 10:06 AM

You settings for the processor state that your thumbnails are going to be say 100 pixels wide so I am going to assume there is your size difference because the thumbnail is actually bigger than the original picture

You could try in image-inc.php removing the // off of these lines

Code:

Content visible to verified customers only.

Niyuka May 23rd, 2008 10:56 AM

I received this error :

Parse error: syntax error, unexpected T_STRING in /home/nihonomaru.com/public_html/gallery/image-inc.php on line 293

Niyuka May 23rd, 2008 11:54 AM

Hey chuck may be i wasn't clear with my issue

see my forum category pictures ?

Main Index - My Photo Gallery

They are each around 61kb while their actual size is 6.4kb, so i want to make these category pictures when i stick them, to be that same size 6.4kb not 61kb. that is why i was asking how to prevent the resizing of pictures, i don't know..

Chuck S May 23rd, 2008 12:14 PM

well I dont see anything on your site since guests cant view the photos

Your parse error if is because you uncommented this line

Code:

Content visible to verified customers only.
You just uncomment the code lines not that line

The only issue I see is if your picture illustrates what I think if your image is smaller than your thumbnail of course the thumbnails going to be bigger unless you uncomment the lines I noted.

Niyuka May 23rd, 2008 03:36 PM

ummm can you post which code do i need to take off the 2 slash from ( // )? i am confused ;s

these lines you mean ?

Quote:

//if ( $imagewidth < $previewwidth && $imageheight < $previewwidth )
//{
// copy ( $filepath, $outthumb );
// return;
//}
so they would be like this ?

Quote:

if ( $imagewidth < $previewwidth && $imageheight < $previewwidth )
{
copy ( $filepath, $outthumb );
return;
}

Chuck S May 23rd, 2008 03:53 PM

Correct just those lines


All times are GMT -5. The time now is 04:27 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97