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 15. Dec 2017, 21:52

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: Resize issue
PostPosted: 8. Aug 2011, 13:57 
Offline

Joined: 8. Aug 2011, 13:52
Posts: 4
Hi,

Take a look at the image I have attached. It is an normal jpg that is resized when uploaded. I have tried different resize options but without luck - also different images with same result.

Is this a known issue? And how do I proceed?

I use Joomla 1.7, and JFU 2.14.

Best regards
Morten


Attachments:
File comment: Image with error
img_8716.jpg
img_8716.jpg [ 110.77 KiB | Viewed 1125 times ]
Top
 Profile  
 
 Post subject: Re: Resize issue
PostPosted: 8. Aug 2011, 17:51 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 10573
Do you use gdlib or image magick for resize?

How much php memory do you have available? What are the dimensions of your images?

- Michael


Top
 Profile  
 
 Post subject: Re: Resize issue
PostPosted: 8. Aug 2011, 18:48 
Offline

Joined: 8. Aug 2011, 13:52
Posts: 4
The picture that was attached had the initial dimension 3264x2448/180 dpi and was taken directly from a canon. The image magick check was enabled in the JFU config.

I was not able to figure out the php memory size.

I have to ask a basic question. If gdlib/image magick is different methods for resizing img, then where do I have the option to chose between them?


Top
 Profile  
 
 Post subject: Re: Resize issue
PostPosted: 8. Aug 2011, 20:31 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 10573
php memory size is shown under help/limit
you can switch between gdlib and image magick in the profile configuration.

The check only tells you if it is available. In the profile you can choose if it is used.

The image is quite big. So I think you could have a memory problem there...

- Michael


Top
 Profile  
 
 Post subject: Re: Resize issue
PostPosted: 9. Aug 2011, 10:06 
Offline

Joined: 8. Aug 2011, 13:52
Posts: 4
Now I have tried the gdlib (image magick not available) on a reduced image of the one that failed (now 1440x1080, size 131kb), and it still failes and produces an image equal to the one I've attached before.

The PhP memory is about 65536 Kb

How can I make Image Magick an option? Is there an issue with resizing in the software?


Top
 Profile  
 
 Post subject: Re: Resize issue
PostPosted: 9. Aug 2011, 10:24 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 10573
Maybe the gdlib is not installed properly or your image is somehow not compatible with gdlib.

for image magick you actually have to have image magick somewhere in the path.

- Michael


Top
 Profile  
 
 Post subject: Re: Resize issue
PostPosted: 9. Aug 2011, 11:29 
Offline

Joined: 8. Aug 2011, 13:52
Posts: 4
Hi Michael,

I have it up and running. I had to enable magick at the host and this seems to have fixed the issues with bad resizing.

Thanks for your help, it was very inspiring...

Best regards
Morten


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 2 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® Forum Software © phpBB Group

phpBB SEO