Advanced search  

News:

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

Pages: [1]   Go Down

Author Topic: Easy Rotate Plugin  (Read 6231 times)

0 Members and 1 Guest are viewing this topic.

hoeksma

  • Contributor
  • Coppermine newbie
  • ***
  • Offline Offline
  • Posts: 4
Easy Rotate Plugin
« on: March 06, 2011, 06:21:09 pm »

All,

Because I allways upload my photo's in bulk and afterwards rotate or delete them I developed a plugin to speed up this task.

The plugin adds 3 buttons (delete,+90 and -90) to the filmstrip view. These buttons will enable you to delete your photo's (with or without confirmation) and also rotate you photo's. All generated photo (thumb,Normal) are also recreated. I also added a option to hide the standard delete function. Because almost all browser cache images I and added a caching overwrite option (adding changetime to images url) so after rotate the correct photo is shown.

Hope you like my work.

Sierk

Update by Veronica
File Attached.
« Last Edit: September 27, 2012, 11:43:44 am by Αndré »
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15369
Re: Easy Rotate Plugin
« Reply #1 on: March 07, 2011, 11:44:42 am »

Thanks for your contribution.
Logged

Veronica

  • Contributor
  • Coppermine frequent poster
  • ***
  • Country: se
  • Offline Offline
  • Posts: 106
  • Coppermine 1.5.22
Re: Easy Rotate Plugin
« Reply #2 on: September 22, 2012, 03:39:42 pm »

I found this plugin very useful but the plugin did not work as expected because of a bug so I have now fixed the bug.

The angles specified were +90 degrees and -90 degress and they were mixed up so I changed signs.
After that I found that the -90 degrees were not supported by the php function imagerotate and a 100% black image was the result
Quote
Rotation angle, in degrees. The rotation angle is interpreted as the number of degrees to rotate the image anticlockwise.

After fixing those two bugs now the  Easy Rotate Plugin is working OK for me.

Can I edit the source and fix some additional rules for Coppermine plugins rename it to version 1.1 and upload the zip file?
Logged

Jeff Bailey

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1323
  • Fishing relaxes me.
    • Bailey Family Co.
Re: Easy Rotate Plugin
« Reply #3 on: September 22, 2012, 04:03:13 pm »

Yes just attach it to your post and someone will update the plugins announcement. Thank you for your contributions.
Logged
Thinking is the hardest work there is, which is probably the reason why so few engage in it. - Henry Ford

Veronica

  • Contributor
  • Coppermine frequent poster
  • ***
  • Country: se
  • Offline Offline
  • Posts: 106
  • Coppermine 1.5.22
Re: Easy Rotate Plugin
« Reply #4 on: September 22, 2012, 05:02:02 pm »

Thanks, here is the new zip file
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15369
Re: Easy Rotate Plugin
« Reply #5 on: September 27, 2012, 11:44:53 am »

I just updated the new plugin package Jeff already attached to the initial post, as it contained a folder level too much.
Logged
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 21 queries.