Yikes…that sounds like a lot of work
Actually it’s not. I use that method on most sites I have images on. In addition to scaling it allows to sort by shape…all horizonta, all vertical, etc. If I have mixed B&W;and color I usually throw in a field for that also. An example: Marauders Sorting links at top.
I see. Ya, I just figured out I could test the height/width data myself and call image sizer myself. I have to decide whether or not to use image sizer or phpThumb…I am leaning toward image sizer right now as I like everything to be all integrated and I don’t have a need (at the moment) for all the capabilities of phpThumb.
Thanks
Hi Everyone - I just installed the plugin on our production site, and it’s not working. Here’s a little more about our structure…
We’ve got about 10 file upload folders in our File Upload Prefs section and are using 1 folder per blog (a multiple blog setup). I’m trying to use this on just one of our sites right now and the imgsizer tag is returning nothing. I already put the cache folder in the File upload folder I’m using, and set the permissions to 777. Here is exactly what I put in the template that is returning nothing:
{exp:weblog:entries weblog="appletell" orderby="date" sort="desc" limit="15" offset="3" disable=""}
{exp:imgsizer:size src="{thumbs}" height="100"}
{/exp:weblog:entries}
Any thoughts?
Can this plugin resize the image based on a percentage value of the original image size. So instead of using pixels, you could use percents and it would be that percent of the original image size. This can be done with phpThumb but this plugin seems like a great alternative I’d like to try.
Erin it already has max-sizes i have just hard coded it into the plug-in but i could open it up as a param. ill play around with that.
Dabbledoo if you just put in {thumbs}like below what is returned
{exp:weblog:entries weblog="appletell" orderby="date" sort="desc" limit="15" offset="3" disable=""}
{thumbs}
{/exp:weblog:entries}
also the plug-in does not return anything if it fails at finding the src img ect.
lumis - here is a template with just the code you told me to put in: http://www.appletell.com/apple/testimg/ thoughts?
Are you trying to resize images from dabbledoo.com to show them in appletell.com? or appletell was just a “test server” where you put the test template?
This plugin doesn’t resize images from other servers.
If you are planning to use the plugin at dabbledoo.com, I think the problem is with your EE installation, which seems to be inside the “ee” folder.
If that is the problem, I think it’ll be fixed soon…
Anyway, that is what I think about your issue, wait and see what lumis responds
Thank you for the reply, Gonzalingui!
OK, our EE installation is on dabbledoo.com as you mentioned. We have several sites that run off of that installation. Appletell.com is getting all of its information from dabbledoo.com/ee… which is why the images are hosted on the dabbledoo.com domain.
Lumis.. your thoughts on the issue?
Gonzalingui Thanks for the ideas and your help dealing with EE setups that are not in the sites document root folder i have updated the plug-in for download to deal with setups like Gonzalingui’s i have also added in EE’s filename security (just in case)
Dabbledoo Well humm im not sure how that would work first it would have to fetch the remote image (since it is on a different domain and not available from the calling domains document root) and resize it
that would be no big deal to do really but i cant really check for updates on the remote image based on time. well sometimes you can but not really very reliably. and i don’t think you would want your server doing a http request for every image you are resizing.
I would assume that boath these sites are on the same server but have different document roots so could you not just create a symbolic link on www.appletell.com/ document root that points to the directory with your images on dabbledoo.com/
I used the instructions here to create a “symbolic link” between the appletell doc root and the appletell images folder on dabbledoo.com:
http://help.hardhathosting.com/question.php/95
Still does not work.
Your plugin works great from the dabbledoo.com domain… see here: http://www.dabbledoo.com/apple/testimg but it does not work from http://www.appletell.com/apple/testimg
Please advise. We really need your plugin to work since PhpThumb absolutely kills the server.
Thanks!
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.