make upload preview intermediate image make upload preview intermediate image
 

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

make upload preview intermediate image

Started by plancast, February 04, 2015, 11:44:30 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

plancast

Hi,

Is there a way to make the preview picture on upload the intermediate image rather than the thumbnail image.

Thanks,

Chris

Αndré

Just to make sure, do you mean the pictures which appear below the flash uploader right after you've uploaded them?

plancast

Hi Andre,

That and the picture that appears next to the comments and title sections.

Thanks,

Chris

Αndré

Open upload.php, find
$thumb_url = get_pic_url($CURRENT_PIC_DATA, 'thumb');
and replace with
$thumb_url = get_pic_url($CURRENT_PIC_DATA, 'normal');


Quote from: plancast on February 09, 2015, 12:13:35 PM
the picture that appears next to the comments and title sections.
Erm, do you mean editpics.php, the page that opens after you've uploaded new files? Please be more detailed so I don't need to ask each time. I don't know what you mean with "comments and title sections".

phill104

That may not work if _normal does not exist.
It is a mistake to think you can solve any major problems just with potatoes.

Αndré


phill104

Cheers Andre, I wondered what that bit did.
It is a mistake to think you can solve any major problems just with potatoes.

plancast


allvip

Board rules / Forum policies http://forum.coppermine-gallery.net/index.php?index.php/topic,55415.0.html  Reply #17

Quote from: Joachim Müller on September 28, 2008, 12:46:26 PM
Resolve your threads
If you have found an answer to your question, resolve your thread. Don't just post "I have found the answer", but tell others what you actually did to solve your issues. Posting a link to the page where you found the answer might help. Describing what you did might help as well. Finally, you can tag your thread as "solved" by clicking on the "Topic Solved" button on the bar at the left hand side at the bottom of your thread.