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 28. Nov 2024, 00:22

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  [ 35 posts ]  Go to page Previous  1, 2, 3  Next
Author Message
 Post subject:
PostPosted: 15. Oct 2009, 19:18 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
what kind of setting is 600*450 ?

you can only specify e.g. 600 and then the image is resized that the image fits into 600x600

- Michael


Top
 Profile  
 
 Post subject:
PostPosted: 15. Oct 2009, 19:19 
Offline

Joined: 12. Oct 2009, 18:25
Posts: 16
sorry, 600*450 is a name from me, the direct value is 600


Top
 Profile  
 
 Post subject:
PostPosted: 15. Oct 2009, 19:35 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
I updated the download again and added 2 more debug lines ...

- Michael


Top
 Profile  
 
 Post subject:
PostPosted: 16. Oct 2009, 13:02 
Offline

Joined: 12. Oct 2009, 18:25
Posts: 16
Hi,

do you mean with "updated the download" still the available version of JFU 2.10.2?

Well, I have installed it again, here is the logfile:

Code:
10.16.2009 12:56:25 - 1. Config loaded

10.16.2009 12:56:25 - 2. Authenification sucessfull

10.16.2009 12:56:25 - 3. Directory read: ./../../../../images/stories/bilder-upload/carsten

10.16.2009 12:56:25 - 4. Check valid extension: DSC02365.JPG

10.16.2009 12:56:25 - 4a. Extension valid.

10.16.2009 12:56:25 - Resize: Preparing to resize "/home/www/web508/phptmp/phpB4bViZ"

10.16.2009 12:56:25 - Resize: Image magick is used

10.16.2009 12:56:25 - Resize: Image magick command: /home/www/empty/convert "/home/www/web508/phptmp/phpB4bViZ" -quality 80 -resize 800x600 "/home/www/web508/phptmp/phpB4bViZ"

10.16.2009 12:56:25 - 5. Before move_uploaded_file : /home/www/web508/phptmp/phpB4bViZ -> ./../../../../images/stories/bilder-upload/carsten/dsc02365.jpg

10.16.2009 12:56:25 - 5a. after move_uploaded_file.

10.16.2009 12:56:25 - 6. Uploaded.

10.16.2009 12:56:25 - 7. Internal preprocessing done.

10.16.2009 12:56:26 - 9. End upload

10.16.2009 12:56:26 - 10. End store session



But the destination file still have a width of 2048, I have chosen a size of 800 in the upload context.


Top
 Profile  
 
 Post subject:
PostPosted: 16. Oct 2009, 13:04 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
maybe your server is one of these who don't allow that files are modified in the temp directory. If you retry with gd-lib where the resize works.

Please post the output there.

And yes - I only make a new build if there is really something new and this is verified. We are not that far yet ;). So i only update the current build.

- Michael


Top
 Profile  
 
 Post subject:
PostPosted: 16. Oct 2009, 13:09 
Offline

Joined: 12. Oct 2009, 18:25
Posts: 16
Here is the gd_lib logfile:


Quote:
10.16.2009 13:07:39 - 1. Config loaded

10.16.2009 13:07:39 - 2. Authenification sucessfull

10.16.2009 13:07:39 - 3. Directory read: ./../../../../images/stories/bilder-upload/carsten

10.16.2009 13:07:39 - 4. Check valid extension: DSC02365.JPG

10.16.2009 13:07:39 - 4a. Extension valid.

10.16.2009 13:07:39 - Resize: Preparing to resize "/home/www/web508/phptmp/php4ECROp"

10.16.2009 13:07:39 - Resize: gd-lib is used.

10.16.2009 13:07:39 - Resize: memory is o.k.

10.16.2009 13:07:40 - Resize: image was resampled.

10.16.2009 13:07:40 - Resize: Image was saved and resized.

10.16.2009 13:07:40 - 5. Before move_uploaded_file : /home/www/web508/phptmp/php4ECROp -> ./../../../../images/stories/bilder-upload/carsten/dsc02365.jpg

10.16.2009 13:07:40 - 5a. after move_uploaded_file.

10.16.2009 13:07:40 - 6. Uploaded.

10.16.2009 13:07:40 - 7. Internal preprocessing done.

10.16.2009 13:07:40 - 9. End upload

10.16.2009 13:07:40 - 10. End store session


Top
 Profile  
 
 Post subject:
PostPosted: 16. Oct 2009, 13:13 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
ok - so the resize would work because gd-lib can do it in this folder.

can you access the server with ssh?

that you execute
/home/www/empty/convert

and check if it is really there? Because it is unusual to have applications installed in the www directory.

- Michael


Top
 Profile  
 
 Post subject:
PostPosted: 16. Oct 2009, 13:18 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
for gdlib I check if the resize was successful in the temp dir - if not I retry in the final destination. I will add this check for image magic as well.

but I have to finish my current changes first - I want that is it possible to move the tfu folder out of the backend to allow users to protect their admin area with a .htaccess file.

- Michael


