Rotate wishlist Rotate wishlist
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Rotate wishlist

Started by bsd43, August 27, 2004, 03:18:00 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

bsd43

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!

mstralka

Quote from: bsd43 on August 27, 2004, 03:18:00 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.
GO IRISH

mstralka

Solved question 3:
picEditor.php
FIND:

   <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:

   <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>
GO IRISH

Joachim Müller

Quote from: bsd43 on August 27, 2004, 03:18:00 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.
Quote from: bsd43 on August 27, 2004, 03:18:00 PMOne 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

mstralka

GO IRISH