Takis Bouyouris
Forum Replies Created
-
Forum: Plugins
In reply to: [Adaptive Images for WordPress] Script not working on main siteYes, of course, you may email me at info [at] nevma [dot] gr.
Cheers,
TakisForum: Plugins
In reply to: [Adaptive Images for WordPress] Script not working on main siteHello, my friend,
Thank you for sharing this info with me!
You did notice correct, this is where the problem lies. This bit of code is put there automatically. You can change it manually and remove the extra
/wp2which is not necessary and I believe that this will solve it. However, the problem will appear again next time you save the plugin settings.Now I am starting to understand your setup a little better. Your WordPress installation is in a subdirectory of the root of your server, right? However, the urls of your images are still being accessed via the subdirectory. Somewhere within this setup is where the problem lies and our plugin cannot figure this out in detail. What I am trying to say is that it is a little bit of a mix-up having your permalinks refer to the root of your server but your media inside a subdirectory of the root.
We have tested with success is the recommended setup explained here in the Codex https://wordpress.org/support/article/giving-wordpress-its-own-directory/ in both methods mentioned. I believe what you were trying to achieve was method 1 right. Can you confirm this and tell me if you have implemented it exactly as it is explained in the article? Because if that is so, then there should not be any extra
/wp2in the image urls!Cheers,
Takis- This reply was modified 7 years, 2 months ago by Takis Bouyouris.
- This reply was modified 7 years, 2 months ago by Takis Bouyouris.
Forum: Plugins
In reply to: [Adaptive Images for WordPress] Images at 1920 Width Are Not ScalingYou are very welcome!
Forum: Plugins
In reply to: [Adaptive Images for WordPress] Script not working on main siteHello, my friend,
Thank you for reaching out!
Could you please send me the results of the Print debug and Print diagnostics buttons in the plugin settings page.
I suspect that in your production environment the htaccess bit of code that is necessary in order to internally redirect requests for images to the Adaptive Images script has not been set up correctly for some reason. But let’s take it one step at a time.
Cheers,
TakisForum: Plugins
In reply to: [Adaptive Images for WordPress] Images at 1920 Width Are Not ScalingHello, Dave,
The issue is a very subtle but important CSS detail. In both your pages the container of the image has a CSS property
background-size: cover;. So, one would normally expect to see the same thing in both pages. However the “cover” value means that the background image will stretch enough, both in width and height, in order to cover the whole of the container’s area. In the About page http://prntscr.com/nqv0b3/ the height of the container is only 290px, whereas in the Home page http://prntscr.com/nqv1rd/ it is 909x. I am not sure how this happened, but it has definitely something to do with your page’s layout and the way it has been produced. It seems to have come out of a page builder, if I am not mistaken. In any case this is where you should a little bit deeper for the solution to your problem.Hope this helps!
Cheers,
TakisForum: Plugins
In reply to: [Adaptive Images for WordPress] Images at 1920 Width Are Not ScalingHello, Dave,
I am afraid that the issue you are referring to is a CSS related one. As you can see in my previous screenshot here http://prntscr.com/npgher/ the actual image is indeed being resized as a file, but, as I can see from your screenshot, in the mobile browser that you tested it the background image is not contained within the viewport.
What you are trying to achieve I think needs a background size “contain” (http://prntscr.com/npj9iz/) but it totally depends on your theme to do it.
Let me know if I can help any further!
Cheers,
TakisForum: Plugins
In reply to: [Adaptive Images for WordPress] Images at 1920 Width Are Not ScalingHello, Dave,
Thank you for message!
Can you tell me how you detected if the plugin doesn’t work for images greater than 1920px wide? Or could you point me at some image with a problem?
Taking a look at your website it seems to me that all images are being resized as expected. For instance: http://prntscr.com/npgher/.
Cheers,
TakisForum: Plugins
In reply to: [Adaptive Images for WordPress] Cache Dir and Watched Dirs not savedThank you, my friend, and with your help we discovered a small bug that will be fixed in a new version during the next few days!
Forum: Plugins
In reply to: [Adaptive Images for WordPress] CPU usageHi, Ricardo,
Indeed the plugin could be making “some” CPU calls, but our tests and experience has show that it has never been a problem so far.
Some of the things that might contribute to this problem can be: having too many images in a page, a page with a lot of images receiving a lot of traffic, the whole website receiving a lot of traffic, the images having a small Expires header or no caching at all, etc.
These are all things that might cause a lot and frequent requests for your images and it is the Adaptive Images plugin that handles them. However, as I said previously, this has not been the case, at least so far and that we know of.
One thing you could try is disabling the Adaptive Images plugin for a while and seeing if the CPU usage in your server is dropping significantly. If that is so, then you might need to make some decisions.
Other than directly disabling and then enabling plugins, I’m afraid there is no easy way to detect which one is eating up your CPU. It would require some really deep debugging.
Let me know how it goes and if I can help any further!
Cheers,
TakisForum: Plugins
In reply to: [Adaptive Images for WordPress] Images not scalingYou are welcome, my friend!
So, is everything OK with you installation now?
Forum: Plugins
In reply to: [Adaptive Images for WordPress] Images not scalingHello, my friend,
No worries, I want this to work for you. Thank you for your efforts, too, and for sharing your configuration with me.
Right now the Adaptive Images plugin seems to be working as expected. Take a look at this screenshot http://prntscr.com/nmslpn/, where I am inspecting an image with my browser’s Developer Tools in Responsive web design mode. (Bear in mind that you might need to clear your browser cache first or hit a hard refresh with Ctrl+F5 or Cmd+R.)
In addition, the debugging urls on images are working as expected, too: https://ja.seoartgallery.com/wp-content/uploads/2019/05/0001234-1600×494.jpg?debug=true.
It was all a matter of NginX being configured properly and at the correct point after all!
Cheers,
TakisForum: Plugins
In reply to: [Adaptive Images for WordPress] Images not scalingHello, my friend,
I am afraid we are now back to our original problem. When I checked your website in my previous comment and took the screenshot https://prnt.sc/niqmb5/ the Adaptive Images plugin was working correctly and the images were being resized.
Now I checked again and it isn’t working. Even the debug urls like https://ja.seoartgallery.com/wp-content/uploads/2018/06/0001234.jpg?debug=true are not working, exactly as it was happening in the beginning.
Is it possible that something changed in your NginX configuration in the meantime. I an pretty sure it is all a matter of setting a correct NginX configuration. I am sorry I cannot provide the correct configuration, because it really depends on your setup. The general idea is adding the bit of code that you see after you save the Adaptive Images settings in the correct place of your NginX configuration.
Cheers,
TakisForum: Plugins
In reply to: [Adaptive Images for WordPress] Cache Dir and Watched Dirs not savedHello, again,
Yes, of course, you may send it to us at info [at] nevma [dot] gr.
Cheers,
TakisForum: Plugins
In reply to: [Adaptive Images for WordPress] Cache Dir and Watched Dirs not savedHello, again,
Well, as I mentioned before, you will need to re-save your Adaptive Images settings when the paths on the disk have changed. To be perfectly honest, this is quite common when moving WordPress installations, so you might as well do it always in order to be absolutely sure. It doesn’t hurt anyway.
About the empty watched directories list, it probably sounds like a bug, but it is difficult to tell. Perhaps you could share the results of the Print debug and the Print diagnostics buttons in the plugin settings page with me?
Cheers,
TakisForum: Plugins
In reply to: [Adaptive Images for WordPress] Cache Dir and Watched Dirs not savedHello, my friend,
Usually, when moving to another installation, be it a server, a domain, a staging environment, anything actually, you only need to save the Adaptive Images settings if the paths on the disk have changed. Unfortunately, this is something we cannot yet avoid. Thankfully, the cost of re-saving ones settings is minimal!
About the Staging Tool Pro, I am not sure I understand the issue, but my best guess is similar as the previous one. The Adaptive Images settings would only need to be re-saved if some paths have changed on the disk. Perhaps the Staging Tool Pro is making some sort of such changes when creating the staging environment?
But are you saying that the watched directories setting remains empty even after you saved them anew?
Now, this and the “fun fact” would require a bit of deeper debugging and error printing so that we could dig into the little details of your setup and the staging tool intricacies as well. Do you think that this is something you could arrange?
Cheers,
Takis