Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
plugins-topic
image doesn't insert with internet explorer
Avatar
Petra
Member
Free Members
sp_UserOfflineSmall Offline
Nov 11, 2012 - 10:00 am

I use the Plugin File Uploader with Plupload (1.2.6), with SP Version: 5.1.4.

When uploading in Google Chrome I can upload images and place them in the topic. Using Internet Explorer I get the response from users, they can upload an image, but cannot place them into the topic.

Tested it on an other computer and with the account of the user. And have the same problem. Thought it had something to do with permissions, but cannot find what can cause this problem. 

Where can I look to solve this problem (if this is something I'm doing wrong)?

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Nov 11, 2012 - 10:38 am

cannot place them in post??  what do you mean by this?  users dont place images in posts with the uploader - its automatic... are  you saying this is not occurring for you?

link to site would help...

Avatar
Petra
Member
Free Members
sp_UserOfflineSmall Offline
Nov 12, 2012 - 3:22 am

site is http://www.capelle-fotografeer.....nl/forum-4

I know the system should place them, and that's the problem. It doesn't do that, it does however upload the images to the server, because if you use the button View Existing Image Uploads, it shows the uploaded image(s). 

If you then try to put the image in the post (by clicking on the images shown) it doesn't work.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Nov 12, 2012 - 6:54 pm

something on your site is forcing IE to load in IE 7 standards mode... are you doing this on purpose?

<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />

this is not very friendly...  IE 7 is quite outdated...  perhaps your wp theme is outdated?

either way, we only officially support IE 8 and 9...  I cannot actually try an upload, but guessing that is the issue...

Avatar
Petra
Member
Free Members
sp_UserOfflineSmall Offline
Nov 14, 2012 - 6:56 am

I wasn't aware of the IE7 reference, so I try to fix that. Used a general theme of WP (twentyeleven), but didn't fix the problem. In the meanwhile made a new theme. After I checked that, there was no reference for IE7 Emulate anymore. So that's fixed as far as I'm concerned.

Back to the problem again, because it still isn't resolved :( .

Found this when I looked at the html in editor

IE upload:

<img src="http://www.capelle-fotografeert.nl/wp-content/sp-resources/forum-image-uploads/jokem/2012/11/padejapanse-053.JPG" alt="padejapanse-053.JPG" width="1" height="1" /></p>

 

Chrome upload:

<p><img src="http://www.capelle-fotografeert.nl/wp-content/sp-resources/forum-image-uploads/jokem/2012/11/padejapanse-051.JPG" alt="padejapanse-051.JPG" width="600" height="600" /></p>

 

The last one is correct, because that is what I put in the plugin for Plupload. But where the settings for IE come from is a mystery to me. Please advise on how to proceed from here.

I am looking in to the CSS of the theme, although I for the live of me cann't remember to put that anywhere.

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Nov 14, 2012 - 8:12 am

Steve (Mr Papa) is going to be absent for a couple of days so I need to pick this up. A couple of things here. Are you saying those html fragments are from the post when it is displayed in the forum? I am assuming this is the case.

They also point to different image files. So when you look at it in IE and interrogate the SAME image does it still turn the width and height to a single pixel size?

andy-signature.png
YELLOW
SWORDFISH
Avatar
Petra
Member
Free Members
sp_UserOfflineSmall Offline
Nov 14, 2012 - 8:15 am

Could this have something to do with a problem we solved earlier? 

See:

https://simple-press.com/suppo.....es/page-2/

number 20 for edited file

Avatar
Petra
Member
Free Members
sp_UserOfflineSmall Offline
Nov 14, 2012 - 8:21 am

Did a quick test because of your question, same result

 

<img title="padejapanse-051.JPG" src="http://www.capelle-fotografeert.nl/wp-content/sp-resources/forum-image-uploads/jokem/2012/11/padejapanse-051.JPG" alt="padejapanse-051.JPG" width="1" height="1" /></

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Nov 14, 2012 - 8:39 am

Petra said
Could this have something to do with a problem we solved earlier? 

See:

https://simple-press.com/suppo.....es/page-2/

number 20 for edited file

I don't see any obvious connection. I WILL say that there is some sort of local problem your end for that function we removed not to work and we can currently see no way around leaving the code as it is. So we have to leave that alone but at the moment that is a different issue.

Petra said
Did a quick test because of your question, same result

<img title="padejapanse-051.JPG" src="http://www.capelle-fotografeert.nl/wp-content/sp-resources/forum-image-uploads/jokem/2012/11/padejapanse-051.JPG" alt="padejapanse-051.JPG" width="1" height="1" /></

And again - this html is from the display of the page correct?

And if so then we could, perhaps, surmise from that that something active on your site - and that would almost certainly be some of the javascript - is manipulating the height and width of the image tag when IE is being used. The original html source code is going to be browser independent. If you look at the raw post content in the database I am betting that the width and height are set as they should be and were originally set when the page was being loaded correctly. Which suggests they are being manipulated in some way after the load and before the display.

Are you aware of any plugins that might be having some sort of effect along these lines? You do have quite a lot of scripts loading that I am not familiar with.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Petra
Member
Free Members
sp_UserOfflineSmall Offline
Nov 14, 2012 - 12:17 pm

That would suggest that the same problem will occur when you use a different browser (if it was a plugin).

I will look into it further but in the doc we changed there is a rule that does something with a check and set width and height to "1".

I'm a photographer and not a website builder of any sort. So I do with a bit of common sense :) and try to solve the problem that way. As said, I looked into the changed .php and that is the only place I can find the width and height being actually set to 1. In all the other plugins .php and css I have not found anything of this sort.

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: 649
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 616
Members: 17344
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10117
Posts: 79600