Support » Plugin: BuddyPress Activity Plus » Vertical Images sideways

Viewing 10 replies - 1 through 10 (of 10 total)
  • Hi there Kim,

    Greetings and thanks for posting!

    The plugin does contain code to read exif data and provide the proper orientation. Could you check that your server allows that?

    You could try the following, either adding to your theme’s functions.php file or through Code Snippets:

    function my_admin_notice() {
        ?>
        <div class="exif-read-check">
            <p><?php if ( !function_exists('exif_read_data') ) echo "Function exif_read_data unavailable."; ?></p>
        </div>
        <?php
    }
    add_action( 'admin_notices', 'my_admin_notice' );

    If your server doesn’t have the necessary exif_read_data function available, that code will display a message indicating that, at the top of your dashboard area.

    Could you let me know how that works for you?

    Thanks,
    David

    Thread Starter TWYH

    (@twyh)

    Our server does allow the function.

    Check out the activity here…both images are from an iphone5. When you click on the cake, it’s sideways. When you click on the beer tap it’s vertical. Only difference I see right off the bat with these 2 images is the size:
    http://devwork.thinkwithyourheart.com/activity/
    You have to login to see this. Use username: wordpress password: abcd1234

    Seems like a BP Activity Plus lightbox issue.
    K

    Hi there @twyh,

    Thanks for providing that link/access. I was able to see the issue. Oddly, it’s just the thickbox that’s not rotated properly.

    If you view the image’s url, you’ll see it’s rotated. But I also see the image appropriately rotated in the activity stream.

    Could you please verify that you’re at least able to see those same images rotated properly and it’s only the thickbox image that’s not?

    Also, could you please let me know how you uploaded the image (device and/or operating system)?

    Thanks,
    David

    Thread Starter TWYH

    (@twyh)

    Hi David-

    I do see that it is only the thickbox that is rotated incorrectly. I see exactly what you see. My operating system is osx 10.9.3 and the image came from my desktop. I have other people on my live site having the issue and am not sure what they use.

    What is our next step?

    Kim

    Plugin Support Predrag – WPMU DEV Support

    (@wpmudev-support1)

    Hi Kim,

    I tried to access the page http://devwork.thinkwithyourheart.com/activity/ but it’s displaying the following message.

    Issues Resolved
    I am happy to report that the tech issues are now resolved, which means the latest blog post is restored and customer service/admin/tech support will resume as normal. If you have been waiting for email assistance, Lu or Jane will be with you shortly. ♡

    This content is protected for paid-level Membership Only.

    Could you please make it accessible so that i can test it?

    Regards,
    WPMU DEV

    Thread Starter TWYH

    (@twyh)

    You will have to login. I created a login for you:

    WPadmin
    XebreBa6

    Thanks

    Thread Starter TWYH

    (@twyh)

    in particular click on this image it will show you the issue:
    http://devwork.thinkwithyourheart.com/members/lu/activity/21604/

    Hi there @twyh,

    Thanks for that, I took a closer look into it and downloaded and ran the original image through an exif reader and found that it’s supposed to be rotated 90 degrees counter clockwise.

    You can see that by downloading the image and running it through here:
    http://metapicz.com/#landing

    It seems to me the plugin is actually doing as it should be with that image.

    Could you please confirm that’s correct?

    Thanks,
    David

    Thread Starter TWYH

    (@twyh)

    yes i do see what you see. So is this to do then with the device being used? SO this was taken with an iPhone so is it the iPhone that handles the orientation?

    thanks again for the clarity!
    Kim

    Hi @kim,

    Yes, the orientation would depend on the device creating/writing the image. You should be able to test that by taking horizontal and vertical photos with your phone then uploading them to see how that works.

    Hope that helped to sort it. Just let us know if you notice anything odd with it. We’ll have a look! 🙂

    Cheers,
    David

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Vertical Images sideways’ is closed to new replies.