Christoffer
Forum Replies Created
-
I also experience this bug in conjunction with Formidable :/
I’ll probably ask them then, and insert a link here so others can benefit from it ??
Beautiful! Do you also know how I can moderate bbPress comments? Their website says that if you turn on moderation for comments, it should work, but it doesn’t. WP only moderates comments containing a certain amount of links as far as I’ve testet.
Thanks,
ChrisI see. The error message I get from my log is:
The img tag was not rewritten. No retina for 'https://localhost:8888/fagtak/wp-content/themes/riiskit/img/logo.png'.
I do have a [email protected] in the same folder?
Eventually, I ended up writing the srcset manually, but it would still be nice to know what’s wrong.I tried using your function like this:
style="background-image:url(<?php echo wr2x_get_retina_from_url($icon); ?>);"
Now it always returns the retina version?
Another problem is that my manually inserted logo:
<img src="<?php echo RIISKIT_BASE_URL . 'img/logo.png'; ?>" alt="<?php echo esc_html( get_bloginfo('name') ); ?>" width="205" height="49" />
…doesn’t get rewritten to srcset, even though I’ve a retina version appended with @2x?
Thanks, Chris.
I fully understand and just wanted to let you know ??
Looking forward to the next release, and keep up the sweet work!
Hi Jordy!
Thanks for your quick reply ??When I use your function with the URL, it returns NULL?
When I append “@2x” to the URL manually, it works.Hey WPMonkeyATL,
Great news! Now I should inform the WP Retina 2x plugin author ??
Thanks for you help!
Hi WPMonkeyATL!
I can confirm this bug and have brought it to attention here: https://github.com/scottjehl/picturefill/issues/453
I hope they’ll fix it before v2.3.0 is released ??
Thanks for testing it with v2.1.0 as it works as a temporarily solution!
Forum: Plugins
In reply to: [qTranslate X] Default language can't be chosen<IfModule mod_rewrite.c> RewriteEngine On RewriteBase /procano/ RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /procano/index.php [L] </IfModule>
Forum: Plugins
In reply to: [qTranslate X] Default language can't be chosenNorsk (default) -> Svenska -> English
Tried both, but left checked for now.
Use Pre-Path Mode is when it doesn’t work.
Interesting: If I uncheck the hiding of URL language info it works with Pre-Path Mode as well!
That means it’s a combination of the Pre-Path Mode and the hiding.Permalinks are set to postname.
Deleted all the qtrans cookies without any luck.
Forum: Plugins
In reply to: [qTranslate X] Default language can't be chosenI’m currently working locally, but I’ve now debugged further.
When I click the default language on the front-end I can see it starts to refresh but then it just stops. However, when I use Query Mode (?lang=en) it works. I’ve tried flushing my permalinks as well.
Another interesting thing is that the default language links to e.g. https://website.com/en/ when it should actually be linking to https://website.com/. If I enter the latter URL it works.
I hope this helps Gunu and thanks for your assistance so far ??
Forum: Plugins
In reply to: [qTranslate X] Default language can't be chosenHi Gunu,
Thanks for your quick reply!
I did what you told me to, but unfortunately without any luck :/Thanks for such a quick reply, Jordy!
The reason I got confused was because I use a non-retina Macbook and the debug mode, and in the webinspector, I didn’t see the <img src> being rewritten to <img srcset> although it got the @2x version, but that’s probably because of the debug mode, right?
The images I add manually from an “img” folder will also get rewritten I assume?Regarding the CSS, I often use background-images with background-size: cover to fill the entire screen. It’s not a problem if I’ve to add the media queries myself though, but it will be a problem when I add an inline background-image that links to a dynamic attachment.
@chris
Please explain to me why I can’t access the site on my iPhone, iPad and even another Mac then. The whole website gets the error message.