Top
 Profile  
 
 Post subject:
PostPosted: 25. Oct 2009, 12:41 
Offline

Joined: 12. Oct 2009, 18:25
Posts: 16
Hi,

when can I calculate with a response?

- Carsten


Top
 Profile  
 
 Post subject:
PostPosted: 25. Oct 2009, 13:48 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
have you not subscribed to the news rss feed of the blog?

I already announced this last week.

- Michael


Top
 Profile  
 
 Post subject:
PostPosted: 25. Oct 2009, 14:12 
Offline

Joined: 12. Oct 2009, 18:25
Posts: 16
Here is the debug from both folder destinations:

Admin-Bereich:
Code:
10.25.2009 13:03:35 - 1. Config loaded

10.25.2009 13:03:35 - 2. Authenification sucessfull

10.25.2009 13:03:35 - 3. Directory read: ./../../../../images/stories/bilder-upload/carsten

10.25.2009 13:03:35 - 4. Check valid extension: 20090912_RemienCarstenBew_orig.jpg

10.25.2009 13:03:35 - 4a. Extension valid.

10.25.2009 13:03:35 - Resize: Preparing to resize "/home/www/web508/phptmp/phpdyrc4a"

10.25.2009 13:03:35 - Resize: Image magick is used

10.25.2009 13:03:35 - Resize: Image magick command: /home/www/empty/convert "/home/www/web508/phptmp/phpdyrc4a" -quality 80 -resize 466.61693397986x600 "/home/www/web508/phptmp/phpdyrc4a"

10.25.2009 13:03:35 - Resize: Image could not be resized.

10.25.2009 13:03:35 - 5. Before move_uploaded_file : /home/www/web508/phptmp/phpdyrc4a -> ./../../../../images/stories/bilder-upload/carsten/20090912_remiencarstenbew_orig.jpg

10.25.2009 13:03:35 - 5a. after move_uploaded_file.

10.25.2009 13:03:35 - 6. Uploaded.

10.25.2009 13:03:35 - Resize: Preparing to resize "./../../../../images/stories/bilder-upload/carsten/20090912_remiencarstenbew_orig.jpg"

10.25.2009 13:03:35 - Resize: Image magick is used

10.25.2009 13:03:35 - Resize: Image magick command: /home/www/empty/convert "/home/www/web508/html/images/stories/bilder-upload/carsten/20090912_remiencarstenbew_orig.jpg" -quality 80 -resize 466.61693397986x600 "/home/www/web508/html/images/stories/bilder-upload/carsten/20090912_remiencarstenbew_orig.jpg"

10.25.2009 13:03:35 - Resize: Image could not be resized.

10.25.2009 13:03:35 - 7. Internal preprocessing done.

10.25.2009 13:03:35 - 9. End upload

10.25.2009 13:03:35 - 10. End store session



Site-Bereich:
Code:
10.25.2009 13:06:41 - 1. Config loaded

10.25.2009 13:06:41 - 2. Authenification sucessfull

10.25.2009 13:06:41 - 3. Directory read: ./../../../images/stories/bilder-upload/carsten

10.25.2009 13:06:41 - 4. Check valid extension: 20090912_RemienCarstenBew_orig.jpg

10.25.2009 13:06:41 - 4a. Extension valid.

10.25.2009 13:06:41 - Resize: Preparing to resize "/home/www/web508/phptmp/php18KFjS"

10.25.2009 13:06:41 - Resize: Image magick is used

10.25.2009 13:06:41 - Resize: Image magick command: /home/www/empty/convert "/home/www/web508/phptmp/php18KFjS" -quality 80 -resize 466.61693397986x600 "/home/www/web508/phptmp/php18KFjS"

10.25.2009 13:06:41 - Resize: Image could not be resized.

10.25.2009 13:06:41 - 5. Before move_uploaded_file : /home/www/web508/phptmp/php18KFjS -> ./../../../images/stories/bilder-upload/carsten/20090912_remiencarstenbew_orig.jpg

10.25.2009 13:06:41 - 5a. after move_uploaded_file.

10.25.2009 13:06:41 - 6. Uploaded.

10.25.2009 13:06:41 - Resize: Preparing to resize "./../../../images/stories/bilder-upload/carsten/20090912_remiencarstenbew_orig.jpg"

10.25.2009 13:06:41 - Resize: Image magick is used

10.25.2009 13:06:41 - Resize: Image magick command: /home/www/empty/convert "/home/www/web508/html/images/stories/bilder-upload/carsten/20090912_remiencarstenbew_orig.jpg" -quality 80 -resize 466.61693397986x600 "/home/www/web508/html/images/stories/bilder-upload/carsten/20090912_remiencarstenbew_orig.jpg"

10.25.2009 13:06:41 - Resize: Image could not be resized.

10.25.2009 13:06:41 - 7. Internal preprocessing done.

10.25.2009 13:06:41 - 9. End upload

10.25.2009 13:06:41 - 10. End store session



And here is one upload in the "Site folder" with gd-lib:

