Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Rotate wishlist  (Read 3055 times)

0 Members and 1 Guest are viewing this topic.

bsd43

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
Rotate wishlist
« 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!
Logged

mstralka

  • VIP
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 178
Re: Rotate wishlist
« Reply #1 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.
Logged
GO IRISH

mstralka

  • VIP
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 178
Re: Rotate wishlist
« Reply #2 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>
Logged
GO IRISH

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47844
  • aka "GauGau"
    • gaugau.de
Re: Rotate wishlist
« Reply #3 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
Logged

mstralka

  • VIP
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 178
Re: Rotate wishlist
« Reply #4 on: August 27, 2004, 11:57:55 pm »

Logged
GO IRISH
Pages: [1]   Go Up
 

Page created in 0.024 seconds with 20 queries.