Plogger Support Forum - Resize original image Fri, 29 Mar 2024 09:15:46 +0000 http://www.plogger.org/forum/ Lussumo Vanilla 1.1.10 Resize original image http://www.plogger.org/forum/comments.php?DiscussionID=3393&Focus=13343#Comment_13343 http://www.plogger.org/forum/comments.php?DiscussionID=3393&Focus=13343#Comment_13343 Wed, 29 Sep 2010 03:00:18 +0000 floriske.nl
Is it possible, or is there someone who allready added this, to resize the original image on upload to a specific maximum size?

I want to use plogger for a gallery (http://www.floriske.nl/index.php?page=photography) and want to show the viewers a large image (by embedding FancyBox) but I don't want this to be the original image.

Simple solution would be to resize the image prior to uploading, but this isn't always possible (e.g. on holiday etc.)

So it would be handy if Plogger could be set to resize it on upload to a preset maximum width or height.

Thx in advance!]]>
Resize original image http://www.plogger.org/forum/comments.php?DiscussionID=3393&Focus=13354#Comment_13354 http://www.plogger.org/forum/comments.php?DiscussionID=3393&Focus=13354#Comment_13354 Wed, 06 Oct 2010 06:58:31 +0000 floriske.nl Resize original image http://www.plogger.org/forum/comments.php?DiscussionID=3393&Focus=13382#Comment_13382 http://www.plogger.org/forum/comments.php?DiscussionID=3393&Focus=13382#Comment_13382 Mon, 18 Oct 2010 06:36:10 +0000 floriske.nl
This is really preventing me from using my new site design. I thought this would be something that someone would have done before, but as it seams it's a more difficult subject than I suspected it to be?]]>
Resize original image http://www.plogger.org/forum/comments.php?DiscussionID=3393&Focus=13396#Comment_13396 http://www.plogger.org/forum/comments.php?DiscussionID=3393&Focus=13396#Comment_13396 Thu, 21 Oct 2010 13:18:14 +0000 chewbears
So you have a 400x400 you want it 800x800? and still have an original 400x400 view?

Or do you just want to have your image 800x800 only and then generate intermediates and thumbs off of that?

If you want to do the first thing, its going to be hard, because you will have to write an "oversize" function that upon upload enlarges the image and stores it in an oversized folder, and then the function call the oversize view on the pages you like. Not hard, but if you do not know php it could take you some time. Also you can search for php resize snippets and use those, internal or external to plogger.

If you want the second option, batch resize offline.]]>
Resize original image http://www.plogger.org/forum/comments.php?DiscussionID=3393&Focus=13401#Comment_13401 http://www.plogger.org/forum/comments.php?DiscussionID=3393&Focus=13401#Comment_13401 Fri, 22 Oct 2010 04:12:21 +0000 floriske.nl
I want to be able to e.g. upload a photo with my phone from a holliday location without having to worry about resizing the orignal first and thus have the gallery resize the original.

in short:

If an uploaded picture is bigger than a set size (e.g. fit within 1280px height or width) resize it to a set height or width.
If an uploaded picture is smaller just upload it as usual

This way I can upload single pictures without having to resize them and ofcourse in case of bulk upload I'll batch resize first.

Is this such a weird/difficult thing to do?]]>
Resize original image http://www.plogger.org/forum/comments.php?DiscussionID=3393&Focus=13404#Comment_13404 http://www.plogger.org/forum/comments.php?DiscussionID=3393&Focus=13404#Comment_13404 Fri, 22 Oct 2010 14:25:33 +0000 chewbears
Correct?]]>
Resize original image http://www.plogger.org/forum/comments.php?DiscussionID=3393&Focus=13407#Comment_13407 http://www.plogger.org/forum/comments.php?DiscussionID=3393&Focus=13407#Comment_13407 Sat, 23 Oct 2010 05:21:23 +0000 floriske.nl Resize original image http://www.plogger.org/forum/comments.php?DiscussionID=3393&Focus=13446#Comment_13446 http://www.plogger.org/forum/comments.php?DiscussionID=3393&Focus=13446#Comment_13446 Tue, 02 Nov 2010 04:41:14 +0000 floriske.nl Resize original image http://www.plogger.org/forum/comments.php?DiscussionID=3393&Focus=13448#Comment_13448 http://www.plogger.org/forum/comments.php?DiscussionID=3393&Focus=13448#Comment_13448 Tue, 02 Nov 2010 14:42:07 +0000 chewbears
Its not that its "hard" to do via php, its implementing it into the plogger code. I can easily write you an on upload function, but I do not know exactly how to make it work ideally with plogger.]]>
Resize original image http://www.plogger.org/forum/comments.php?DiscussionID=3393&Focus=13452#Comment_13452 http://www.plogger.org/forum/comments.php?DiscussionID=3393&Focus=13452#Comment_13452 Wed, 03 Nov 2010 12:00:06 +0000 floriske.nl