GraphicRiver

freshizer - Custom WordPress Image Resizer with Cache

36 posts
  • United Kingdom
  • Has been a member for 2-3 years
  • Bought between 1 and 9 items
  • Exclusive Author
FlickapixDezign says


how about crop, crop postion & zoom? any vulnerablilities?

1.) cropping and zooming will be in one of the next releases

2.) it’s 100% secure:)

Awesome :) im developing a premium wp theme for release here in a month or two so may consider inclusion after some testing and comparison with other scripts currently emerging :)

1707 posts YOU TOUCH IT YOU BUY IT
  • Bought between 50 and 99 items
  • Elite Author
  • Exclusive Author
  • Has been a member for 3-4 years
  • Referred between 50 and 99 users
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Sold between 250 000 and 1 000 000 dollars
freshface says

so how exactly does this work? I don’t see any documentation in the download. Does it prevent wordpress from changing any images?

it resize images through the WP functions and store them in the directory, listed in the first post. It also create a unique hash for every image, so you can be sure that there will be no collision. And it clear the resized images every 7 days, so you can have always the fresh one :)

701 posts
  • Bought between 1000 and 4999 items
  • Canada
  • Has been a member for 4-5 years
  • Referred between 1 and 9 users
chrismccoy says

nice work

282 posts
  • Attended a Community Meetup
  • Sold between 10 000 and 50 000 dollars
  • Exclusive Author
  • Bought between 10 and 49 items
  • Has been a member for 1-2 years
  • Referred between 1 and 9 users
SyamilMJ says

This won’t work on multisite – check your getRelativePath() function.

Also, since you rely on getimagesize() function to verify the images, it would be imperative to add a @ to it.

Another thing, hashing could be made more unique, although i’m not sure what it does exactly? I thought when you mentioned about it on the Aqua Resizer thread you were referring to hashing the cropped image instead of the original image?

Oh, and running through the whole fresh dir to check for expired images for every instance of image resizing is not really a good idea. You could probably make the check to be separate from the class, and instantiated at a scheduled period, if you ever want to go that route at all.

Cheers :)

3 posts
  • Bought between 1 and 9 items
  • Exclusive Author
  • Has been a member for 4-5 years
  • United States
nathanp says

I’m getting an error that gives me the following: Image : http://location-of-my-image/image.jpg does not exists !

It is showing the correct image url in the error…but telling me the image doesn’t exist.

Any ideas?

67 posts Be different!
  • Elite Author
  • Sold between 250 000 and 1 000 000 dollars
  • Referred between 200 and 499 users
  • Bought between 10 and 49 items
  • United States
  • Has been a member for 2-3 years
  • Exclusive Author
UnitedThemes says

Hi,

after doing some deeper testings I can recommend this script without any restrictions. Easy to implement, very fast Image scaling (did a re size for about 40 large scales images 1920×1080 down to 45×45 which takes a heartbeat to complete).

Again great work!

Best Regards UnitedThemes

254 posts
  • Bought between 10 and 49 items
  • Elite Author
  • Exclusive Author
  • Has been a member for 4-5 years
  • Sold between 250 000 and 1 000 000 dollars
  • United States
BuchmannDesign says

I’m anxious to give this script a try, but it looks like it’s not working on Multisite. As soon as that’s fixed I’ll commit to it. :)

57 posts
  • Exclusive Author
  • Has been a member for 1-2 years
e8j1osla says

Any plans for future update with the script? I really love your work, hope it stays free. I’m going to test this on an actual server right now i’m testing it locally hope it wont cause any problems. I’ll give my thoughts on how it goes later.

57 posts
  • Exclusive Author
  • Has been a member for 1-2 years
e8j1osla says

After testing, found out that it won’t work with multisite, it seems that it can’t create the dir called freshizer, but instead it created the folder in wp-content/blogs.dir/2/files/freshizer so when i fetched the url of the image it returned nothing cause the file was stored in a different dir.

But it works perfectly with the regular wordpress installation, few questions that’s been bothering me since the wordpress’s function add_image_size creates a copy of the image in a different size what difference does it make if this script also does the same thing except it stores the image in the folder freshizer, i thought those images were created temporarily then later automatically deleted after a certain time like timthumb does.

hope you continue its development.

1707 posts YOU TOUCH IT YOU BUY IT
  • Bought between 50 and 99 items
  • Elite Author
  • Exclusive Author
  • Has been a member for 3-4 years
  • Referred between 50 and 99 users
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Sold between 250 000 and 1 000 000 dollars
freshface says

Hi guys!

thank you for your interest. I will fix the multisite bug when I will have a time :) Anyway I’m now heading to final exams at my university, so I will not be available about a week or so :)

cheers, freshface

by
by
by
by
by