PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Classifieds How do I...? (http://www.photopost.com/forum/classifieds-how-do-i/)
-   -   How do i resize the thumbs? (http://www.photopost.com/forum/classifieds-how-do-i/139718-how-do-i-resize-thumbs.html)

hornstar6969 April 3rd, 2009 09:51 PM

How do i resize the thumbs?
 
All my images are showing up really large on the homepage: Main Index - Buy and Sell in the GzN Classifieds

I tried clicking on rebuild thumbs and it did nothing. It is really stretching my page and making things look ugly.

What should I do?

Chuck S April 4th, 2009 08:07 AM

Are you sure your processor is working? Have you tried switching to GD2 etc?

hornstar6969 April 4th, 2009 08:48 PM

I switched to GD2 but then when clicking on resize thumb I got this error:


Warning: unlink() [function.unlink]: No such file or directory in /home/*****/public_html/shop/image-inc.php on line 132

and (): Sorry, this image type is not supported yet.


Edit: Same thing happens when switching to GD1, But if I then click back and try again, it works the second time round. so something is still wrong. Is there also a way to mass rebuild thumbs?


Edit 2: I have spent many hours and nearly resized them all, it is a very long process because of all the errors, however I can not resize a couple of images because they are giving me this error:

Unable to read the format of file: /home/***/public_html/shop/data/27/r11.JPG

Warning: getimagesize(/home/****/public_html/shop/data/27/r11.JPG) [function.getimagesize]: failed to open stream: No such file or directory in /home/*****/public_html/shop/image-inc.php on line 270

Edit 3: I decided to delete those images that I could not resize at all just so I could make the look of the homepage a bit more appealing, but that is not a good solution, I'd still like to find out how to fix my problem.

Edit 4: here is another error I get:
(6): Sorry, this image type is not supported yet.

Chuck S April 5th, 2009 09:04 AM

Did you set permissions to 777 at every level on data and uploads when you installed and the server path is correct?

If thats the case you should not have issues. Your server also should not have safe mode on.

hornstar6969 April 6th, 2009 03:00 AM

just checked all the folders in data and uploads were chmod 777 and they were, safe mode is off as well.

You can see the image here that is large: www.gamerzneeds.net/shop

This is the error i am getting with it: Unable to read the format of file: /home/****/public_html/shop/data/25/stuff.jpg


Warning: getimagesize(/home/*****/public_html/shop/data/25/stuff.jpg) [function.getimagesize]: failed to open stream: No such file or directory in /home/*****/public_html/shop/image-inc.php on line 270

Chuck S April 6th, 2009 09:20 AM

I would suspect an issue with your image processor or permissions.

Example this image is resized to your setting of 250 for preview images

http://www.gamerzneeds.net/shop/data...screenshot.png

The supersize is copied fine

http://www.gamerzneeds.net/shop/data...screenshot.png

The issue here is only your thumbnail

http://www.gamerzneeds.net/shop/data...screenshot.png

I would definately need to see your server and settings.

hornstar6969 April 10th, 2009 07:43 PM

I'll ask my host about some of the things, but I got a new error, not sure if this will help track down the problem more:


Warning: exec() has been disabled for security reasons in /home/****/public_html/shop/image-inc.php on line 103

Warning: exec() has been disabled for security reasons in /home/****/public_html/shop/image-inc.php on line 103

Warning: exec() has been disabled for security reasons in /home/****/public_html/shop/image-inc.php on line 103

Chuck S April 10th, 2009 09:07 PM

Warning: exec()

You can not use Imagemagick or jpegtran

You can only use GD2 since they have disabled exec function.

hornstar6969 April 12th, 2009 10:32 PM

k, well I am getting this error when trying to upload an ad myself:

Fatal error: Call to undefined function n2lbr() in /home/***/public_html/shop/pp-inc.php on line 3323

how do I fix this?

Chuck S April 13th, 2009 07:47 AM

redownload the build and reupload pp-inc.php

hornstar6969 April 13th, 2009 05:21 PM

4/7/09 10:03 AM - Expired :/ I just missed out.

Chuck S April 13th, 2009 07:05 PM

send me an email to the contact us link in the header I can send you that one file or simply just edit pp-inc.php and replace n2lbr with nl2br

hornstar6969 April 13th, 2009 07:48 PM

alright that fixed things up with uploading ads. thanks.

I'll test things out a bit more and will see if resizing is working or failing when creating new ads or if it is only failing on old ads.

Chuck S April 13th, 2009 07:49 PM

yeah thats what my suspicion is the memory thing.


All times are GMT -5. The time now is 03:09 AM.

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