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 12. Dec 2024, 19:53

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
PostPosted: 1. Dec 2009, 10:24 
Offline

Joined: 1. Dec 2009, 10:19
Posts: 3
We have installed JFU on our new site and we have 3 uploader IDs or what you would call it.

- Original image (Original size)
- Large thumbnail (downsized to 550 width and keep proportions)
- Small thumbnail

Now the small thumbnails I all want to be 120x90 pixles. even though the original picture hasnt have a 4:3 ratio.
Is it possible, and if so, how do I tell JFU to cut out a 4:3 thumbnail and then resize it to 120x90 pixels?

Thanks in advance!


Top
 Profile  
 
 Post subject:
PostPosted: 1. Dec 2009, 11:26 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
You can use a post processing plugin where you can do whatever you like with the image.

At
http://www.tinywebgallery.com/en/tfu/web_plugin.php
you find some examples - you can use the thumbnail plugin and simply modify it to your needs.

- Michael


Top
 Profile  
 
 Post subject:
PostPosted: 1. Dec 2009, 13:22 
Offline

Joined: 1. Dec 2009, 10:19
Posts: 3
That sounds great, but I'm not the one building the site and I have very limited knowledge about this. Would it be hard for our coder to make this plugin to do a cut out thumbnail? Or is it already available as an option?

Like "Resize with original aspect ratio" or "Cut and resize with 4:3 aspect ratio"


Top
 Profile  
 
 Post subject:
PostPosted: 1. Dec 2009, 14:08 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
your coder should be able to do this. If you have image magick on your server this can be done in one line (crop + resize). And in my code he can see how image magick commands are executed.

The current resize plugin is only 3 lines of code.

- Michael


Top
 Profile  
 
 Post subject:
PostPosted: 1. Dec 2009, 16:09 
Offline

Joined: 1. Dec 2009, 10:19
Posts: 3
Thanks a lot, I will forward this information to them!


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 54 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