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 24. Nov 2024, 16:00

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  [ 20 posts ]  Go to page Previous  1, 2
Author Message
 Post subject:
PostPosted: 7. Mar 2008, 16:49 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
all right. Seems with shell_exec()

the redirection is not working (with exec where I tested this this is no problem).

And in the administration not info.php is included - this is quite the same code but there it would have to be changed as well.

/Michael


Top
 Profile  
 
 Post subject:
PostPosted: 7. Mar 2008, 17:03 
Offline

Joined: 30. Jul 2007, 18:23
Posts: 26
OK Michael,
"exec" seem to be prohibited on many mutualized servers.

I changed "exec" for "shell_exec" (without redirection) in admin/info.php too, and TWGinfo in TWGXplorer also recognizes Image Magick now, but the conversion still does not work when Image Magick is enabled in tne config.

I get thumbnails saying "Image Magic Error" and outputs as this example in the debug file :

03.07.2008 15:21:01 (fr) - Image magick failed: convert "/home4/p/pgogan/Albums/Zero-de-Conduite/Changement-moteur/2007_03_05_16_25_29.jpg" -quality 80 -resize x120 -gravity center -crop 120x120+0+0 +repage "/home4/p/pgogan/www/twg17/cache/2-Tahiti-Ketch_Zero-de-Conduite_Changement-moteur_2007_03_05_16_25_29.jpg.thumb.jpg"


Paul


Top
 Profile  
 
 Post subject:
PostPosted: 7. Mar 2008, 17:25 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
you have to change this in the whole code!

inc/imagefunctions.inc.php for the images for example.

I can include this workaround in the next update.

/Michael


Top
 Profile  
 
 Post subject:
PostPosted: 7. Mar 2008, 17:34 
Offline

Joined: 30. Jul 2007, 18:23
Posts: 26
OK, I shall wait : you will fix it better than I could do !

Paul


Top
 Profile  
 
 Post subject:
PostPosted: 7. Mar 2008, 18:00 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
right ;) - I already started with a small update - around 12 places to change this. i'll extract this to a function now to make the code nicer ;).

I'll send you the update by e-mail that you can test if for me on your server too!

/Michael


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

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 72 guests


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