WordPress.org

Forums

Get the Image
[resolved] After Lasted update my images are not appearing (15 posts)

  1. justinfitllc
    Member
    Posted 9 months ago #

    I just update the plugin and now the images on my footer are not appearing.

    Only a ? mark where the image would be. Please help!

    http://www.JustinFit.com

    Thanks!!

    https://wordpress.org/plugins/get-the-image/

  2. websanity
    Member
    Posted 9 months ago #

    Same here. Interestingly also using u-Design theme.

    http://www.ecologylink.com/

    U Design Recent posts widget - thumbnails are returning
    "http://www.ecologylink.com/image_not_specified"
    So no image displayed!
    (turned off on live to remove this problem)

  3. justinfitllc
    Member
    Posted 9 months ago #

    websanity,

    I am also using the U Design template. Same exact issue.

  4. websanity
    Member
    Posted 9 months ago #

    The call to
    $x=get_the_image()
    returns a good $x['src'] value
    but $x['url'] is ''
    which then leads u-Design to say image not specified.
    Hope that helps the developer possibly???

  5. justinfitllc
    Member
    Posted 9 months ago #

    I am sure this will get fixed being that Get the Image is a recommended plugin for U-design which is one of the most popular wordpress templates.

  6. Justin Tadlock

    Plugin Author

    Posted 9 months ago #

    If someone would provide the download link to the U-Design theme, I'd be more than happy to look into it. Most likely, the theme was calling something incorrectly or was using deprecated functionality that got removed in this version.

  7. websanity
    Member
    Posted 9 months ago #

    Ugg. It's a paid for theme, so can't give a download link :-(

    I don't know if it's obvious but this is the chunk of code that is failing (generating a thumbnail)

    if ( function_exists('get_the_image') ) {
    if ( $udesign_options['default_thumb_on'] == 'yes' ) { // Default thumbnail option is selected
    $the_thumb_html_as_array = get_the_image( array(
    'meta_key' => array('post_thumbnail','thumbnail'),
    'format' => 'array',
    'size' => 'full',
    'default_image' => $default_thumb,
    'link_to_post' => false,
    'image_scan' => true,
    'width' => $post_thumb_width,
    'height' => $post_thumb_height,
    'cache' => false,
    'echo' => false,
    ) );
    } else { // Default thumbnail option is NOT selected
    $the_thumb_html_as_array = get_the_image( array(
    'meta_key' => array('post_thumbnail','thumbnail'),
    'format' => 'array',
    'size' => 'full',
    'default_image' => false,
    'link_to_post' => false,
    'image_scan' => true,
    'width' => $post_thumb_width,
    'height' => $post_thumb_height,
    'cache' => false,
    'echo' => false,
    ) );
    }
    echo ( $the_thumb_html_as_array['src'] ) ? '<div class="small-custom-frame-wrapper alignleft'.$shadow_class.'"><div class="custom-frame-inner-wrapper"><div class="custom-frame-padding"><img src="'.udesign_process_image( $the_thumb_html_as_array['url'], $post_thumb_width, $post_thumb_height, true, '', false ).'" width="'.$post_thumb_width.'" height="'.$post_thumb_height.'" alt="'.$the_thumb_html_as_array['alt'].'" /></div></div></div>' : '';

    any help??? I can grab some sample parameters values that are being passed across if you need to see what it is actually pushing across to you?

  8. Chris Barrett
    Member
    Posted 9 months ago #

    Regarding the U-Design theme distributed through ThemeForest, there is a fix already developed and awaiting approval by ThemeForest. It has been in the queue at ThemeForest for about three hours, so hopefully it won't take much longer. Once released, you'll be able to download the fix through your ThemeForest account as per normal.

    Cheers!
    Chris

  9. websanity
    Member
    Posted 9 months ago #

    Cool, thanks Chris for your speedy resolution.

    Have a good rest of the day,
    Gerald

  10. Justin Tadlock

    Plugin Author

    Posted 9 months ago #

    "Paid" doesn't mean that you can't share the theme, unless there's some restrictions the theme author has placed about sharing the theme files. In which case, I'd consider this matter closed because I won't work with theme authors who don't abide by the license WordPress is released under (the GPL). More than likely, the theme is under the GPL, and you can share the files.

    You can email me a copy of the theme directly if need be. Or, have the theme author get in touch with me or provide me with his or her contact info.

    Edit: Looks like there's a fix for the theme now. :)

  11. websanity
    Member
    Posted 9 months ago #

    You're right: I was being paranoid and could have shared the code with you! Sorry - thanks for pointing that out.

    But hopefully all good now!

  12. Justin Tadlock

    Plugin Author

    Posted 9 months ago #

    I made a separate topic that I stickied to this plugin's forum that addresses this issue:
    http://wordpress.org/support/topic/images-disappeared-after-upgrading-to-version-100

  13. websanity
    Member
    Posted 9 months ago #

    I feel for your frustration! I think we can mark this thread as resolved now?

  14. mcgee.joshua
    Member
    Posted 8 months ago #

    I simply rolled the install back to an earlier version for a quick fix.

    https://github.com/justintadlock/get-the-image/releases

    You'll want to download the 0.9.0 version.

  15. aaurel1an
    Member
    Posted 2 months ago #

    For U-Design theme is simple.

    Go into /scripts/ folder

    open post-thumbnails.php

    search for $the_thumb_html_as_array[url]

    replace with $the_thumb_html_as_array[src]

Reply

You must log in to post.

About this Plugin

  • Get the Image
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.