Takis Bouyouris
Forum Replies Created
-
Hello, my friend,
Well, first of all, it is kind of difficult to see how the Adaptive Images plugin works in your phone. Actually, to the naked eye, the plugin should work completely transparently, without affecting how your website looks. It’s job is to let the website look the same on the outside, but delivering smaller images under the hood.
The reason Pagespeed cannot detect that is because it is not running your website in a real device and a real browser. It simply reads the HTML and gives some correct yet generic good practices. I would suggest testing the Adaptive Images plugin as it is described in the plugin description page in WordPress.org or in a service like Webpagetest.org.
Now, about NginX, are you sure that your core server is indeed NginX? Because it seems that in the background the Adaptive Images plugin is already working correctly despite the issue with the configuration file you are describing. I can see that by visiting debug urls on your images like https://www.keblog.it/wp-content/uploads/2019/03/lago-michigan-foto-ghiaccio-04.jpg?debug=true and https://www.keblog.it/wp-content/uploads/2019/03/lago-michigan-foto-ghiaccio-04.jpg?resolution=320,1.
It is possible that you are using NginX as a caching server, though, and this a common case these days. In this case NginX is probably functioning like a CDN and I would advise you to test the CDN support option in the plugin settings page. However, bear in mind that this case is supported in a bit of an experimental manner, due to the way CDNs work. Nothing will break, but some images may be downloaded in full size without anyone noticing.
To sum it up, as a first step make sure what your setup is (NginX only? Apache and NginX on top? something else?) and then try the CDN support option. In any case feel free to contact for anything further you might need.
Cheers,
TakisForum: Plugins
In reply to: [Adaptive Images for WordPress] Working with WebP ExpressYou are welcome, Nicola, unfortunately it is a case where it is technically impossible for two plugins to work together out of the box. Perhaps, if this becomes a frequent issue in the future, we could discuss about a common solution with the creators of the WebP Express plugin.
Cheers,
TakisForum: Plugins
In reply to: [Adaptive Images for WordPress] Working with WebP ExpressHello, Nicola,
It is a little bit difficult to debug this, but it seems that the WebP Express plugin is filtering requests for images itself! If it is indeed doing this, then I am afraid it cannot work along with our plugin. After all, only one processing unit could handle and deliver an image request at a time.
Perhaps you could check your htaccess file and see if the WebP Express plugin is putting some code of its own there which takes precedence over the Adaptive Images plugin code. If that is the case, then I guess there is not much we can do about it. You will have to choose which one serves your goals better!
Let me know how it goes!
Cheers,
TakisHello, @ravis5793,
Our plugin will help send an image of smaller size to mobile devices but it cannot help with design or layout or CSS issues! Whatever your theme is doing is left untouched, but in the background the images are resized per device size in order for them to download more quickly!
Let me know if you need any further help.
Cheers,
TakisForum: Plugins
In reply to: [Adaptive Images for WordPress] All images disapeared after last updateYou are very welcome!
Forum: Plugins
In reply to: [Adaptive Images for WordPress] All images disapeared after last updateHello, my friend,
First of all, I believe that no theme should actually rely on Adaptive Images. It is the nature of our plugin to work transparently. So, perhaps there is a misunderstanding here or perhaps you are talking about enforcing a good practice but not a dependency.
Having said that, I see that there probably is indeed a problem with your htaccess file. This line:
# Redirect images through the adaptive images script RewriteRule \.(?:jpe?g|gif|png)$ /wordpress/C:\Apps\Wamp\www\wordpress\wp-content\plugins\adaptive-images/adaptive-images-script.php [L]Should probably be more like:
# Redirect images through the adaptive images script RewriteRule \.(?:jpe?g|gif|png)$ /wordpress/wp-content/plugins/adaptive-images/adaptive-images-script.php [L]It seems that there is a confusion with the rewrite paths there, but I haven’t been able to replicate this in our own test environments. Can you please confirm if this fixes the problem?
Cheers,
Takis- This reply was modified 7 years, 4 months ago by Takis Bouyouris.
- This reply was modified 7 years, 4 months ago by Takis Bouyouris.
Forum: Plugins
In reply to: [Adaptive Images for WordPress] All images disapeared after last updateHello, @navikadmin, could you please provide some more info on your installation, please? It seems that you are in a localhost environment, perhaps this has something to do with your setup there?
You are welcome!
Forum: Plugins
In reply to: [Adaptive Images for WordPress] All images disapeared after last updateI am glad to hear this, and I am very sorry for the trouble!
Cheers,
TakisHello, again,
I think I understand what you mean now. Unfortunately, this is not something our plugin can do. It will resize per device breakpoint any image that will be requested, but it cannot substitute it or alternate it with another one. What you are trying to achieve can be done in other ways like the image srcset attribute or simply with CSS media queries. This way you can show and hide the image version you wish for any device size. I guess CSS media queries should be the easiest way to go.
Cheers,
TakisForum: Plugins
In reply to: [Adaptive Images for WordPress] All images disapeared after last updateHello, @rmaurers, did saving the plugin settings anew solve the issue?
Forum: Plugins
In reply to: [Adaptive Images for WordPress] All images disapeared after last updateHello, there,
I am so sorry to hear this! Could you please see if all turns back to normal if you simply save the plugin settings anew? There are some edge cases where I suspect this might have happened, but couldn’t manage to reproduce in my test environments.
Has any of you perhaps configured their WordPress installation to function in a subdirectory (literally or virtually) of the root server directory?
Cheers,
TakisOh, I am so sorry, but I do not think I have understood exactly what you are trying to do. It is quite difficult for one to understand all the small details of the other person’s design.
Could you perhaps point me to something more particular?
On the other hand, I do see that the Adaptive Images plugin is indeed working as expected in your website and that it resizes images as it is supposed to (per breakpoint and device screen size).
Cheers,
TakisHello, there,
No, you don’t need to do that at all. Our plugin will find the images in the watched directories anyway because these directories are supposed to be the directories where you already have your images saved. If you wish to specify which screen sizes our plugin should take into account then you need to set the Breakpoints options in the plugin settings page. However, the default ones are usually pretty OK.
Let me know if you need anything further!
Cheers,
TakisForum: Plugins
In reply to: [Adaptive Images for WordPress] Folder not CreatedHello, my friend,
This is indeed very weird (not saving the Watched directories setting)! This setting defines the directories where our plugin looks for images to resize. So, it will not resize images in other directories. This way you can control part of its behaviour, in case you need some images to remain non-resized at all cases. And, yes, it needs to be a relative path within one’s WordPress installation, like “/wp-content/themes/”, etc.
Usually, as I mentioned in my previous email the defaults should be good enough for most cases. Did you by any chance delete the default values? If not, it seems that your host is perhaps filtering the data sent in HTTP requests and strips away data that it identifies as directory paths. But this is just a guess.
It would require to have access to the WordPress installation files via (S)FTP in order to debug this I am afraid. If you wish, I would be happy to take a look into it. You can send me the credentials at info [at] nevma [dot] gr.
Cheers,
Takis