Support » Plugin: Crop-Thumbnails » "Crop Thumbnails" link gone missing.

  • Resolved Crest Web Services


    Had your plugin working great on castrotalent(dot)com a few weeks ago.
    Not sure what made the link disappear. There are no errors being thrown on the site and I don’t have any new plugins or anything new installed other than updating WordPress to the latest version.

    Uninstalled and re-installed/activated the plugin. Still no link.
    I even tried it by itself on a testing site I have up which is running plain wordpress with nothing installed.
    Still have no link on the edit pages to crop thumbnails.

    Could be a server issue?
    Is this a problem for anyone else?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Volkmar Kantor


    this should be a javascript error. As far as i remember all “crop thumbnail” links are rendered via javascript. There 3 places where the link/button is rendered:
    * beside the “add media button” in the edit-view
    * in the “post thumbnail” box in the edit-view
    * in the listing of media files under “media”

    If it’s not a javascript error (you may have a look on the development console of firefox or chrome) you may check if the thumbnail feature is available for your theme.

    So, did you got any javascript errors?

    Plugin Author Volkmar Kantor


    The Javascript-Code for this is rendered in the “functions/editor.php” in function “cptAddLinksToAdmin”, arround line 500.

    is there any way to get it into the “edit image” view too – we have a custom field setup that enables people to select images using ACF.

    The media section, featured images and add media buttons aren’t used at all


    Plugin Author Volkmar Kantor


    Hi zandercent,
    i recommend to add the links via javascript. The plugin itself do it the same way (you may have a look at “crop-thumbnails/functions/editor.php” starting from line 498).

    What you need:

    • a activated thickbox (you may need to enqueue thickbox on the edit-image-page)
    • the id of the image

    <a class="thickbox" href="[ADMIN-PATH]/admin-ajax.php?action=croppostthumb_ajax&image_id=[IMAGE-ID]&viewmode=single&TB_iframe=1&width=800&height=855" title="Crop Thumbnail">Crop Thumbnail</a>

    Add the link to any point of the page. Once you clicked the link, the image should be opened.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘"Crop Thumbnails" link gone missing.’ is closed to new replies.