Code:
10.25.2009 13:10:54 - 1. Config loaded

10.25.2009 13:10:54 - 2. Authenification sucessfull

10.25.2009 13:10:54 - 3. Directory read: ./../../../images/stories/bilder-upload/carsten

10.25.2009 13:10:54 - 4. Check valid extension: 20090912_RemienCarstenBew_orig.jpg

10.25.2009 13:10:54 - 4a. Extension valid.

10.25.2009 13:10:54 - Resize: Preparing to resize "/home/www/web508/phptmp/php4HamxJ"

10.25.2009 13:10:54 - Resize: gd-lib is used.

10.25.2009 13:10:54 - Resize: memory is o.k.

10.25.2009 13:10:55 - Resize: image was resampled.

10.25.2009 13:10:55 - Resize: Image could not be resized.

10.25.2009 13:10:55 - 5. Before move_uploaded_file : /home/www/web508/phptmp/php4HamxJ -> ./../../../images/stories/bilder-upload/carsten/20090912_remiencarstenbew_orig.jpg

10.25.2009 13:10:55 - 5a. after move_uploaded_file.

10.25.2009 13:10:55 - 6. Uploaded.

10.25.2009 13:10:55 - Resize: Preparing to resize "./../../../images/stories/bilder-upload/carsten/20090912_remiencarstenbew_orig.jpg"

10.25.2009 13:10:55 - Resize: gd-lib is used.

10.25.2009 13:10:55 - Resize: memory is o.k.

10.25.2009 13:10:55 - Resize: image was resampled.

10.25.2009 13:10:55 - Resize: Image was saved and resized.

10.25.2009 13:10:55 - 7. Internal preprocessing done.

10.25.2009 13:10:55 - 9. End upload

10.25.2009 13:10:55 - 10. End store session



Top
 Profile  
 
 Post subject:
PostPosted: 25. Oct 2009, 14:38 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
I don't know if maybe the 466.61693397986x600 is the problem. I'll round this value in the next update.
have you already tested if the convert command does work at all.

- Michael


Top
 Profile  
 
 Post subject:
PostPosted: 25. Oct 2009, 14:51 
Offline

Joined: 12. Oct 2009, 18:25
Posts: 16
Hi,

the first two tests was used with the complete path to convert, now this test is only with "convert" (also not working):

Quote:
10.25.2009 13:49:11 - 1. Config loaded

10.25.2009 13:49:11 - 2. Authenification sucessfull

10.25.2009 13:49:11 - 3. Directory read: ./../../../../images/stories/bilder-upload/carsten

10.25.2009 13:49:11 - 4. Check valid extension: 20090912_RemienCarstenBew_orig.jpg

10.25.2009 13:49:11 - 4a. Extension valid.

10.25.2009 13:49:11 - Resize: Preparing to resize "/home/www/web508/phptmp/php3Dwk98"

10.25.2009 13:49:11 - Resize: Image magick is used

10.25.2009 13:49:11 - Resize: Image magick command: convert "/home/www/web508/phptmp/php3Dwk98" -quality 80 -resize 622.15591197314x800 "/home/www/web508/phptmp/php3Dwk98"

10.25.2009 13:49:11 - Resize: Image could not be resized.

10.25.2009 13:49:11 - 5. Before move_uploaded_file : /home/www/web508/phptmp/php3Dwk98 -> ./../../../../images/stories/bilder-upload/carsten/20090912_remiencarstenbew_orig.jpg

10.25.2009 13:49:11 - 5a. after move_uploaded_file.

10.25.2009 13:49:11 - 6. Uploaded.

10.25.2009 13:49:11 - Resize: Preparing to resize "./../../../../images/stories/bilder-upload/carsten/20090912_remiencarstenbew_orig.jpg"

10.25.2009 13:49:11 - Resize: Image magick is used

10.25.2009 13:49:11 - Resize: Image magick command: convert "/home/www/web508/html/images/stories/bilder-upload/carsten/20090912_remiencarstenbew_orig.jpg" -quality 80 -resize 622.15591197314x800 "/home/www/web508/html/images/stories/bilder-upload/carsten/20090912_remiencarstenbew_orig.jpg"

10.25.2009 13:49:11 - Resize: Image could not be resized.

10.25.2009 13:49:11 - 7. Internal preprocessing done.

10.25.2009 13:49:12 - 9. End upload

10.25.2009 13:49:12 - 10. End store session


Top
 Profile  
 
 Post subject:
PostPosted: 25. Oct 2009, 14:56 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
i'm not talking within TFU - it it is working at all one the server - do you have ssh access?

- Michael


Top
 Profile  
 
 Post subject:
PostPosted: 25. Oct 2009, 15:06 
Offline

Joined: 12. Oct 2009, 18:25
Posts: 16
Hi,

sorry, I didn't understand your complete question, only last one:
No, I don't have an ssh access, only ftp.

- Carsten


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 35 posts ]  Go to page Previous  1, 2, 3  Next

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: Bing [Bot] 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