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. Mar 2024, 17:09

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  [ 7 posts ] 
Author Message
PostPosted: 13. Dec 2011, 16:27 
Offline

Joined: 8. Jun 2011, 10:23
Posts: 4
Hi,

I integrated the thumbnail plugin in TFU (Version 2.15), but TIF and BMP images will not be converted?
What is it? Any suggestions?

Regards,
Jörg


Top
 Profile  
 
PostPosted: 13. Dec 2011, 18:21 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
By default gdlib is used. This library does not support this formats.

But I could check if I can do this with image magic.

- Michael


Top
 Profile  
 
PostPosted: 14. Dec 2011, 11:40 
Offline

Joined: 8. Jun 2011, 10:23
Posts: 4
Hi Michael,

I successfully installed ImageMagick on my Xampp system and converting of all formats except TIF is working within your plugin.
Within TIF processing the function "resize_file" creates 3 files (call: resize_file($new_file, 120, 80, basename($new_file));):
"origfilename_thumb.jpg" -> original filesize 1280 x 1024
"origfilename_thumb-0.jpg" -> 120 x 96
"origfilename_thumb-1.jpg" -> 120 x 90

:? :?

Regards,
Jörg

P.S.: Kannst auch auf deutsch antworten, ist vielleicht einfacher... ;)


Top
 Profile  
 
PostPosted: 14. Dec 2011, 11:43 
Offline

Joined: 8. Jun 2011, 10:23
Posts: 4
Addendum:

settings in "tfu_config.php" for activation of Image Magick:

$use_image_magic = true;
$image_magic_path = 'convert';
$check_image_magic = false;


Top
 Profile  
 
PostPosted: 14. Dec 2011, 14:47 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
The file is resized but the extension is hardcoded in the plugin.
you simply have to make this dynamic.

- Michael


Top
 Profile  
 
PostPosted: 15. Dec 2011, 09:58 
Offline

Joined: 8. Jun 2011, 10:23
Posts: 4
Hi,

hmmm....
Hardcoded OK, but why does it work with jpg, png,... and not with TIF?

Example:
tDOCT_00044_00003.jpg (3008x2000) -> tDOCT_00044_00002_thumb.jpg (120x80)
tDOCT_00044_00001.png (1280x1024) -> tDOCT_00044_00001_thumb.jpg (120x96)
tDOCT_00044_00006.tif (1280x1024) -> tDOCT_00044_00006_thumb.jpg (1280x1024); tDOCT_00044_00006_thumb-0.jpg (120x96); tDOCT_00044_00006_thumb-1.jpg (120x90)
?????

Is there any filesize-limitation? tDOCT_00044_00006.tif is about 3.9MB

Jörg


Top
 Profile  
 
PostPosted: 15. Dec 2011, 11:59 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
what are the generated files? Are they brocken?
and why do you have 2 of them.

- Michael


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

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 16 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