Page 31 of 33

Re: Announcement: New plug-in SuperSizer

Posted: Wed Mar 09, 2011 8:20 pm
by JeremyBASS
Surprisingly no not much, I let php do a lot of the testing for me and I just interpreted the data handed back. I had a folder I put in a series of images that ranged from dressed normally to full frontal on both males and females across 5 skin tones and 4 mass sizes. There was 50 image that should have passed and 50 that should have failed and I just tweaked till I got them to pass and fail right.. The false positives should be low but when implemented you'd want there to be some wiggle room to flag images so that you can insure your picking them all up but pushing the threshold down low. It's not perfect but it works. :D

Re: Announcement: New plug-in SuperSizer

Posted: Mon Mar 21, 2011 3:40 pm
by nicmare
i am not sure how to manage that but i started a bugreport in forge. just to be sure you will not skip that entry:
if i use crop=true with a png image, then the transparency get loss and background is black. if i remove the crop parameter, transparency works.

Re: Announcement: New plug-in SuperSizer

Posted: Sat Mar 26, 2011 1:52 pm
by ethan2cyc
{supersizer height='200' path=...}
if the actual height of image is lower than 200, it will not be shown.

and another question, will the supersizer save time for loading the image?

Re: Announcement: New plug-in SuperSizer

Posted: Sat Mar 26, 2011 2:37 pm
by nicmare
ethan2cyc wrote:{supersizer height='200' path=...}
and another question, will the supersizer save time for loading the image?
try using passthru=true !

Re: Announcement: New plug-in SuperSizer

Posted: Sun Mar 27, 2011 3:06 am
by Wishbone
ethan2cyc wrote:and another question, will the supersizer save time for loading the image?
If the new size is smaller, it will ;)

Re: Announcement: New plug-in SuperSizer

Posted: Tue Mar 29, 2011 3:28 pm
by JeremyBASS
Hello, here is a good place to see some number on how much saving you can see..


http://www.corbensproducts.com/blog/exp ... sizer.html

in just one of the examples the orginal size is 41222 bytes and the ouput size I'd be willing to do is 2687bytes (@ 55% quality) so that is 6% of the orginal size.. I'd say that would be about 90 times faster in a download speed.

Cheers -Jeremy

Re: Announcement: New plug-in SuperSizer

Posted: Wed Mar 30, 2011 6:44 am
by nicmare
nicmare wrote:i am not sure how to manage that but i started a bugreport in forge. just to be sure you will not skip that entry:
if i use crop=true with a png image, then the transparency get loss and background is black. if i remove the crop parameter, transparency works.
some examples:
{capture assign="headerimgpath"}{root_url}/uploads/images/photo.png{/capture}
{supersizer url=true path=$headerimgpath width=600 height=300 protect=false strip_tags=true}, works
{supersizer url=true path=$headerimgpath width=600 height=300 crop=true protect=false strip_tags=true}, does not work

Re: Announcement: New plug-in SuperSizer

Posted: Wed Mar 30, 2011 9:49 am
by JeremyBASS
oh I forgot to get back to that.. :D It's noted and I know where ot take care of that.. tk fo rthe reminder.. it'll be in the MediaDeploy too. which is almost done.. tk -J

Re: Announcement: New plug-in SuperSizer

Posted: Wed Mar 30, 2011 11:01 am
by nicmare
thank you jeremy. i am very excited about mediadeploy. it would be nice to still have supersizer as a lightweight and easy pendant.

Re: Announcement: New plug-in SuperSizer

Posted: Wed Mar 30, 2011 11:13 am
by JeremyBASS
the nice part is mediadeploy is supersizer light.. it’s way smart and you can/will be able to install it and click a "convert" button to take over the supersizer tags.. same params it's just a change in name, but in fact I am hoping that it'll even work faster as I only load what is needed ie never use filters, then never they get loaded up to use. :D I just need a week off to push everything out. lol.. -J

Re: Announcement: New plug-in SuperSizer

Posted: Wed Apr 06, 2011 4:41 pm
by pivey
Ok, always the same when you come to find your way trough new applications. I am new to CMSMS and test its functionality, modules etc...and would really like to install supersizer, because its needed with a template.
Instead of installing it right away, i am searching the forums, how to install this module, as it is a single .php file.
Please: how do i install this module?

Re: Announcement: New plug-in SuperSizer

Posted: Thu Apr 07, 2011 7:00 am
by M@rtijn
1. Download the .php file
2. FTP it to the folder {root}/plugins
3. Follow directions given on first page of this topic or in the handbook:
http://wiki.cmsmadesimple.org/index.php ... supersizer

I agree that it is not very well documented how to upload a plugin, but as you can see it's not very difficult. ;D

Re: Announcement: New plug-in SuperSizer

Posted: Mon May 02, 2011 9:21 am
by peterb
Hello I am trying resize a image that can not be anything greater then 150x150 px

When I use {supersizer path=$profiel_foto width='150'} some pictures get the dimension 150px × 225px.
I also tried to crop the image but then some key detail are lost.
Is there a way to resize it so the dimensions will be withing the 150px?
So that 150px × 225px will become 100x150

Re: Announcement: New plug-in SuperSizer

Posted: Mon May 02, 2011 9:40 am
by nicmare
you could just use css for that. you supersizer tag is right.
then use css. img {height:150px}.
not the best solution but i think it will be okay?!

Re: Announcement: New plug-in SuperSizer

Posted: Mon May 02, 2011 9:44 am
by peterb
Is there no option to do this in relative mode with the script?