Help with a mod. Help with a mod.
 

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

Help with a mod.

Started by just_some_guy, September 14, 2007, 08:24:30 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

just_some_guy

Hello,

I am thinking of creating a mod.

About the mod:

Basically when you upload an image to change the thumbnail of a file (ex a .zip)  it will also upload the non-resized file to another location aswell as inserting a the location into the database. Then the will be a text link below the file "click for larger image". And you will be able to view the file that was uploaded when the the tumbnail was changed.

Simple in theory... I know the coding its just where do i input the code?

I know i need to edit.

displayimage.php
and
changeThumb.php

Where abouts do i add the code to changeTumb.php? it needs to serve the same purpose as before by uploading the file which is resized. But also upload the original file.

Thanks!
Tambien, Hablo Español      PHP - Achieve Anything
"The Internet is becoming the town square for the global village of tomorrow. " - Bill Gates
Windows 7 Forums

just_some_guy

Tambien, Hablo Español      PHP - Achieve Anything
"The Internet is becoming the town square for the global village of tomorrow. " - Bill Gates
Windows 7 Forums