forum.coppermine-gallery.net

No Support => Feature requests => Topic started by: bsd43 on August 27, 2004, 03:18:00 pm

Title: Rotate wishlist
Post by: bsd43 on August 27, 2004, 03:18:00 pm
Hi there. Coppermine is great! A few requests, though:

- Can there be a rotate function without opening each picture individually and clicking Crop/Rotate, changing the pulldown, then hitting save on each picture? One possible way is to implement the pulldown in Edit Files, so I can rotate in bulk.
- Can Crop/Rotate show the normal-sized picture instead of the full-sized monster?
- Instead of -90, 180, +90, can it be "CW 90, 180, CCW 90"? Or "<- 90, 180, 90 ->"? Or something else? "-90" to me seems to mean "subtract 90 degrees", the opposite of what it does now.

Thanks a bunch!
Title: Re: Rotate wishlist
Post by: mstralka on August 27, 2004, 04:00:33 pm
- Can there be a rotate function without opening each picture individually and clicking Crop/Rotate, changing the pulldown, then hitting save on each picture? One possible way is to implement the pulldown in Edit Files, so I can rotate in bulk.

1st question: Someone is working on an auto-rotate mod that will rotate pictures automatically when they are uploaded.  That may help you.  Search the board for it.  As for bulk rotate of images already on the server, I like your idea of having it in the edit Pictures screen.  I'll take a look at this.
2nd question: This can probably be modded easily
3rd question: I like this too.  I'll look at it.
Title: Re: Rotate wishlist
Post by: mstralka on August 27, 2004, 06:51:54 pm
Solved question 3:
picEditor.php
FIND:
Code: [Select]
   <td>
      <select name="angle" class="listbox">
      <option value="0" selected>Rotate
      <option value="90">-90&#176;
      <option value="180">180&#176;
      <option value="270">+90&#176;
      </select>
   </td>
Replace with:
Code: [Select]
   <td>
      <select name="angle" class="listbox">
      <option value="0" selected>Rotate
      <option value="90">CW 90&#176;
      <option value="180">180&#176;
      <option value="270">CCW 90&#176;
      </select>
   </td>
Title: Re: Rotate wishlist
Post by: Joachim Müller on August 27, 2004, 09:47:23 pm
- Can Crop/Rotate show the normal-sized picture instead of the full-sized monster?
very good point. Should be changed in the core code imo.
One possible way is to implement the pulldown in Edit Files, so I can rotate in bulk
not a good idea - rotate already puts an enormous strain on the server resources, doing this for several files at once will surely make most webservers time out. Troubles with your webhosted for consuming too much resources are bound to be the result. I vote for keeping rotate limited to one pic, but I agree there could be an admin option in single file view to have the file rotated without the additional step to send it to the picEditor first (not sure though, needs looking into).

Joachim
Title: Re: Rotate wishlist
Post by: mstralka on August 27, 2004, 11:57:55 pm
MOD complete - see
http://forum.coppermine-gallery.net/index.php?topic=9399.0