• Resolved Claude Vedovini

    (@cvedovini)


    Hi,

    I defined new custom sizes and checked the “Show in post insertion ?” option but those new sizes don’t show up in the dropdown for image size when I insert an image in a post.

    Also, it seems that regenerating the thumbnails from the media options page or the media collection does not work. It looks like it’s starting but never does anything else and never complete.

    Any advice?
    Using WP 3.8.1 and version 2.4.3 of the plugin.

    https://wordpress.org/plugins/simple-image-sizes/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Nicolas Juen

    (@rahe)

    Hi,

    The image size is displayed only if the size is available for this medias, is your media big enough to be resized ?
    Check there is no notices on your website, maybe the XHR call contains an error then the json cannot be parsed and not going to the next step.

    Thread Starter Claude Vedovini

    (@cvedovini)

    medias are big enough but I see it’s working with new uploaded medias, not old ones (before I activate the plugin) so it may come from the fact that the version of those images has not actually been created yet, thus it means I need to get the “regenerate” function to work.

    there are no js error when a launch the regenerate function, the script stops at “Regenerating 1 of 24…”, displays “End time calculated : Calculating…” below the progress bar and stay stuck there with the bar at 0%

    Plugin Author Nicolas Juen

    (@rahe)

    For the old images this is normal, you have to regenerate the sizes.

    For the second script it seems that the response of the server is corrupted with some data, you have to check the xhr response made by the script.
    Try to deactivate all the other plugins and change to a default theme, then activate only this plugin. If it’s working then this is not my plugin 😉

    Thread Starter Claude Vedovini

    (@cvedovini)

    ok, so I de-activated all other plugins and I got that in the XHR response:

    <b>Warning</b>: set_time_limit() has been disabled for security reasons in <b>/home/www/xxxxxx/web/wp-content/plugins/simple-image-sizes/inc/class.admin.php</b> on line <b>529</b>

    Plugin Author Nicolas Juen

    (@rahe)

    Ok..
    Just replace set_time_limit( 60 ); by @set_time_limit( 60 ); .
    I will add this for the next release, thank you !

    Thread Starter Claude Vedovini

    (@cvedovini)

    ok, thanks

    Plugin Author Nicolas Juen

    (@rahe)

    Closing this 🙂

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘custom size not an option when inserting image into post’ is closed to new replies.