Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hello,

    I am Also experiencing this bug. My affected page : https://www.worldsocialscience.org/resources/event-calendar/

    Is there anywhere we can see the raw data coming back from the API call to get a better idea of what’s going wrong?

    Thank you for your time and help !

    Robin

    Thread Starter Madlandproject

    (@madlandproject)

    Hello,

    Thank you for your reply.

    Yes I am using the standard WP AJAX method :
    $.post(ajaxurl, {action: ‘get_products’, …});

    The global ajaxurl var created by WordPress references /wp-admin/admin-ajax.php

    A simple die/var_dump show that DOING_AJAX is set to true inside of set_language()

    My default language is set to French.

    Thanks again for your time.

    Thread Starter Madlandproject

    (@madlandproject)

    Your thumbnail is going to be the same size no matter how large the original image is. A 505×500 image would have, say, an 80×80 thumbnail. If you scale the original to 300×300, you’d still have an 80×80 thumbnail. Why would it regenerate? What would be the point? In other words, those thumbnails aren’t generated proportionally to the original image size.

    Good point. The problem was I was using the full size URL as a base for thumbnail URLs in a Javascript file. Definitely not best practice, I know so I’ve update the script : Instead I’m using a HTML data attribute to pass the thumbnail url

    You won’t multiply files. You will just change the sizes. Files already present will remain, of course.

    I now have added two image sizes for my gallery, seeing as I want to keep Medium and Large for future use in content. The size of multiple files shouldn’t be a problem, the site has decent hosting, and that is the easiest part of the equation to solve when the problem does arise.

    I don’t think I have ever had to explain the media management to anyone.

    I wish I had your clients ?? I’ve had to explain to a client’s specifically trained “Webmaster” that you can’t drag and drop files on to a burned CD like a USB drive (the client then proceeded to buy Adobe Flex Builder so they could maintain the app we built for them…)

    Thread Starter Madlandproject

    (@madlandproject)

    Hi Scott

    Either my client has to run it after scaling every photo, or run it once after uploading several (which means checking the box next to each photo in the media manager) or regenerating all thumbnails (which means potentially uselessly reprocessing hundreds of files in the future). As I mentioned, he isn’t very tech orientated person and the less steps involved, the better.

    I have decided to go with registering additional image sizes. It looks like multiple files is going to be a simpler problem to fix, and it’s not a problem that will arise soon.

Viewing 4 replies - 1 through 4 (of 4 total)