• Hi,

    the size of the product image was overridden. After de-installing the plugin the size was not restored to what was before. It also messed up the height of each image.

    https://shredmates.com/ all products have different heights…

    Where can I see and correct the image size? I want to align height and width?

    Nico

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Takis Bouyouris

    (@nevma)

    Hello, my friend,

    Taking a look at your website shows that the product thumbnails used in your homepage are originally not all of the same dimensions. Take a look here https://prntscr.com/erwhtl/. You can see that the first thumbnail is 400×300 pixels while the second one is 300×300. These two thumbnails are impossible to align vertically in the first place, because they have equal widths and different heights.

    Also, our plugin does not touch your actual images and makes absolutely no changes to them whatsoever, so it is practically impossible to have made any changes to them. What’s more, even when it resizes images, it resizes them evenly, keeping their aspect ratio intact, so, even if it were activated, the same result would be visible to our eyes as you see now.

    Are you quite sure that this is not the natural effect that your theme is using after all? Did this really happen after activating and deactivating the Adaptive Images plugin?

    (Forgive me for asking these questions, but your problem seems to not be related to the Adaptive Images plugin, as far I can tell.)

    Cheers,
    Takis

    Thread Starter shredmates

    (@shredmates)

    Hi Takis,

    thanks for the feedback.

    I know not all images have the same size. However, playing around with the display settings (woocommerce/settings/product/display) I could find sizes which made them look almost equal in height – only a few images were 1-2mm longer. After activating the plugin all thumbnails have been resized, they look much smaller now. De-install did not change anything, they are still smaller than before. Further, nothings happens when I change display settings now.

    Actually, I have de-installed because no images are shown when the plugin is active!
    Take a look here: https://prnt.sc/erxne7
    I have installed again to show you how it looks like when plugin is activated

    BR,
    Nico

    Plugin Author Takis Bouyouris

    (@nevma)

    Hello, Nico,

    This is weird! I see in your screenshot that not all your images are broken when the plugin is active. However, the plugin treats all images equally. They should either all be showing or all be broken.

    Have you any ideas why might that be? Could it be some caching issue? Can you make sure you are making “force refresh” requests each time you test?

    Also, if it is not too much trouble for you, I would really appreciate it if you could do the following three debugging steps for me (having the plugin active):

    1. Send me the Print debug button output in the plugin settings page.
    2. Send me the Print diagnostics button output in the plugin settings page
    3. Access an image directly in your browser, adding ?debug=true at the end of its url like this: https://shredmates.com/wp-content/uploads/2016/11/URU-caviar-black-400×300.jpg?debug=true and tell me what the result is.

    I know it’s a fuss, but it is the only way I can debug the plugin without having actual access to it.

    Cheers,
    Takis

    Thread Starter shredmates

    (@shredmates)

    Hi again,

    it pops up the following – Image cannot be loaded. Make sure the path is correct and image exist.

    Print debug&Print diagnostics here: https://pastebin.com/wp78fRMW

    Cheers,
    Nico

    Plugin Author Takis Bouyouris

    (@nevma)

    Hello, Nico,

    Thank you so much for the comprehensive info. All your settings and debug messages seem correct. I cannot find anything out of the ordinary there.

    The only thing that strikes me as unusual is the message “Image cannot be loaded. Make sure the path is correct and image exist”. This is not one of the messages our plugin produces. I am guessing that perhaps our plugin does not manage to actually setup the htaccess file correctly. If I haven’t exhausted your patience yet, then I would like to ask you to send me the contents of your htaccess file with the plugin activated.

    Along with that, is there anything that you might report as uncommon about your setup? Something to do with the way your server handles htaccess files? Are you perhaps using some particular LAMP stack, like Bitnami’s? Anything?

    Cheers,
    Takis

    Thread Starter shredmates

    (@shredmates)

    Hi Takis,

    I cannot share with you the content for htaccess file for security reasons.

    Well, the issue should be in the way the image path is modified by the plugin.

    I do not have any uncommon setup, as far as I am aware… Further, nothing like LAMP stack, Bitnami’s oe similar.

    If you tell me where to look and how to check the path and image sizes which are forced by plugin and overridden directly into the htaccess file, then I guess I would be able to fix by myself.

    BR,
    Nico

    Plugin Author Takis Bouyouris

    (@nevma)

    Hello, Nico,

    Actually I do not need to see the whole of your htaccess file. I only need to see the Adaptive Images part. If you would like to check it out yourself, you should see a block like this one:

    <IfModule mod_rewrite.c>
    
        RewriteEngine On
    
        # Watched directories
        RewriteCond %{REQUEST_URI} /wp-content/uploads [OR]
        RewriteCond %{REQUEST_URI} /wp-content/themes
    
        # Redirect images through the adaptive images script
        RewriteRule \.(?:jpe?g|gif|png)$ /wp-content/plugins/adaptive-images/adaptive-images-script.php [L]
    
    </IfModule>

    What I would like you to check is if the RewriteRule is the same as the above or different.

    Cheers,
    Takis

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘products height messed up’ is closed to new replies.