Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum

Get help for TinyWebGallery, the best image gallery. The forum is also home for the Joomla JFUploader, TWG Flash Uploader and the Wordpress flash uploader.
It is currently 6. Nov 2024, 07:42

This forum is readonly now. Please use the new forum if you don't find the answer to your question here. The new forum is at https://www.tinywebgallery.com/blog/forum/


All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Cannot Upload JPG or GIF
PostPosted: 11. Nov 2009, 19:05 
Offline

Joined: 11. Nov 2009, 18:59
Posts: 6
Location: Connecticut
I've noticed that all file extensions are working except for JPG or GIF. I have been looking at the Error Logs and it looks as if the Uploader is attempting to Resize the image, but I checked NO to Resize in the Config.

Here is my most recent Log:

Code:
11.11.2009 11:55:22 - 1. Config loaded

11.11.2009 11:55:22 - 2. Authenification sucessfull

11.11.2009 11:55:22 - 3. Directory read: ./__/__/__/__/incoming/upload

11.11.2009 11:55:22 - 4. Check valid extension: 2020LogoFinal.jpg

11.11.2009 11:55:22 - 4a. Extension valid.

11.11.2009 11:55:22 - Resize: Preparing to resize "/tmp/php4ofdRu"

11.11.2009 11:55:22 - Resize: gd-lib is used.

11.11.2009 11:55:22 - Resize: memory is o.k.

11.11.2009 11:55:22 - ERROR 2 in joomla_flash_uploader/tfu/tfu_helper.php, line 213: imagecreatetruecolor() [_a href='function.imagecreatetruecolor'_function.imagecreatetruecolor_/a_]: Invalid image dimensions

11.11.2009 11:55:22 - ERROR 2 in joomla_flash_uploader/tfu/tfu_helper.php, line 214: imagecopyresampled(): supplied argument is not a valid Image resource

11.11.2009 11:55:22 - Resize: image was resampled.

11.11.2009 11:55:22 - ERROR 2 in joomla_flash_uploader/tfu/tfu_helper.php, line 225: imagejpeg(): supplied argument is not a valid Image resource

11.11.2009 11:55:22 - cannot save: /tmp/php4ofdRu

11.11.2009 11:55:22 - 9. End upload

11.11.2009 11:55:22 - 10. End store session


Please help!


Top
 Profile  
 
 Post subject:
PostPosted: 11. Nov 2009, 21:05 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
no means that the resize box is not shown. What have you entered at the resize values? because they are used!

And it seems that your images cannot be converted with gd-lib.

- Michael


Top
 Profile  
 
 Post subject:
PostPosted: 11. Nov 2009, 21:11 
Offline

Joined: 11. Nov 2009, 18:59
Posts: 6
Location: Connecticut
This is my server info:

Code:
Server infos:

Server name: www.katart.com
PHP upload limit (in KB): 153600
PHP memory limit (in KB): 32768
Max. resize resolution: ~ 2730 x 2050
PHP max input time: 60 s
PHP max execution time: 30 s
Default socket timeout: 60 s


And the "resize value" field is left blank.

Is this what you were asking for?


Top
 Profile  
 
 Post subject:
PostPosted: 11. Nov 2009, 21:13 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
the resize value filed needs to be filled!

Enter 100000 there that you don't trigger a resize!
- Michael


Top
 Profile  
 
 Post subject:
PostPosted: 11. Nov 2009, 21:18 
Offline

Joined: 11. Nov 2009, 18:59
Posts: 6
Location: Connecticut
Thank you very much. That fixed it!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
cron
powered by phpbb | Datenschutz/ Privacy policy