Re: Announcement: New plug-in SuperSizer
Posted: Thu Nov 26, 2009 10:39 am
Hi,
Thank you Jeremy for input and a new version.. can't believe what happened here over night ;)
So, no I'm in the process of testing.. downloaded new version and put in a plugins folder.
First, I tried your path solution
{assign var=Location value=$entry->file_location|replace:"http://localhost/cms-1.6.6":""}
but this produces more errors on details page (maybe we have a typo here don't know):
Warning: getimagesize(/uploads/cgblog/id22/IMG_5094.JPG) [function.getimagesize]: failed to open stream: No such file or directory in C:\xampp\htdocs\cms-1.6.6\plugins\function.supersizer.php on line 114
Warning: Division by zero in C:\xampp\htdocs\cms-1.6.6\plugins\function.supersizer.php on line 365
Warning: imagesx(): supplied argument is not a valid Image resource in C:\xampp\htdocs\cms-1.6.6\plugins\function.supersizer.php on line 166
Warning: imagesy(): supplied argument is not a valid Image resource in C:\xampp\htdocs\cms-1.6.6\plugins\function.supersizer.php on line 167
Warning: imagecopyresized(): supplied argument is not a valid Image resource in C:\xampp\htdocs\cms-1.6.6\plugins\function.supersizer.php on line 317
Warning: filemtime() [function.filemtime]: stat failed for /uploads/cgblog/id22/IMG_5094.JPG in C:\xampp\htdocs\cms-1.6.6\plugins\function.supersizer.php on line 479
So, when I get back to the first code
{assign var=Location value=$entry->file_location}
I get exactly the same error as before.. dealing with 'filemtime' now at line 479. With commenting these two lines no errors at all.
Also, now I have to deal with Apache crashes. So, when I test the Summary page in browser, Apache crashes all the time so I have to restart it etc. EDIT: I think I solved this by moving from FF to Chrome - no crashes right now, we'll see.
The smooth - I try to set it up but as with the Quality parameter, thumbnails look the same for different values. Please take a look at the attached images. The result looks the same, too blurry for my taste :)
I have reviewed again the link you sent, and I see that your thumbs look great - as from the PS. Maybe this could be related to my system setup, GD or something else?
You mentioned several parameters in your last post, but I don't know the exact syntax for using these in Supersizer, can you clarify this?
Cheers
Darko
Thank you Jeremy for input and a new version.. can't believe what happened here over night ;)
So, no I'm in the process of testing.. downloaded new version and put in a plugins folder.
First, I tried your path solution
{assign var=Location value=$entry->file_location|replace:"http://localhost/cms-1.6.6":""}
but this produces more errors on details page (maybe we have a typo here don't know):
Warning: getimagesize(/uploads/cgblog/id22/IMG_5094.JPG) [function.getimagesize]: failed to open stream: No such file or directory in C:\xampp\htdocs\cms-1.6.6\plugins\function.supersizer.php on line 114
Warning: Division by zero in C:\xampp\htdocs\cms-1.6.6\plugins\function.supersizer.php on line 365
Warning: imagesx(): supplied argument is not a valid Image resource in C:\xampp\htdocs\cms-1.6.6\plugins\function.supersizer.php on line 166
Warning: imagesy(): supplied argument is not a valid Image resource in C:\xampp\htdocs\cms-1.6.6\plugins\function.supersizer.php on line 167
Warning: imagecopyresized(): supplied argument is not a valid Image resource in C:\xampp\htdocs\cms-1.6.6\plugins\function.supersizer.php on line 317
Warning: filemtime() [function.filemtime]: stat failed for /uploads/cgblog/id22/IMG_5094.JPG in C:\xampp\htdocs\cms-1.6.6\plugins\function.supersizer.php on line 479
So, when I get back to the first code
{assign var=Location value=$entry->file_location}
I get exactly the same error as before.. dealing with 'filemtime' now at line 479. With commenting these two lines no errors at all.
Also, now I have to deal with Apache crashes. So, when I test the Summary page in browser, Apache crashes all the time so I have to restart it etc. EDIT: I think I solved this by moving from FF to Chrome - no crashes right now, we'll see.
The smooth - I try to set it up but as with the Quality parameter, thumbnails look the same for different values. Please take a look at the attached images. The result looks the same, too blurry for my taste :)
I have reviewed again the link you sent, and I see that your thumbs look great - as from the PS. Maybe this could be related to my system setup, GD or something else?
You mentioned several parameters in your last post, but I don't know the exact syntax for using these in Supersizer, can you clarify this?
Cheers
Darko