Advanced search  

News:

cpg1.5.30 maintenance release - upgrade recommended
The Coppermine development team is releasing an update for Coppermine in order to fix several minor issues. All fixes are not security critical, so if your gallery is running fine with cpg1.5.28 you don't need to upgrade. If you are running an older version than cpg1.5.28, you must update to this latest version as soon as possible because of the security impact!
[more]

Pages: [1]   Go Down

Author Topic: Download Resized plugin for cpg1.5.x (resize img to user defined values)  (Read 2294 times)

0 Members and 1 Guest are viewing this topic.

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 13619

This is the cpg1.5.x port of the "Download Resized" plugin by Stramm:

Plugin Download Resized

What it does:
above the intermediate image a dropdown gets added. The user can select a new image resolution and the plugin will start to resize the fullsized image to the new size. When done, it displays the new resolution instead of the intermediate image and offers a download link for that pic below the dropdown.

Additional info:
If the selected size is > than the fullsized image size, no resize will be done and the fullsized gets offered for download.
The resized images temporarily gets saved in the albums/edit folder. If an image with the same name is already existing there, a index number gets added to the temp file. If the resize function is called, all files in the edit folder older than 15 mins get deleted again.

Resizing on the fly may put a lot of extra heat on your server (depending on how many users will use that feature and your server specs)

Supported langs so far:
- english
- german
- dutch

New version 1.1:
- dropdown only shows valid resize values (if fullsized < resize value than option won't show)
- dropdown doesn't show for non image files
- dutch lang file added (thanks Hein)

New version 1.2:
- detects if the modpack is installed. If so, it uses the original copy as base image and adds a watermark (if enabled) to the resized image  (downsizing of the watermark is of course supported too)

Demo:    http://stramm.st.funpic.org/displayimage.php?pos=-252
« Last Edit: May 11, 2012, 02:40:53 PM by Αndré »
Logged

serg5777

  • Coppermine frequent poster
  • ***
  • Country: ru
  • Offline Offline
  • Gender: Male
  • Posts: 151
    • Широкоформатные обои для рабочего стола

Thank you! And how to do so by clicking on the "send" did not open a new image, but simply offered the system to download it? Simply great pictures no longer fit into the layout :)
Logged

serg5777

  • Coppermine frequent poster
  • ***
  • Country: ru
  • Offline Offline
  • Gender: Male
  • Posts: 151
    • Широкоформатные обои для рабочего стола

Forgot to say, immediately after installing plug shifted layout.
Logged

serg5777

  • Coppermine frequent poster
  • ***
  • Country: ru
  • Offline Offline
  • Gender: Male
  • Posts: 151
    • Широкоформатные обои для рабочего стола

Corrected proofs removing rows in codebase.php
Code: [Select]
<table class="tableh" width="100%">
</table>
Logged
Pages: [1]   Go Up
 

Page created in 0.074 seconds with 19 queries.