Keyword

Unable to upload images using the "Image" tab

More
14 years 3 months ago #89608 by Triumvirato
Replied by Triumvirato on topic Unable to upload images using the "Image" tab
Nick,

 

Many thanks for your help. I try to do that, but i don´t see anything, the log is not displayed in anywhere, and the error occurs as always, at the end i get a blank navigator screen and the image is not uploaded.

 

Peter,

 

May be a problem server, but i'd like to solve it in that case with my host provider but i need to know what to disclaim him.

 

Many thanks to you.

Please Log in or Create an account to join the conversation.

More
14 years 3 months ago #89609 by peter cowen
Replied by peter cowen on topic Unable to upload images using the "Image" tab
OK from what I can remember I think it was image buffer sizes...?

Please Log in or Create an account to join the conversation.

More
14 years 2 months ago #89610 by Nolix
I'm tired about this issue: the item image upload in image tab not show in the item... I resolve only reinstalling a fresh joomla and k2 versions... and restore the database... and all working fine by now... All post about this issue not working for me... Thanks a lot for this help forum...

Please Log in or Create an account to join the conversation.

More
14 years 1 month ago #89611 by Jock
@nick

 

Can you help me over here please, I have a similar issue:

 

community.getk2.org/forum/topics/images-field-not-working

Please Log in or Create an account to join the conversation.

More
14 years 1 month ago #89612 by Nolix
I solved the problem temporarily, moving images folder /media/k2/items/cache and /media/k2/items/src to another folder. I'm still waiting for an update to resolve this incident, k2 apparently can only handle a certain amount of images

Jock said:
@nick

 

Can you help me over here please, I have a similar issue:

 

community.getk2.org/forum/topics/images-field-not-working

Please Log in or Create an account to join the conversation.

More
14 years 1 month ago #89613 by Jock
Hi Nolix,

 

Can I ask where you moved them to ? And the reason for doing this?

 

Thanks

Please Log in or Create an account to join the conversation.

More
14 years 1 month ago #89614 by BBC
Strange.  I never had such problems. Installed K2 at plenty of servers.

So i doubt it is something wrong in K2.

 

Sometimes new images don´t appear unless i make refresh 2-5 times.

 

Delete all Cache, check that you don´t have header expires set in .htaccess, disable plugin Cache (if it is activated), check that you don´t upload some strange extension as .tiff, bitmap, psd.

 

If you have .htaccess activated disable it and test without.

Please Log in or Create an account to join the conversation.

  • Nick Texidor
  • Nick Texidor's Avatar
  • Visitor
14 years 1 month ago #89615 by Nick Texidor
Replied by Nick Texidor on topic Unable to upload images using the "Image" tab
@BBC, there IS an issue with image uploading that I've documented across these forums, however, it is more related to the server in most instances.  Most of the sites I've setup have issues with the PECL mime checking, and so I have to over-ride the class.upload.php file with a modified version because there is a problem with the initialize routine in that file (i.e. it doesn't get run until the upload function is called, meaning that any values you try setting before the upload is called in item.php just gets reset).

In Jock's situation, as posted in another thread, his server has fopen disabled, and I suspect that's the first thing to address before going any further.

Please Log in or Create an account to join the conversation.

More
14 years 1 month ago #89616 by Nolix
Ok. I moved them to another folder like /elements/cache and elements/src. That's the only way I can continue loading more photos. But this is a temporary solution because I did everything suggested and it did not work.  Please check the Nick Texidor post Are you experiencing Image Uploading and Resizing Problems?

Jock said:
Hi Nolix,

 

Can I ask where you moved them to ? And the reason for doing this?

 

Thanks

Please Log in or Create an account to join the conversation.

More
12 years 8 months ago #89617 by Ranjit
Try to give 777 write permission to your below folder:

/media/k2/items/cache

It worked for me..

Please Log in or Create an account to join the conversation.

More
11 years 8 months ago #89618 by cloacker
I encountered the same problem Unable to upload images frontend or backend through K2 Image tab. This client has its own server which has two joomla 1.5 sites, with K2 v2.5.5 and other components.

Whenever i tried to upload an image i got immediate blank white page. I set the maximum level of error reporting but again the pages were blank with no visible Errors. Tried a lot of stuff, setting php.ini variables, modifying permissions, etc. It didn't mather which picture format (png, jpeg) or file size (100KB or. 2,5MB) i tried, the result was the same.

After some time I found that in backend K2 settings->Images tab -> Advanced Image Settings -> Enforce memory limit (in MBs) for image processing was set to 32MB. Deleting this value and taking the server set limit fixed this problem for me.

Now i can only upload images with small size but at least I get php errors about time-out for larger images. Have to find a solution for that now.

Please Log in or Create an account to join the conversation.

More
11 years 7 months ago #89619 by Andrea
I have the same problem, but the solution provided above doesn't solve it :( I already increase PHP upload limit and timeout, but still the same problem: white page when I upload images bigger than about 2 MB. Any idea why? Thank you so much in advance!!

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
11 years 7 months ago #89620 by Krikor Boghossian
Replied by Krikor Boghossian on topic Re: Unable to upload images using the "Image" tab
It still causes memory related errors. Normally your images should not be that big. You can try increasing the memory size or trimming down your images.

Please Log in or Create an account to join the conversation.

More
11 years 7 months ago #89621 by Andrea
Tyvm for your answer. Do you mean "memory_limit" in PHP settings? It's 500M actually...

Please Log in or Create an account to join the conversation.

More
11 years 7 months ago #89622 by Andrea
Yaaaaah, solved it! This is my php.ini file:
upload_max_filesize = 20M
memory_limit = 500M
max_execution_time = 120
post_max_size = 24M

Now also images bigger than 2 MB are uploaded without any problems :)

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
11 years 7 months ago #89623 by Krikor Boghossian
Replied by Krikor Boghossian on topic Re: Unable to upload images using the "Image" tab
That's actually really, I mean really high so that is not the issue in your case.
I suggest you contact your hosting provider about this.

PHP's libraries for image processing can be quite intensive sometimes so that might cause an issue with your current hosting setup.

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum