I wasn’t sure whats up with the 2.0 version. I put the plugin into the directory system>expressionengine>plugins. but when I go to the add-on > plugins in my cms there’s no option to install it.
Did I miss a step? Am I installing in the wrong place? Anyone else encounter this?
*edit
Ok I figured it out. If anyone wants to know how to install plugins, they go into the system > expressionengine > third_party folder. actually put the whole folder in the /third_party folder.
Peace.
@okayyellow try thisundocumented but it basically appends the domain to the image path on output.{exp:imgsizer:size width="185" height="110" src="{image}" server_domain="http://www.mysite.com/"}
The server_domain=”http://www.mysite.com/” trick works perfectly for me. (imgsizer - 2.5.6 & EE-1.6.8… not using MSM)
Just what I needed. Thanks @lumis!!!!!
Hello,
I am trying to use the img size tool inside of a category tag. When I do so it breaks the tags. When I remove the img sizer code everything works again. Does anyone one have a solution to this?
{exp:weblog:entries weblog="team" category="16|17"}
{categories}
{if category_id == "16"}
<li class="story-{absolute_count}"><a href="http://{url_title_path=clubs/team_page}" title="{title}">{exp:imgsizer:size image="{images}" width="80" height="60" alt="{title}" class="left"}</a></li>
{if:elseif category_id == "17"}
<li class="story-{absolute_count}"><a href="http://{mururl}" title="{title}">{exp:imgsizer:size image="{images}" width="80" height="60" alt="{title}" class="left"}</a></li>
{/if}
{/categories}
{/exp:weblog:entries}
Thanks for any help and thank you for this great tool!
I get the following errorWarning: mkdir() [function.mkdir]: Permission deniedthough images and sized are 777
Same here. Using latest version (imageSizer v2.5.6 for ExpressionEngine 1.6.8 ) downloaded directly from plugin site.
Warning: mkdir() [function.mkdir]: Permission denied in /blah/blah/blah/plugins/pi.imgsizer.php on line 205
And when I test remote=”on”:
Warning: mkdir() [function.mkdir]: Permission denied in /blah/blah/blah/plugins/pi.imgsizer.php on line 684
Notice: getimagesize() [function.getimagesize]: Read error! in /blah/blah/blah/plugins/pi.imgsizer.php on line 151
Notice: Undefined index: dirname in /blah/blah/blah/plugins/pi.imgsizer.php on line 161
()
Which is not a huge deal, because I know it is experimental code. 😊
Loving this plugin though. Going to revert back to a working version (not enough time to investigate.)
Cheers, M
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.
Would you mind sharing how you did this?
Did you use php to get the width/height of the image? Then if width > height it’s a landscape image etc.
Did you use php to get the width/height of the image? Then if width > height it’s a landscape image etc.
Check out my SizePlus plugin. It gets you image width/height, ratio, plus a few other extras.
For example, here is how I get the width/height of swf, and set it as div background:
You can also pass through query string params, and have them available as template vars.
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.