| Topic: | Resizing? |
|---|---|
|
Converted
12 Posts: 0 Posted: |
J?rn, Thank you for your contribs to the PN community! You have an imageresize patch available for photoshare 1.0.0. Is this functionality in 3.3.0 or is there any work being done on this (potential) feature at all? Thanks in advance, greg. (BTW: I was unable to submit this post using Mozilla 1.4 on WinXP...I was forced to use IE...*shudder*...Clicking the "Post New Topic" button was being ignored by Moz...which usually indicates invalid HTML...Hope this helps) Appended a few minutes later: This W3C.org validator link shows that the file=post.newtopic (and post.edit) page has at least one broken TABLE [Edited on 5/2/2004 by mobiGeek] [Edited on 5/2/2004 by mobiGeek] [Edited on 5/2/2004 by mobiGeek] [Edited on 5/2/2004 by mobiGeek] |
|
Converted
12 Posts: 0 Posted: |
That functionality is not yet available. Will be. |
|
Converted
12 Posts: 0 Posted: |
Yes, Joern! Photoshare is really good work! I love it. Thank you for this and the future versions you will code! :P But, I'm also missing a resize function so much. Especially for automatic sizing after uploads (I've tried to hack photoshare myself, but I had no luck... or no skills ;) ). So, can you give us an estimation when you will be able to work on that? Will it be the next on the request list? Thx, Pasi. |
|
Converted
12 Posts: 0 Posted: |
I have started on resizing and expect to have something in CVS in a few weeks :D |
|
Converted
12 Posts: 0 Posted: |
Did this ever get released? Can I find it in CVS somewhere? I'd very much like for my uploaded images to be resized automatically (f.ex. to a certain size such as 640x480). |
|
Converted
12 Posts: 0 Posted: |
Great... the feature "Automatic scaling of uploaded images to some fixed size" (as stated in the Roadmap) is also my premier feature request. It should be possible to choose the maximum width OR the maximum height for all images added to a given album. The place where I would make use of it is on http://www.jwbz.ch/, so that I could have other people upload images without that I have to check whether they put them up with the right size. :D |
|
Converted
12 Posts: 0 Posted: |
Oh well, I just noticed that J?rn's mail is already more than a year old and still this feature doesn't seem to be realized. J?rn, may I help you with the implementation? It seems to be a feature to be added to the editfolder dialog and then the resizing when images are loaded (hopefully resizing doesn't need to many resources so that PHP stops). I would try to implement it if you include it into CVS / next release. What do you think? |
|
Converted
12 Posts: 0 Posted: |
Hi Rundum You have an interesting offer here :-) I could need it myself. There are although a couple of issues that I would like to discuss first. 1) I assume the problem is a growing pixel count of peoples digital cameras. We don't want +5M pixel images displayed in an album. But of course the source of the images is irrelevent ... just wanted to mention it :-) 2) Uploading of images (or any other file) is limited by the web server's max. upload limit. This seems to default to 2Mb. That's not enough for a 5M pixel image, which is often more than 2Mb. The result is that you get a blank screen when uploading images of this size - PHP is not even started, the web server quits when 2Mb data is recieved. That's a problem! It even gets worse if you allow uploads of more than one image (like it is now) 3) If the upload succedes then the original should be stored with both the resized and the original. This will allow users to download the original images if they want a copy of them. That would be very nice for sharing your vacation fotos etc. with the people you were with. Storing of a yet another image is possible, but needs some carefull coding since images can be stored in both database and on disc. The code should although be similar to thumbnail handling. |
|
Converted
12 Posts: 0 Posted: |
I am also interested in a resize feature, and I am very happy that such a feature is now about to be implemented. :) I understand the advantage of saving the original image as welll. However if you have only a limited webspace and you want to save many images, it might not be desirable to store the image with the original size. So I was thinking it would be good to include a checkbox twhere you can decide wheather or not you want to store images in the original size. |
|
Converted
12 Posts: 0 Posted: |
Hi J?rn My goal is not to circumvent the problems connected with high-definition digital cameras; I guess a library of high resolution images is not the most used application of Photoshare. My goal is to simply have a consistent appearance of the images I have in my album. Few people use the camera in its highest resolution, simply because it needs to much space and such a resolution is barely ever needed (there are other reasons to buy high resolution cameras, and much of it is a marketing hype). In my project, I assume that the picture's size is not that big (your problem #1) and that your problem #2 therefore is not an issue. Furthermore... do you really think that three sizes of pictures is useful? I hadn't thought to preserve the original picture on the site; we already have the published picture and the small one. That would indeed make coding quite a lot more difficult - with (in my view) a limited added value. |
|
Converted
12 Posts: 0 Posted: |
QuoteThat would indeed make coding quite a lot more difficult - with (in my view) a limited added value. In my opinion this would add a *lot* of value. I always miss somewhere to store my highres images for my friends, so they can make hard copies of my images if they want. Anyway - just resizing the images can also be usefull. The X/Y size is already set in the admin part. Additionaly there is some code in the display templates that does "visual" resizing by setting the height/width values of the IMG tag. Be sure to check out the latest version from CVS before coding ;-) |
|
Converted
12 Posts: 0 Posted: |
This would be a great feature if it was possible. <ot>For those of us who have access to dedicated servers, is there an issue with increasing the php upload size</ot> I remember seeing it implimented with Gallery 1.5 I think it had a windows app that interfaced with the module. (might not have been for postnuke) Or it might have done the resizing itself... Maybe check it out? |