coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: just_some_guy on September 14, 2007, 08:24:30 PM

Title: Help with a mod.
Post by: just_some_guy on September 14, 2007, 08:24:30 PM
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!
Title: Re: Help with a mod.
Post by: just_some_guy on September 21, 2007, 09:12:54 PM
Anyone?