-
Notifications
You must be signed in to change notification settings - Fork 205
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Images not working on SSL with https #21
Comments
I'm actually trying to figure this out at the moment as well |
I have the same issue on https. Any ideas on this issue would be much appreciated. |
I'm glad to see I'm not the only one with the issue. I believe it is something to do with the wp_upload_dir not supporting https, but I'm not sure yet, hopefully this is something the developers of the script can look into. |
If anyone would like to offer a test install with https, I'd be happy to fix this. Cheers |
I have emailed you WordPress login and FTP details to a https server so you can look into this issue. :) |
I just had the same problem reported to me on my plugin. I never tested in https and didn't think about doing it for some reason. https://github.com/highergroundstudio/myContest/issues/62#issuecomment-24134138 |
Any updates on this? |
I have this issue too - pulling my web site page into Facebook (car sales dealership) but the car images are not showing through https. Any chance of this being solved in a future issue or is there a way around it? Thanks all! |
Will send you FTP details if you can fix this as you mentioned. :) |
I'm interested to learn of this issue can be resolved. Thanks! |
If someone grants me access to some suitable setup regarding this issue + I get paid, let's say 300 bucks, I am going to do that for you. Don't get me wrong at the payment point, I'm not greedy, but I am pretty much busy with other things and also suspect, that some of you might be interested in this feature by commercial aspects, so I think it's fair to ask for a piece of the pie. |
@Maximski - price point makes sense to me, but I currently don't have an active site with the issue. I just remember it being a problem in the past and curious to see what the best fix is. |
@wpexplorer It's just an offer, not more and not less. I have personally have no need for this feature currently, too, so I'm probably not the one implementing this without appropriate motivation. Just saying :) |
Most browsers are permitted by default to display http images on https pages, but to accommodate the exceptions, if you are using wp_get_attachment_url() with this script, try adding a filter so image URLs do not always begin with http. http://codex.wordpress.org/Plugin_API/Filter_Reference/wp_get_attachment_url
|
@miqronaut - awesome dude, thanks for the heads up! |
Possible solution, why not simply leave out the http protocol out of the image via a filter, it's safe ( http://www.ietf.org/rfc/rfc3986.txt ), Relative URLs ( http://www.paulirish.com/2010/the-protocol-relative-url/ ). |
Bump... @jesush solution seems to be the best... PR sent 😉 |
Fix for HTTPS images. Closes syamilmj#21
Thank you SantoshTupsy! This is THE BEST and most simple solution! I have installed different SSL on domain and subdomain and had this images not showing problem in sub-domain. I have spent HOURS to find a way to fix this issue and nothing helped: I tried Really Simple SSL..nothing; changed link url in General..nothing; tried scripts, plugins to force, checked folders permissions, redirects and so on for loooong hours! After i have followed your .htaccess instructions everything came back fast with a simple refresh of the page! You have no idea how thankful i am to you! |
Hi there,
Excellent script.
I've had a number of my customers tell me that their images do not display when they use SSL and switch to https in the URL. I'm surprised to see nobody else appears to have brought this up, is there any fix for this, or is it a script issue at all?
The text was updated successfully, but these errors were encountered: