Takis Bouyouris
Forum Replies Created
-
Forum: Plugins
In reply to: [Adaptive Images for WordPress] Images not resizingHello, my friend,
I am afraid it is quite difficult for me to guess where you should edit your CSS in order to achieve what you are describing. Usually there should be two options: a) somewhere inside your theme options in the /wp-admin and b) in the theme files itself, although, if you do it there, you should probably use a child theme for more future-proof results.
However, one other quick thing that could try would be to change the image breakpoint sizes in the Adaptive Images plugin settings page. The default values there are probably “480, 768, 1024”, which means that the lowest possible width of image to be used is 480 pixels (and this is why your home screen image is stretched at a point where it appears too grainy. You could try making these size bigger, like “786, 1280” and see how things work out for you. If you do this remember to clear the plugin cache and do a hard refresh in you browser.
Hope this helps!
Cheers,
TakisForum: Plugins
In reply to: [Adaptive Images for WordPress] Images not scalingHello, @cheonmu,
Perhaps, you are seeing a cached version of the debugging url? Could you clean up your browser cache and try again or hit a hard refresh (Win+F5, Cmd+R)? Because I do still see the text debugging output and actually all the other images are being delivered resized wherever necessary, as expected (see the screenshots in my previous comment).
Now, your NginX configuration seems correct (and thank you for sharing it with us). The only thing I might do differently would be to put the “location” directive inside the “server” directive, but this is not very important. It is possible to have many different working combinations in NginX.
Cheers,
TakisForum: Plugins
In reply to: [Adaptive Images for WordPress] Images not scalingHello, guys,
As far as I know @satellitewp must be right. Actually most caching solutions do not tamper with the delivery of images (unless we are talking about a CDN, of course). However, for some reason now your images @cheonmu seem to be forwarded internally to the Adaptive Images script indeed. Anybody can check the debugging url https://ja.seoartgallery.com/wp-content/uploads/2018/06/0001234.jpg?debug=true.
So, firstly, the resolution cookie that the Adaptive Images plugin sets is set up correctly (http://prntscr.com/niqmb5/) and, secondly, the final downloaded image is resized according to the device size as expected. Happy times for all then!
Perhaps you could share with us exactly what is the serve block code that worked for you and where exactly you have put it? It might help other users as well in the future! Thanks in advance!
Cheers,
TakisForum: Plugins
In reply to: [Adaptive Images for WordPress] Images not scalingHello, my friend,
I did take a look at your images once again, but it seems that the “debug” url parameter is still not working. Perhaps now it is a caching issue or something similar? For instance, the image url https://ja.seoartgallery.com/wp-content/uploads/2018/06/0001234.jpg?debug=true is still sending the image and not the debugging text it is expected to.
My best guess is that the NginX server block is still not configured properly, so that image requests are routed to the adaptive-images-script.php file of the plugin.
Cheers,
TakisForum: Plugins
In reply to: [Adaptive Images for WordPress] Do not scale background imageYou are welcome, my friend!
Forum: Plugins
In reply to: [Adaptive Images for WordPress] Do not scale background imageAaah, if the theme does not give you access to the final image url it uses then perhaps it makes impossible to do what you are trying to do. Does it perhaps show you the image url in a text field where you can edit by hand? That would be a way…
Forum: Plugins
In reply to: [Adaptive Images for WordPress] Do not scale background imageHello, again,
It depends on the way you are including the image to your content. If you are doing it in a theme file, then you should do it right there, at the place where the HTML IMG element is created. But, if you are including it in the WordPress admin, in the TinyMCE or Gutenberg or some other builder or tool, then you should do it in that tool.
Hope this helps!
Cheers,
TakisForum: Plugins
In reply to: [Adaptive Images for WordPress] Do not scale background imageHello, my friend,
Actually, there is a way. It is actually more of a way to debug image delivery through the plugin, but it is perfectly valid to use it for any other purpose as well. You can add such a GET parameter to any image url like this: https://www.ammerseemetall.de/wp-content/uploads/2017/12/000025-e1524421067770.jpg?resolution=320,1
The value “320,1” means that the image should be delivered as if a device of 320px size and 1dpi had requested it. You can experiment and see which value works for you.
Also, you can use another GET parameter “?debug=original” like this https://www.ammerseemetall.de/wp-content/uploads/2017/12/000025-e1524421067770.jpg?debug=original, which will always deliver the original size of an image regardless of the device’s which requests it dimensions.
Let me know if I can help any further!
Cheers,
TakisForum: Plugins
In reply to: [Adaptive Images for WordPress] Images not scalingHello, my friend,
Indeed the Adaptive Images plugin is not yet completely configured in your website. Since you are using NginX, I suspect that the NginX code block is not in the correct place. If it were, then all the image requests should be routed to the Adaptive Images script inside the plugins directory.
I can tell this by checking image urls like this: https://ja.seoartgallery.com/wp-content/uploads/2018/06/0001234.jpg?debug=true. The “?debug=true” at the end of the url should produce a debugging text output and not the image itself!
So, do you have any ideas why the code block in NginX is not yet working correctly? Do you think you could contact your host or admin about this? NginX can be indeed a bit tricky in such cases, I’m afraid. and there is no uniform solution like the htaccess file in Apache.
Let me know how it goes!
Cheers,
TakisForum: Plugins
In reply to: [Adaptive Images for WordPress] empty cacheHello, my friend,
Under certain circumstances it can be normal that the cache folder is empty. The Adaptive Images plugins only creates the resized versions of images when it decides it is necessary, combining your settings, each device’s dimensions and each images dimensions. However, it would require a bit further debugging for us to be absolutely sure. Could you please perhaps share your website url with us and the full results of the Print debug and Print diagnostics buttons in the plugin settings page?
Also, another thing you should note is the way you are actually testing if your images are being handled correctly by the Adaptive Images plugin. We recommend either a service like http://webpagetest.org/, which can be set to run your website on real mobile devices, or by entering your browser’s Developer Tools in Responsive web design mode and inspecting the downloaded images from there.
Let me know how it goes!
Cheers,
TakisHello, my friend,
I believe this is a case that could be handled in a support ticket and not in a review. If you would like to post a support ticket in the plugin forum, so that we can take a look at your setup and see what could possibly have gone wrong.
Apart from that, the plugin has been thoroughly tested in Windows and especially in the XAMPP (and many other such) platforms and it is totally compatible with them.
Cheers,
TakisForum: Plugins
In reply to: [Adaptive Images for WordPress] Plugin dont workingHello, my friend,
The reason you do not see many images in your image cache is because the images are being generated only when they are requested and only if they are requested with a set of conditions that requires them to be scaled according to your plugin settings, the device dimensions, etc. So, this is perfectly natural.
Gtmetrix cannot detect whether our plugin resizes images or not because it only reads the HTML and CSS of your website. It does not actually run it in a real browser. Apart from that, the job that our plugin does is to resize images on the fly and transparently, so that the end device does not feel any difference other than the images being a lot smaller and lighter. Of course, as I said above, this only happens only when necessary as per your settings.
Now, could you please send me a screenshot of how you did your tests? Because, when I debug your images as an external user, they seem to be resized as expected. Did you try the methods I explained in my previous messages?
Cheers,
TakisForum: Plugins
In reply to: [Adaptive Images for WordPress] Adaptive Images with Amazon S3Hello, there,
This is a nice question, because, actually, offloading images to another domain actually makes it impossible for the Adaptive Images plugin to handle and, thus, resize them. So, it is virtually impossible to combine these two solutions. One needs to choose one of them, the one they think the most valuable.
Alternatively, I guess one could also utilise the image srcset attribute, in order to serve different versions of an image to different devices, but this would require meddling with the produced HTML code.
So, I guess that is that!
Let me know if I can help any further.
Cheers,
TakisForum: Plugins
In reply to: [Adaptive Images for WordPress] Plugin dont workingHello, my friend,
Perhaps it has something to do with your browser cache? Have you tried clearing your cache and perhaps making a hard refresh? Other than that, it really seems that the images are indeed being resized correctly. I tested in Firefox as well as in Chrome and it all works as expected.
Cheers,
TakisForum: Plugins
In reply to: [Adaptive Images for WordPress] Plugin dont workingHello, again,
Well, it seems that the Adaptive Images plugin is indeed working as expected! Take a look this debug url for instance https://bebetextil.com/wp-content/uploads/2019/02/edredon-para-cuna-con-protector-y-cojines-coleccion-leon-de924957.jpg?debug=true.
However, I do understand that sometimes this is a bit hard to detect with the naked eye, but this is how things are at this level. One more thing you can do is go into your browser’s Developer Tools and check that the resolution cookie of the plugin is being set correctly like this http://prntscr.com/na2jnj and then inspect an image to see its downloaded dimensions like this http://prntscr.com/na2ktj.
Let me know if I can help any further!
Cheers,
Takis