• Resolved Voveky

    (@voveky)


    When assigning images in the “Detail Image” the wrong image is displayed if there are more than one image uploaded with the same name.

    Steps to reproduce:
    Take a picture with your iPhone.
    Crop a couple areas of the same picture and upload them using the WordPress app.
    Assign those images as the Detail Image.

    Only the first one is displayed.

    I’m evaluating this to purchase for a few sites but this bug is a deal-breaker as most of our images are uploaded for tutorials following this workflow.

    https://www.ads-software.com/plugins/draw-attention/

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

    (@tylerdigital)

    Hi there, thanks for the detailed steps to reproduce. When I tried I didn’t get the problem you describe, which version of the WP iOS app and which version of WordPress is your site running? How did you do the image editing?

    Mine uploaded into the media library as separate items (WordPress puts a number at the end of the filename for duplicates). If you send us an admin login to your site (to [email protected]) we’re happy to log in and take a closer look!

    Thread Starter Voveky

    (@voveky)

    WP App v5.5 on iPhone 6 running iOS 8.4.1.

    Take picture with built in camera app.
    View and edit picture with built in iOS Photos app using crop function to crop.
    Upload cropped image using WP app.
    View and edit picture again using Photos app, revert picture to original size, crop again to another area of image.
    Upload re-cropped image using WP app.
    Rinse and repeat once more for a total of 3 uploaded images.

    Mine as well uploads and appends and increments a number to duplicate file-names.

    I can’t give you an admin login so if this isn’t enough information to reproduce, I can try to find the bug myself and feed back the fix.

    Plugin Author TylerDigital

    (@tylerdigital)

    Hi Voveky, thanks for all the info. I’ve been testing this, but when I publish, it adds the number to the duplicate filenames (sounds like it does the same for you). The difference is that mine seems to be recognized as separate images.

    Draw Attention just uses the media library to get the image, so it seems like an odd bug since we’re not doing anything clever or outside-the-box with media. The only thing I can think of is for you to try adding this to your theme’s functions.php:

    add_filter( ‘da_detail_image_size’, ‘my_da_detail_image_size’, 10, 4 );
    function my_da_detail_image_size( $size, $hotspot, $img_post, $settings ) {
    return ‘full’;
    }

    Realistically that shouldn’t fix it, but it’s the only I can think of where we’re adjusting the detail image or tweaking default media settings.

    Let me know if you’re able to test that out. And of course if you find any bug fixes we’d really appreciate them!

    Thanks,
    Nathan

    Plugin Author Natalie MacLees

    (@nataliemac)

    Hi Voveky-

    I followed the steps you outlined above on my own iPhone, but everything seemed to work just fine for me and I didn’t have any issues with the same image being used repeatedly for the Detail Image. Are you able to see the three images you’ve uploaded as three separate files in the Media Library?

    Does the same image appear for each hotspot in the admin when you’re editing the Draw Attention image? Or is it only when you view the image on the front end of the site that all the detail images are the same?

    Plugin Author croixhaug

    (@croixhaug)

    Hi there, we’re going to mark this resolved, but please let us know if you still see the issue or find a fix & we’ll get the plugin updated ??

    Thread Starter Voveky

    (@voveky)

    I’m between two projects and haven’t gotten a chance to verify yet. Yes, mark resolved for now. I duplicated my WordPress instance, deleted all media and re-added them in the same way but couldn’t reproduce the problem either. I’ll have to do more investigation when I have time. Very odd bug indeed but I’ll let you know what I find.

    Plugin Author TylerDigital

    (@tylerdigital)

    Sounds good, thanks!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Wrong pictures displayed’ is closed to new replies.