Announcement: New plug-in SuperSizer

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
JeremyBASS

Re: Announcement: New plug-in SuperSizer

Post 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
nicmare
Power Poster
Power Poster
Posts: 1150
Joined: Sat Aug 25, 2007 9:55 am
Location: Berlin

Re: Announcement: New plug-in SuperSizer

Post 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.
User avatar
ethan2cyc
Forum Members
Forum Members
Posts: 28
Joined: Sun Jan 09, 2011 1:29 pm

Re: Announcement: New plug-in SuperSizer

Post 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?
nicmare
Power Poster
Power Poster
Posts: 1150
Joined: Sat Aug 25, 2007 9:55 am
Location: Berlin

Re: Announcement: New plug-in SuperSizer

Post by nicmare »

ethan2cyc wrote:{supersizer height='200' path=...}
and another question, will the supersizer save time for loading the image?
try using passthru=true !
Wishbone
Power Poster
Power Poster
Posts: 1368
Joined: Tue Dec 23, 2008 8:39 pm

Re: Announcement: New plug-in SuperSizer

Post by Wishbone »

ethan2cyc wrote:and another question, will the supersizer save time for loading the image?
If the new size is smaller, it will ;)
JeremyBASS

Re: Announcement: New plug-in SuperSizer

Post 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
nicmare
Power Poster
Power Poster
Posts: 1150
Joined: Sat Aug 25, 2007 9:55 am
Location: Berlin

Re: Announcement: New plug-in SuperSizer

Post 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
JeremyBASS

Re: Announcement: New plug-in SuperSizer

Post 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
nicmare
Power Poster
Power Poster
Posts: 1150
Joined: Sat Aug 25, 2007 9:55 am
Location: Berlin

Re: Announcement: New plug-in SuperSizer

Post 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.
JeremyBASS

Re: Announcement: New plug-in SuperSizer

Post 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
pivey
New Member
New Member
Posts: 3
Joined: Mon Apr 04, 2011 5:46 pm

Re: Announcement: New plug-in SuperSizer

Post 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?
User avatar
M@rtijn
Power Poster
Power Poster
Posts: 706
Joined: Sat Nov 14, 2009 4:54 pm
Location: the Netherlands

Re: Announcement: New plug-in SuperSizer

Post 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
Make your community a better place!
peterb
New Member
New Member
Posts: 4
Joined: Mon Apr 11, 2011 9:20 am

Re: Announcement: New plug-in SuperSizer

Post 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
nicmare
Power Poster
Power Poster
Posts: 1150
Joined: Sat Aug 25, 2007 9:55 am
Location: Berlin

Re: Announcement: New plug-in SuperSizer

Post 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?!
peterb
New Member
New Member
Posts: 4
Joined: Mon Apr 11, 2011 9:20 am

Re: Announcement: New plug-in SuperSizer

Post by peterb »

Is there no option to do this in relative mode with the script?
Locked

Return to “Modules/Add-Ons”