Help with a mod. Help with a mod.
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

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 2 Guests 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