Intermidiate pictures -- no space, but still appearing? Intermidiate pictures -- no space, but still appearing?
 

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

Intermidiate pictures -- no space, but still appearing?

Started by gadnio, June 15, 2007, 01:52:53 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

gadnio

Hi,
Is there any possibility to display the intermediate pictures without explicitly saving them to the disk before?
It's Ok for me to spend more extra time when showing an intermediate picture as my gallery is getting big and space is of concern here.
I think there is certainly a resize() function of an image in GD that does not modify the original but keeps the data in memory for showing up.
Can this thing be done or it's an impossible dream?

Stramm

Possible, but HD space is far cheaper than CPU. If a few users browse your gallery, on the fly resizing of pics surly  will need a lot of resources (even can bog you server down)

gadnio

First, thanks for the immediate response. I really appreciate it.
If it's possible, I'd be very keen to know how to do it.. I guess my case is a corner one... and I know that processing power costs more, but in my particular case the gallery stays inactive in 99.5% of the time. I'm using it primarily for my own photo uploads and I'm not interested in and/or doubt it will ever be used much.. so in my case it's Ok to have some more processor-intensive operations that compensate the disk storage.

If possible, can this be done with a plugin or an option in the configuration dialog?

And, if any of the developers aren't interested in implementing such a feature, can someone of them please tell me how to create this functionality myself as I'm not a php expert, nor I know the code of coppermine?

Thanks in advance.

Stramm

no, there's no out of the box solution afaik
you could disable creation of intermediate pics, then CPG would show your original instead. That one you can resize whilst uploading. Maybe that's a solution for you.

The on the fly resizing isn't recommended, possible yes, but not recommended at all. And I do not know if anyone would take the effort and code it (for free)