PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Bugs - vBulletin 4.0 (http://www.photopost.com/forum/bugs-vbulletin-4-0/)
-   -   thumbnails not appears (http://www.photopost.com/forum/bugs-vbulletin-4-0/145465-thumbnails-not-appears.html)

alfreedi March 8th, 2011 11:21 PM

thumbnails not appears
 
good day,

i facing an a problem with VBgalary the thumbnails not appears even after the suggestion of Chuck Scannell to install everything to 777 permissions???

see the old thread:
photopost.com/forum/bugs-vbulletin-4-0/145426-urgent-cannot-upload-images-larger-than-400kb.html

i have given the permissions before and I'm sure of that
also when i scan the database i found some photos as Broken Thumbnails.
when i rebuild image thumbnails
the problem also not solved

what is the solution now please?

your support is highly appreciated,

Luciano March 9th, 2011 04:59 AM

The problem seems that your thumbnails are not created at all, and that your images seem very big. so i suppose the original image is only copied to the directory.

1. You should NOT install "everything" in 777 (as this could prevent some servers to work) -> only the files (in your case photo directory and users directory should be 777)

2. check if your system has gd image processor installed. (if yes, switch to gd and do NOT use imagemagic) - You can check if gd is installed by calling php_info();

3. make sure that htaccess protection in ACP->vbgallery->modify settings is OFF.

Luc

alfreedi March 9th, 2011 12:36 PM

i have done all what u say

for num 2)
yes its installed and works right but their is aproblem in GD2 system when i uplouded an image more than 400 kb , when uplouding , i see a white page


now the problem as the following
** for the imagemagic System :
VBgalary thumbnails not appears after uplouding the images
also when i scan the database i found some photos as Broken Thumbnails.
when i rebuild image thumbnails
the problem also not solved

** if we use GD2 System
the is one problem only in ( uplouding images more than 400 kb ) , i see a white page when uplouding ?

what is the solution now please?

Luciano March 9th, 2011 02:02 PM

well i suppose imagemagic is not installed correctly OR the path to imagemagic is wrong.
why I think that?
because the images that are uploaded are NOT resized and the thumbnail is NOT created.
--------

For GD, open gallery/gallery_global.php
at the top of the file, you have a debug setting.
Code:

Content visible to verified customers only.
change
$debug_gallery = false;
to
$debug_gallery = true;

and make sure that
$debug_userid = your userid
(leave it to 1 if your userid is 1)
if your userid is 10
$debug_userid = 10;

This should show you some error messages instead of a blank screen.
give it a try.

Luc

And before I forget... in the sidebar on upload page, if you are Admin, you should have the php.ini settings of the server:

example:


Admin Upload Info

Execution Time:
180 Seconds
Max Post Size:
8.00 MB
Max File Upload:
2.00 MB
Memory Limit:
16.00 MB
Server Settings:
Modified

alfreedi March 10th, 2011 10:39 AM

i have done what u saied to me

in GD2 System : i found that

Quote:

Upload Error:
Your file is to big: 4000x3000 pixel!
Use your favorite graphicprogram to resize it to something smaller than:3212x2409
or to 79%.
i need to allow all files more than 4000x3000 pixel to be accepted

from where please ?

thanks

Chuck S March 10th, 2011 01:34 PM

The problem is this. GD2 has limitations. It is part of PHP and subject to the limitations of PHP. Usually the most common thing with the blank page is because GD2 requires more memory than PHP has to process super large images. Therefore GD2 is not good when processing larger images. Imagemagick is the way to go for that however you would need to properly install Imagemagick on your server.

alfreedi March 10th, 2011 02:36 PM

ok
how can i install Imagemagick on my server ?

thanks alot

Chuck S March 10th, 2011 02:46 PM

Instructions are located here but you must have SSH access to your server

PhotoPost PHP Photo Sharing Photo Gallery ImageMagick Installation Guide

Luciano March 11th, 2011 07:51 AM

I am noit infront of my computer, but in brussels at eu summit.. reading mails in internet-cafe.
I cant tell for sure, there is such a limitation in vbulletin also. i think in config.php.
but in vbgallery the debug part just says the image is to big.

It then calculates the size of image that would fit with your settings.
So this meens you could upload bigger images in pixels, but the should be smaller in filesize, as your server cannot process them.

the 3 or 4000 pixels just apply to this image.
It also depends on dpi settings of the pic, etc.. etc..

I would suggest, as chuck said, to use imagemagic, but depending on your server settings I do not know if it will allow processing of much bigger images. (depends on memory instralled to server..

Chuck S March 11th, 2011 09:18 AM

ah cool so how is brussels this time of year ;)

Imagemagick is the best processor to process large images as there is usually plenty of memory available where as GD2 is confined by PHP restrictions.

alfreedi March 11th, 2011 10:58 AM

i have called the hosting provider
and SSH access now is enable

but the problem not sloved yet :(:(:(:(:(:(:(

what is the solution now please

Chuck S March 11th, 2011 11:23 AM

Have you actually installed Imagemagick correctly? I linked the instructions above.

alfreedi March 11th, 2011 12:54 PM

its installed autmaticlly by my host (hostgator.com)

my problem in thumbnails only now

thumbnails not appears

Chuck S March 11th, 2011 01:55 PM

Have you verified through SSH that it works? I beleive Luciano pointed out the imagemagick that your host installed did not work earlier in this thread. Just because your says its installed does not mean its functional.

Here is an example if your image processor is set to imagemagick this is what happens

dscn0516 - البوم صور منتدى مسافرون

The image is suppose to be resized down to 1500 pixels and then a thumbnail gets created from what I see. On your server no images are being created so no images get done not much thumb. The only thing happening is an image is upload. No image processor is functional on your server.

Luciano March 11th, 2011 03:34 PM

what is your path tho imagemagic?
the one you entered on acp?
with hostgator there are 3 different possible setups.
/usr/bin/
/usr/local/bin/
/usr/bin/X11/

as to brussels, its rainy!! and i'm confined to a press center in a basement :(
But.. i bought lots of chocolate this morning :D

alfreedi March 12th, 2011 11:11 AM

THANKS ALOT
i have called my Specialiest Tech.Support
and he has solved it

thanks
now u can close this topic

Chuck S March 12th, 2011 11:53 AM

Was your image processor broken on the server or was it permissions related?


All times are GMT -5. The time now is 02:47 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