Viewing 15 posts - 1 through 15 (of 17 total)
  • Author
    Posts
  • #24090
    Profile photo of Andre
    Andre
    Participant

    Looks like a bug to me.

    I have cropped some of my images to a square format. After importing all images the square ones are showing correctly but the offered image dimensions when choosing a license don’t reflect the square size. They actually show the dimensions before it was cropped.

    #24091
    Profile photo of Robin
    Robin
    Keymaster

    The dimensions are read precisely when the image is loaded into Symbiostock. If you manually alter the source image after that, the resolution will not be re-read. This is to reduce the load times your web-page suffers as doing a resolution check on every image every time would create extra overhead, especially with lots of visitors.

    So, if you cropped the source files after they were imported, this is the normal behavior. The best way to get the new resolutions into the database would be to add all of the changed images as replacements in the /new directory. Alternatively, you can manually go into your database and delete all the post meta fields where the title is ‘ss_media_width’ and ‘ss_media_height’. Once those are all deleted, Symbiostock should automatically force a re-read of the resolutions.

    The mysql command would be something like:

    delete from wp_postmeta where meta_key = ‘ss_media_width

    Mind you, Symbiostock is supposed to re-read the resolution. I recommend you run this command on only one image first, make sure when you view it the new resolution shows, then proceed with the rest.

    To only do one:

    delete from wp_postmeta where meta_key = ‘ss_media_width‘ and post_id = ‘23232’

    where 23232 is the product ID you see in the Symbiostock tab.

    Finally, doing any database changes like this is at your own risk – the safest way is to rename all your changed files appropriately and put them in the new directory so they replace their respective images.

    #24092
    Profile photo of Andre
    Andre
    Participant

    No no, I didn’t crop anything after import.

    However, what I just noticed is that many square images are displayed even though they definitely aren’t cropped to square format. It actually looks kind of random. That might be the actual issue.

    I thought I’ve cropped them but I probably didn’t. But they’re still displayed in a square format. Or could this maybe have anything to do with the import process still running?

    #24093
    Profile photo of Robin
    Robin
    Keymaster

    When you say display, if you mean the front-end, then the theme may be resizing how they show up for customers. Do a test download, or download the file directly from your product edit page to confirm or deny if the listed resolution is the same or not.

    I’ve not encountered one instance where the listed resolution is different to the original image in normal situations.

    #24094
    Profile photo of Robin
    Robin
    Keymaster

    Another thing to check is the WooCommerce settings – under product display, it is possible you have the ‘crop’ checkbox activated which changes how they show up for customers.

    #24098
    Profile photo of Andre
    Andre
    Participant

    Another thing to check is the WooCommerce settings – under product display, it is possible you have the ‘crop’ checkbox activated which changes how they show up for customers.

    There is no “crop checkbox” under WooCommerce – Settings – Product – Display.

    #24099
    Profile photo of Andre
    Andre
    Participant

    When you say display, if you mean the front-end, then the theme may be resizing how they show up for customers. Do a test download, or download the file directly from your product edit page to confirm or deny if the listed resolution is the same or not.

    I’ve not encountered one instance where the listed resolution is different to the original image in normal situations.

    The image display is the same in frontend and backend. Both square at these random images. I don’t think the theme has anything to do with it because other image files are displayed correctly.

    When I download the square image file from the backend editor, it will download a “download.jpg.html” which of course is useless and unreadable. After locally renaming the file to “download.jpg” it becomes usable and the dimensions are actually correct (in this case 4896×3264 px).

     

    #24100
    Profile photo of Andre
    Andre
    Participant

    Just to be sure I toggled the theme to the original WordPress “Twenty Fifteen”. Same issue with some images being displayed square.

    #24101
    Profile photo of Robin
    Robin
    Keymaster

    When I download the square image file from the backend editor, it will download a “download.jpg.html”

    I’ve never encountered that. If someone else also experiences this, let me know. Let me know what browser you are using as well.

    There is no “crop checkbox” under WooCommerce – Settings – Product – Display.”

    There is a ‘Hard Crop’ checkbox under that setting. Check again.

    #24102
    Profile photo of Robin
    Robin
    Keymaster

    Also, all this means is that WordPress/WooCommerce is resizing your thumbnails for display. This is not related to Symbiostock since the original file matches the resolution. Your WooCommerce/WordPress settings control the thumbnails that appear within WordPress – Symbiostock just watermarks them.

    #24103
    Profile photo of Andre
    Andre
    Participant

    Call me crazy but there’s another thing I’m noticing. While there were only a few “square” images when I noticed this issue, I think that number is growing. It seems to me like there are now around 50% of all images square.

    Is it possible that for some reason images are still getting “re-processed” by the cron job and then show up square?

    #24104
    Profile photo of Andre
    Andre
    Participant

    “<span style=”color: #272727; font-family: ‘Open Sans’, sans-serif; font-size: 14px; line-height: 28.7999992370605px; background-color: #fbfbfb;”>When I download the square image file from the backend editor, it will download a “download.jpg.html”</span> I’ve never encountered that. If someone else also experiences this, let me know. Let me know what browser you are using as well. “<span style=”color: #272727; font-family: ‘Open Sans’, sans-serif; font-size: 14px; line-height: 28.7999992370605px;”>There is no “crop checkbox” under WooCommerce – Settings – Product – Display.”</span> There is a ‘Hard Crop’ checkbox under that setting. Check again.

    I swear there is none. See screenshot.

    #24105
    Profile photo of Andre
    Andre
    Participant

    Yes, the number of square images is definitely growing. I think right now they’re more than 80%.

    #24107
    Profile photo of Robin
    Robin
    Keymaster

    I have no idea why it isn’t showing on your end. I have no recommendation in that regard since it is 100% a WooCommerce issue. As I said, Symbiostock does not do anything with thumbnails or thumbnail sizes. All it does is give WordPress the watermarked image, and WordPress does what it does in order to thumbnail. If you want, send me your login info via PM and I can briefly look about to see if I notice something weird. Symbiostock does initiate the re-creation of the thumbnails when the watermark is changed, or if the thumbnail size is changed.

    #24108
    Profile photo of Andre
    Andre
    Participant

    Thanks for the support. I’m sending admin user credentials to your PM inbox.

Viewing 15 posts - 1 through 15 (of 17 total)

You must be logged in to reply to this topic.