What were you thinking? - Rotation

I just got your latest software (1.2.2) installed on my hosted service. I was impressed with how easily it installed and i like the basic layout.

Then I spent an hour uploading a thousand photos.

Now I find out, that there is no way to rotate them.

I mean, wtf guys?

Im a software developer and the first thing I'd do was make the image display. The next thing would be to have an option to rotate the image.

Its like you skipped a step, and then kept going to v1.2.2

Rotation is built into windows explorer! Why should that have a feature a photo presentation system doesnt?

The next thing i do is hunt for maybe a hidden way to do it. No luck.
So if there is a way, its so obscure that i cant find it.

Apparently you chose not to have rotation due to limitations of php 4.1?
What made you decide to continue forward lacking a critical feature?
Isnt 4.1 riddled with security holes now? I mean, currently, we are at 4.4.9 and 5.2.8.
All of my hosted services run php 5.

I am aware of the EXIF auto-rotation checkbox but that does nothing for photos created without orientation tags. Automation should always come after manual functionality.

But as to my request,
If you insist on staying in the dark ages, can you please make a php 4.3+ plugin that sits in the plugins tab to add rotation support? All I need is 90 degree right.

I really dont feel like deleting all my images and reinstalling and re-uploading, cause i dout all the thumbnails would update properly anyway.

You should change your name from Zen photo btw, because this all is very frustrating.

And remember guys, for every 1 person that voices their opinion, there are magnitudes more that feel the same way, but choose to look elsewhere instead.
Im just trying to make your software better. You have done a good job on the rest.

Comments

  • We appreciate your comments even if not your presentation of them. I am answering you for the benifit of other users, since certainly you have already made up your mind and cannot be confused by the facts.

    Perhpas you are not aware that we are not super heros. We use the tools we have available, in the case of image rotation, the GD library that (sometimes) comes with PHP. In this case the imagerotate function found in PHP version 4.3 or greater's bundled GD library. In your case it would appear that you do not have this function.

    Had you done any research on this topic you might have saved yourself the exposure to this group of your uncourtious nature. But then, who would expect someone like you to read, for instance, http://www.zenphoto.org/support/topic.php?id=3760. Had you researched the topic you might have realized that the problem is in your configuration of PHP.

    In the future, if you cannot bring yourself to be respectful of people who have volunteered their time to produce this software, please go puruchase something that better suits your needs and personality. You will find little sympathy and no help here with the attitude you present.
  • Kae Member
    If my system does not have all the requirements of your software, why didnt it throw an error when I was installing? Everything said 'OK' minus the mb_string = UTF8.

    My attitude was one in presenting my frustration. Not directed at anyone, just plain feeling like I wasted an hour with no warning.

    Since you are not superheros, here is some code to help.

    <?php
    $im = imagecreatefromjpeg("test.jpg");

    header("Content-type: image/jpg");
    imagejpeg(rotate_right90($im));

    imagedestroy($im);
    ?>

    '=================================

    <?php
    function rotate_right90($im)
    {
    $wid = imagesx($im);
    $hei = imagesy($im);
    $im2 = imagecreatetruecolor($hei,$wid);

    for($i = 0;$i < $wid; $i++)
    {
    for($j = 0;$j < $hei; $j++)
    {
    $ref = imagecolorat($im,$i,$j);
    imagesetpixel($im2,$hei - $j,$i,$ref);
    }
    }
    return $im2;
    }

    function rotate_left90($im)
    {
    $wid = imagesx($im);
    $hei = imagesy($im);
    $im2 = imagecreatetruecolor($hei,$wid);

    for($i = 0;$i < $wid; $i++)
    {
    for($j = 0;$j < $hei; $j++)
    {
    $ref = imagecolorat($im,$i,$j);
    imagesetpixel($im2,$j, $wid - $i,$ref);
    }
    }
    return $im2;
    }

    function mirror($im)
    {
    $wid = imagesx($im);
    $hei = imagesy($im);
    $im2 = imagecreatetruecolor($wid,$hei);

    for($i = 0;$i < $wid; $i++)
    {
    for($j = 0;$j < $hei; $j++)
    {
    $ref = imagecolorat($im,$i,$j);
    imagesetpixel($im2,$wid - $i,$j,$ref);
    }
    }
    return $im2;
    }

    function flip($im)
    {
    $wid = imagesx($im);
    $hei = imagesy($im);
    $im2 = imagecreatetruecolor($wid,$hei);

    for($i = 0;$i < $wid; $i++)
    {
    for($j = 0;$j < $hei; $j++)
    {
    $ref = imagecolorat($im,$i,$j);
    imagesetpixel($im2,$i,$hei - $j,$ref);
    }
    }
    return $im2;
    }
    ?>

    Simply test if the GD2 system is present or not. If it isnt, use these simple functions.

    I would like to see an update or plugin soon, as i still want to use your gallery and I cant bring mine to being live until all 15% of my pictures have the correct orientation.

    My apologies for being crass.
  • Kae Member
    function rotate_180($im)
    {
    $wid = imagesx($im);
    $hei = imagesy($im);
    $im2 = imagecreatetruecolor($wid,$hei);

    for($i = 0;$i < $wid; $i++)
    {
    for($j = 0;$j < $hei; $j++)
    {
    $ref = imagecolorat($im,$i,$j);
    imagesetpixel($im2,$wid - $i, $hei - $j,$ref);
    }
    }
    return $im2;
    }
  • Too bad your temper was not better contained. As I said in my post. You probably won't get answers to your questions from those you insult.
This discussion has been closed.