PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |

Go Back   PhotoPost Community > PhotoPost Support > PhotoPost Pro Support Forums > Photopost Pro How Do I...?

Photopost Pro How Do I...? Wondering how to do things in PhotoPost?

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old December 30th, 2010, 07:36 AM   #1 (permalink)
Junior Member
Verified Customer
 
Join Date: Dec 2010
Posts: 13
(): Sorry, this image type is not supported yet.

What exactly does this mean when uploading photos?
Quote:
(): Sorry, this image type is not supported yet.
I've installed and set my image processor to GD2 as shown in the attached images.


I've also set my data directory with 777.
Code:
Content visible to verified customers only.
Then I've also set my uploads to 777 too.
Code:
Content visible to verified customers only.
Attached Images
File Type: jpg GD2_setting.jpg (56.6 KB, 0 views)
File Type: jpg GD2_installed.jpg (35.7 KB, 0 views)

Last edited by titus; December 30th, 2010 at 07:43 AM.
titus is offline   Reply With Quote
Old December 30th, 2010, 07:43 AM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,070
That means your path or permissions are not set correctly in the program therefore the image processor can not process the image. GD can not get the image info.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old December 31st, 2010, 10:13 AM   #3 (permalink)
Junior Member
Verified Customer
 
Join Date: Dec 2010
Posts: 13
Thanks but clearly both the "data" and "uploads" directories and its contents are all 777.

As for path, I've checked it once again in the Admin Panel and everything is correct. Just tried uploading an image and it says:
Quote:
Unable to create image: [/usr/local/apache2/htdocs/photopost/uploads/1/testimage.jpg]
But check this out. The path is correct and it's 777.
Code:
Content visible to verified customers only.

The error doesn't appear to indicate something can't be found. It says the image type isn't supported. Which part of the code would throw this error? How about we find out what it's trying to do first?

Last edited by titus; December 31st, 2010 at 10:20 AM.
titus is offline   Reply With Quote
Old December 31st, 2010, 10:26 AM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,070
Any discussion on this can be had via the email on this matter. Your permissions or path can not be correct if your getting this error. It is an absolute error I can say nothing more on that matter. if you give server details url admin login etc I can look and I beleive I even said this via the email.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old December 31st, 2010, 12:00 PM   #5 (permalink)
Junior Member
Verified Customer
 
Join Date: Dec 2010
Posts: 13
Okay I've located the problem. The following block of code in uploadphoto.php isn't working out, as you suggested due to a path issue.
Code:
Content visible to verified customers only.
This is because the variable $Globals['origfull'] is retaining the old path I used to have before. However, I am unable to find the value of this path anywhere.

Any idea where this $Globals['origfull'] is set? Grepping this doesn't indicate where it's set.
Code:
Content visible to verified customers only.
titus is offline   Reply With Quote
Old December 31st, 2010, 12:54 PM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,070
As I stated your paths or permissions are incorrect

You can update the path in Admin => Storage Options to the correct global path if thats correct by hitting revert and save twice
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old January 3rd, 2011, 08:39 AM   #7 (permalink)
Junior Member
Verified Customer
 
Join Date: Dec 2010
Posts: 13
Found the location of the issue. It is due to PHP unable to execute ImageCreateFromJpeg($image_file_path). I've created a separate test script and it exhibit the same behavior, despite GD2.0.34 is installed and compiled with PHP.

With the following debug code added to image-inc.php, I get:
Code:
Content visible to verified customers only.
Snippet of image-inc.php:
Code:
Content visible to verified customers only.
titus is offline   Reply With Quote
Old January 3rd, 2011, 10:10 AM   #8 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,070
If you do not have a proper working gd2 then you need to install imagemagick or fix gd.

Basically you have to have one of the two working processors to use our program. I can give you install instructions on imagemagick. You or your host could try installing that

PhotoPost PHP Photo Sharing Photo Gallery ImageMagick Installation Guide
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old January 9th, 2011, 03:09 AM   #9 (permalink)
Junior Member
Verified Customer
 
Join Date: Dec 2010
Posts: 13
Okay here are the exact steps I used. Please let me know if I did any one wrong or have missed something.

Code:
Content visible to verified customers only.
Then because of a bug with the jpeg-8b library in not reporting its version, I have to do the following
Code:
Content visible to verified customers only.
For the actual configure for PHP, I executed the following.
Code:
Content visible to verified customers only.

I also have the following library files.
Code:
Content visible to verified customers only.
I made a test php file consisting of the following (please let me know if this won't work), but am seeing a blank page only.
Code:
Content visible to verified customers only.

Last edited by titus; January 9th, 2011 at 03:20 AM.
titus is offline   Reply With Quote
Old January 9th, 2011, 09:02 AM   #10 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,070
Like I said if your image processor is not working then you can not upload images

One has not had to compile GD in many years it is part of PHP. You merely install php with the right config options although I am not a server tech

If you have access to install stuff on your server why not use imagemagick?

PhotoPost PHP Photo Sharing Photo Gallery ImageMagick Installation Guide
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old January 10th, 2011, 09:01 AM   #11 (permalink)
Junior Member
Verified Customer
 
Join Date: Dec 2010
Posts: 13
Quote:
Like I said if your image processor is not working then you can not upload images

One has not had to compile GD in many years it is part of PHP. You merely install php with the right config options although I am not a server tech

If you have access to install stuff on your server why not use imagemagick?
Yes I know something is fishy with the GD installation despite the checkinfo page states otherwise.

PHP needs to be compiled with GD enabled, and JPEG needs to be compiled also as shown in your ImageMagick guide.

GD generally is faster. Following are some references.
Experiencing the world: PHP benchmarks (GD vs Imagemagick)
http://www.jamesarmes.net/blog/2009/...s-image-magick
titus is offline   Reply With Quote
Old January 10th, 2011, 09:45 AM   #12 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,070
well like I said php must be installed with GD2 support.

To use our program you need a working image processor on the server. You can contact your host to resolve your server issue.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
(): Sorry, this image type is not supported yet. Peter Photopost Pro How Do I...? 7 January 24th, 2010 10:28 AM
Sorry, this image type () is not supported yet attrell Photopost Pro How Do I...? 3 April 13th, 2009 07:06 PM
(): Sorry, this image type is not supported yet. Fortissimo Photopost Pro Bug Reports 1 January 11th, 2009 03:25 PM
Sorry, this image type () is not supported yet. bigandyuk Photopost Pro Installation & Upgrades 20 January 4th, 2007 07:00 AM
Sorry, this image type () is not supported yet Neal-UK Classifieds Installation & Upgrades 32 April 15th, 2006 01:28 PM


All times are GMT -5. The time now is 02:29 PM.

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