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, 13:37

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  [ 4 posts ] 
Author Message
PostPosted: 16. Nov 2007, 17:29 
Offline

Joined: 16. Nov 2007, 11:29
Posts: 2
I have installed JFU 2.5.3 in my Joomla 1.0.13

In the configuration I have set the filetypes to "all" so it should accept any type of file.

It correctly uploads .zip, .doc, .txt and .psd files (all the file types I have tested so far) but when I try to upload an image file (.gif .png or .jpg ) I get "error uploading file" displayed in the flash.

There is no error in the error log in administrator/components/com_joomla_flash_uploader/tfu/tfu.log

Does anyone have any suggestions?

Keith


Top
 Profile  
 
 Post subject:
PostPosted: 16. Nov 2007, 18:05 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
do you resize the image?

is gdlib for image processing installed?

/Michael


Top
 Profile  
 
 Post subject:
PostPosted: 27. Nov 2007, 09:43 
Offline

Joined: 16. Nov 2007, 11:29
Posts: 2
Thanks for your help, and sorry for the delay replying...

gd is installed on the server (php configure option is --with-gd=shared). I'm using it to create thumbnails on the fly for a little gallery script with wobbly thumbnails (I can't post the link for now because I am too new to the forum. I'll post it next time if you are interested.)

It doesn't make any difference if I resize the image or not. I always get the error "Placement échoué. 1 fichier(s) de 1 ne peuvent être placés."
(it's a french instalation).

Are there any other php config options I should be looking at? I don't think it is a directory permissions problem or no uploads would work!

Keith


Top
 Profile  
 
 Post subject:
PostPosted: 27. Nov 2007, 09:46 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
weired - because on the upload part there is no additional check about the file type. I only check the image extensions if they need to be resized...

you can edit the tfu_upload.php

the is something like

if (is_supported_tfu_image($file['name'])) {

change it to

if (is_supported_tfu_image($file['name']) && $size < 100000) {

this change is already in tfu and will come to the next version of jfu as well.
Then the image is only touched if really a resize is selected.

/Michael


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

All times are UTC + 1 hour [ DST ]


Who is online

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