View Full Version : Can't view uploaded photos
September 12th, 2006, 04:23 PM
When I try to upload an image it appears to upload fine (I can see it in upload folder via ftp) But, after uploading it just shows a blank white page with url of http://www.prophotohome.com/forum/photopost/uploadphoto.php
It does not show up in the gallery either.
Just tried it with a smaller jpeg file and all upload properly.
I am using GD2 with about a 3meg 13 megapixel jpeg image.
I have already tried to add these lines to uploadphoto.php:
No difference. I'm pretty sure my php.ini is already set to 32M by default.
September 12th, 2006, 05:41 PM
What is your maximum PHP uploadable filesize this is usually 2mb in a default php install.
You may need to raise the memory_limit higher with big files like that and GD2. Some GD2 installs are known to steal PHP memory and result in PHP shutdown which is what happens when you get a white page.
September 13th, 2006, 04:57 PM
Ok. Upped the upload max to 7M (was already set to 4M) in php.ini. No difference. Small files still ok. Large files no.
I changed the max width and height in the admin panel and they upload fine. But, the resized image that is shown (default is 600) looks very bad. So, the downres isn't working right. I'm assuming it is the same essential issue, GD2.
I gave up on GD2 and attempted to install ImageMagick per your instructions.
All goes well until I get to the line indicated below.
"$ cp makefile.linux ../makefile
In the line above, I used makefile.linux, but you should use your appropriate makefile. Continue:
$ cd ..
$ make <-------------All goes well until here.
$ make install
$ cd .."
It says "no targets specified and no makefile found. " The makefile.linux file is in the same directory. I checked and zlib is installed as the libpng install directions suggested this needed to be installed.
Where to go from here? This is starting to get really frustrating.
September 13th, 2006, 05:14 PM
You need to use ./configure before running make as this builds the makefile just as the instruvtions line out the steps very clearly.
I would need to see your phpinfo to comment any further about large file uploads and your GD info to see if thats installed right
September 13th, 2006, 09:08 PM
Ok. Well, these are the directions I followed. They don't say anything about ./configure.
When I typed ./configure in the libpng directory it told me "There is no configure script for libpng... Instead please copy the appropriate makefile for your system fromthe scripts directory."
This has already been done.
September 13th, 2006, 09:16 PM
Sure they do look at them again there is a ./configure line before every make one ;)
September 13th, 2006, 09:28 PM
Here is my php.ini
REMOVED FOR EASY VIEWING OF THIS THREAD. Has nothing to do with this discussion on how to configure imagemagick.
September 13th, 2006, 09:29 PM
Where do I find the GD info you requested?
September 14th, 2006, 08:37 AM
You can view your php settings in admin of photopost if gd2 is installed it will say so it will have a gd2 box area.
Now as far as Imagemagick I suggest you reread again the instructions since installing Imagemagick requires you have GCC installed on your server and that you have SSH access to the server. If you have the proper permissions and follow step by step you will install a successful copy on your server.
September 14th, 2006, 06:04 PM
Alright, I give up. I have tried to follow the directions to the letter.
Where do I sign up for the $59 professional installation? I just need to have this installed properly. It doesn't matter to me if we use GD2 or install ImageMagick.
September 14th, 2006, 06:53 PM
you can purchase an install here
vBulletin® v3.8.1, Copyright ©2000-2014, Jelsoft Enterprises Ltd.