Uploading images without using Media Manager
-
Hi!
I’m trying to find a temporary workaround to a recurrent problem (I’ll end up switching host but right now I need damage control).
My host has a ridiculous memory limit set at 40MB, which cannot be overwritten or extended or anything.
I’m running into the usual Out of memory (allocated 34603008) (tried to allocate 1024 bytes) in /…/wp-includes/media.php on line 2057 whenever I want to upload an image bigger than 100ko.
I need to create a new product in my shop (woocommerce), and I cannot upload the product images. I tried everything, but it fails. I even tried the add from server plugin, with which I encountered the same error. I tried to “fake” upload an image, and then upload my image using ftp and giving it the same name as the messed up image wordpress managed to put in its upload directory, it didn’t work.
The main problem is with the thumbnails. The Media manager creates the thumbnails when the image is uploaded, and it’s failing, or doing something wrong with it. I end up with woocommerce thinking the thumbails are 1px height and 1px width and the images don’t appear. There’s no realistic way of modifying woocommerce’s core code to hard-code fixed sizes for the thumbnails.
Right now, I just need a fix to upload the two images I need (one is 152ko, the other one is 236ko) and having wordpress recognize them one way or another.
I searched in the forum a little bit and found that deactivating the plugins was useless (that was my next step).
I will switch host in the long run, but my new product is coming next week and I don’t really want to mess everything up just before launching it, so like I said, I’m trying to do some damage control here ??
Thank you for any suggestion!
(and yes, I already tried changing the memory limit, I tried also the php.ini trick, as well as the htaccess trick, but like I said, it was useless since the host doesn’t allow changes and has set up the limit at 40MB. I can’t even use nextgen gallery…)
- The topic ‘Uploading images without using Media Manager’ is closed to new replies.