Support » Plugin: Crop-Thumbnails » Featured image not reflecting the cropped version

  • Resolved frogdesk

    (@frogdesk)


    Hi there! Love the functionality of your plugin, but it’s not working in my theme, I still see the uncropped version. In my theme I use

    <?php echo (($feat_image[0]))?>

    to get the URL of the featured image. I have also tried

    <?php echo get_the_post_thumbnail_url(null,'full'); ?>

    Which produces the same output. Should I be using something else?

    I have already tried hard refreshing the page and the image itself.

    Thank you very much

    • This topic was modified 1 month, 3 weeks ago by  frogdesk.
    • This topic was modified 1 month, 3 weeks ago by  frogdesk.
Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Volkmar Kantor

    (@volkmar-kantor)

    you have to use get_the_post_thumbnail_url – but not with “full”. The image-size “full” is not a cropped image size. Any other image size that is visible in the crop-thumbnails-editor-dialog will be possible.

    For example the “thumbnail” size.

    Tried using ‘medium’, still no dice.

    Plugin Author Volkmar Kantor

    (@volkmar-kantor)

    Do you want to kidding me? Is the “medium” size available in the in the crop-thumbnails-editor-dialog? No, its not – cause its also no cropped image size.

    The plugin can be used to adjust the cropped image sizes of your theme – not the regular sizes. “full”, “large” and “medium” are regular image size. What image sizes are cropped depends on your theme and the installed plugins. You may add a new cropped Image-size with add_image_size.

    Per default the “thumbnail” image-size is always cropped.

    Sorry, but I have no idea what “crop-thumbnails-editor-dialog” is and Google yields no results (literally not even one).

    Using the “thumbnail” image size for the featured image doesn’t make much sense to me. The featured image is a huge, big image. Thumbnails are tiny.

    Plugin Author Volkmar Kantor

    (@volkmar-kantor)

    Ok, but you used the crop functionality once didnt you? So the crop-thumbnails-editor-dialog is the dialog where you cropped your images.

    Ah ok, awesome. So in order for a theme to support using this plugin to modify the featured image, it must add its own custom image size and use that for the featured image.

    I think it would be helpful if you added this information to the main plugin page (or maybe it’s there but I didn’t understand how it was worded).

    Thanks a bunch for your quick replies, and for the plugin. Appreciate it 🙂

Viewing 6 replies - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.