Force create resize-version on smaller-than-resize originals.
|
godric
Joined: 2008-01-21
Posts: 2 |
Posted: Wed, 2008-05-07 09:45
|
|
Hi All, I've googled, and I've checked the forum, but have not yet found a sane solution to this problem. It's known from web records that if: 1) The orginal-size is smaller than the resize-target-size, Someone on this forum said this is expected normal behavior, but I disagree. To my reasoning, Normal Behavior to this situation should be: 1) Original-size smaller than resize-target-size, With this arrangement, user would not have been LEFT OUT and be forced to see thumbnails whenever originals are smaller than resize-targets. I've looked at the code and try to find the spot of hacking, but unfortunately it takes me lots of time sifting through them. Would somebody who is familiar with the code please help in pointing me to the spot where the "Decision" of whether or not to create resized-version be made? Then I can speed this modding up a bit? Given that I need to restrict the user from viewing the originals, but I do need the originals for internal use. Thanks in advance, your kind help is much appreciated. Godric |
|
| Login or register to post comments |

Posts: 16
I think you should try sizelimit module for this, it works as you desire.
download from here http://codex.gallery2.org/Gallery2:Modules
Posts: 2
Hi,
Thanks and appreciate your help very much.
You've saved my day!
Regards,
Godric