Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
general-topic
problems with image attachements and the plupload plugin
Avatar
ovizii
Member
Free Members
sp_UserOfflineSmall Offline
Feb 23, 2012 - 3:57 am

I reply to a topic, write my text, upload an image, after uplaoding the image is automatically inserted into my post and I can see it. I click the post button and then when I review my reply, it still contains my text but no longer has my image, it simply says: [Image Can Not Be Found] 

 

check here: http://screencast.com/t/CcL6dweY

 

I then edit my post and I can again see the image in the editor the html code is this: 

<img src="http://www.die-kellerkinder.eu/wp-content/uploads/admin/2012/02/2012-02-23_1145.png" alt="2012-02-23_1145.png" />

 

But the image link is working !?

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Feb 24, 2012 - 12:05 pm

So is this on ALL images? And they never display?

I am a bit confused by the screencast shot because I don't see any image yet you seem to being saying that there is one!

Can you expand on this a bit?

andy-signature.png
YELLOW
SWORDFISH
Avatar
ovizii
Member
Free Members
sp_UserOfflineSmall Offline
Feb 24, 2012 - 12:13 pm

sorry for the confusion, I uploaded the wrong screen shot.

 

let me rather try and describe it again:

 

I create a new topic, upload a picture with the upload plugin, and it gets automatically inserted, looks lke this: http://screencast.com/t/proble.....ndewAhsc0m

 

Then I click on submit and the resulting topic looks liek this: http://screencast.com/t/dwwgHX1N

 

I then edit this topic and it looks like this: http://screencast.com/t/qkExAhzCv

 

And the HTML looks like this. weird. http://screencast.com/t/ghOwi7KENuFR

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Feb 24, 2012 - 3:08 pm

Can you do something for me?

Go to the forum error log and clear it out.

Make a post with an uploaded image.

Check the error log.

Anything reported?

andy-signature.png
YELLOW
SWORDFISH
Avatar
ovizii
Member
Free Members
sp_UserOfflineSmall Offline
Feb 27, 2012 - 8:27 am

cleaned the logs, posted an image, checked the error logs and there aren't any 🙁 

still the same problem: http://screencast.com/t/HmyekmVO

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Feb 27, 2012 - 9:52 am

I can explain what is happening but I can not, at the moment, explain why. So - explanation....

To use the image enlargement popup feature we need to know the width of an image. If the width attribute has been included in the image tag then all is well. If it has NOT been specified in the tag then we need to try and find it. When the post saves it will try and access the image using the php call getImageSize() which returns information on an image file. if this is successful, we add the width attribute and save the post. If this fails then we save the post without it.

When the post is displayed it will again look for the width and, if not present, make another call using getImageSize(). If it fails then you end up with the message you are seeing.

So the question is - why is the call to getimagesize() failing on your system? You may know this so I will let you respond at this point!

andy-signature.png
YELLOW
SWORDFISH
Avatar
ovizii
Member
Free Members
sp_UserOfflineSmall Offline
Feb 27, 2012 - 10:22 am

Honestly, I don't know why that call fails. I checked the server error logs and can't find anything.

here is my php.info though, maybe you can spot something problematic? http://zice.ro/info.php

 

Any other checks I can do? Would you want to have admin access to check it out?

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Feb 27, 2012 - 7:59 pm

weird that it would fail... standard php command and does not require GD or any other library?  can your host provide any feedback?

Avatar
ovizii
Member
Free Members
sp_UserOfflineSmall Offline
Feb 28, 2012 - 2:08 am

nope, its my own root server. and as I said: I was watching the error logs with "tail -f error.log" while uploading the picture and didn't see any error 🙁

Avatar
ovizii
Member
Free Members
sp_UserOfflineSmall Offline
Mar 8, 2012 - 2:16 am

any other ideas guys? this is a bit annoying 🙁 

its mostly happening when I uplaod .png files, shall I try jpg? my favorite screen shot tool does png by default 🙁

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 620
Members: 17365
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10128
Posts: 79626