Does anyone know if it is possible to use this plugin in conjunction with eeFlickr?
What i would like to do is to let eeFlickr grab a bunch of images from my Flickr account then display those images as square thumbs. Obviously Flickr has it’s own thumbnail images but these are only 75 x 75 pixels and i would love to be able to show larger thumbs than this.
I have tried placing the imgsizer tag inside my eeFlickr call but i get nothing back. After looking at the plugin it seems the problem occurs when cUrl goes off to grab the image for local caching.
Doing a print_r(); on curl_error i get “Could not connect to host” which would lead me to suspect that there is some security on Flickrs server stopping the download of images.
Can anyone help?
I can’t seem to get this to work at all. I am using FF Matrix and the nGen file uploader on a MSM site. I have created the ‘cache’ folder correctly and everything but when I put in the code, it doesn’t output any HTML, nor does it seem to create a cached image.
Any thoughts?
My code:
{if product_gallery}
<div class="productgallery">
{product_gallery}
<a href="http://{product_gallery_image}">{exp:imgsizer:size src="{product_gallery_image}" width="40" alt="{product_gallery_caption}" id="img_5334" class="entry_img"}</a>
{/product_gallery}
</div>
{/if}
All this yields is:
<div class="productgallery">
<a href="/images/products/tosavealife_novel_large_1.jpg"></a>
<a href="/images/products/tosavealife_novel_back_large.jpg"></a>
</div>
I can’t seem to get this to work at all. I am using FF Matrix and the nGen file uploader on a MSM site. I have created the ‘cache’ folder correctly and everything but when I put in the code, it doesn’t output any HTML, nor does it seem to create a cached image.
OK, so I manually set my base_path and it works fine now. Where do I have this set globally so I don’t need to define it everytime?
OK, so I manually set my base_path and it works fine now. Where do I have this set globally so I don’t need to define it everytime?
Would one of these work for you:
User-Defined Global Template variables?
PHP?
{ee:tag param="<?php echo $_SERVER['DOCUMENT_ROOT'].'/some/path/if/needed/'; ?>/more/path/to/image.jpg"}{/ee:tag}
Hths! Cheers, M
I’ve used this plugin many times before with no issues. I’m trying to use it on a client’s site now and they are currently hosted on Media Temple. I cannot get it to work at all; I get nothing. I’ve asked my client to ask Media Temple if GD Library is installed and Media Temple has confirmed it’s installed.
Not sure what else I can do here? Any ideas?
EDIT: Sorry, got this figured out. I wasn’t using a relative path. Doh!
I’m trying to get this plugin working on a new host…so I suspect it’s some sort of server issue since I’ve been able to get it to work before on other sites. Anyhow, I didn’t see this error mentioned in here so I’m hoping somebody can shed some light for me. Here’s the error I get:
Warning: mkdir() [function.mkdir]: Permission denied in /home/pcms/public_html/kitchen/plugins/pi.imgsizer.php on line 205
And here’s my code:
{exp:weblog:entries weblog="{my_weblog}"}
{exp:imgsizer:size src="{image}" alt="{title}" height="92"}
{/exp:weblog:entries}
Naturally, when I input the { image } in my template without the imgsizer tag it works. Also, I’ve created the cache folder, perms at 777, etc. So I am baffled…any ideas?
Thanks, Jason
Hi,
I’m using the following code, but it’s not working with 2.5.6 in combination with FF Matrix (fieldframe 1.2.1). I’m getting a black screen:
<div class="carrousel-photos">
{package_photos limit="1"}
<a href="http://{photo_src}" rel="group-{entry_id}" title="{photo_desc}" class="photobox">_ {exp:imgsizer:size src="{photo_src}" width="508" alt="{photo_desc}" id="carrousel-image"}_ </a>
{/package_photos}
</div><!--end:carrousel-photos-->
<div class="carrousel-thumbnails">
{package_photos}
<div class="carrousel-thumbnail">
{exp:imgsizer:size src="{photo_src}" width="100" alt="{photo_desc}"}
</div>
{/package_photos}
</div><!--end:carrousel-thumbnails-->
If I delete the second {exp:imgsizer:size} - tag and replace it with {photo_src}, the correct path to the image is shown. What could be the problem here?
help!! please running 1.6.7 I install the plugin I check the GD on server:
GD Support enabled GD Version bundled (2.0.34 compatible) FreeType Support enabled FreeType Linkage with freetype FreeType Version 2.2.1 GIF Read Support enabled GIF Create Support enabled JPG Support enabled PNG Support enabled WBMP Support enabled XPM Support enabled XBM Support enabled
I put this on a template:
{exp:imgsizer:size src="http://www.google.com/intl/en_ALL/images/logo.gif" width="10" alt="google logo"}
Result: DONT SHOW ANYTHING? whats the problem? help please, thanks
@dragonhiro it works fine with eeFlickr here is a code example that does 100px squares insted of 75px
{exp:eeflickr:photos_search user_id="47282007@N00" page="page2" per_page="16"}
{eeflickr:photos_search_loop}
{exp:imgsizer:size remote="on" src="http://farm{farm}.static.flickr.com/{server}/{id}_{secret}.jpg" width="100" height="100" alt=""}
{/eeflickr:photos_search_loop}
{/exp:eeflickr:photos_search}
@jasonjulien looks like your server is not allowing mkdir command but you would never get to that command for it to error if you had created the directory in the location imagesizer expected it to be
cache_path is a result of base_cache + src path - thefilename
so if you set base_cache to /web/htdocs/yoursite/images/sized/
and your src= was
then your full cache_path would be /web/htdocs/yoursite/images/sized/media/gallery/
@Nico Smit Post the template debugging so we can see.
@Bmovie Since i would assume your domain your running EE on is not google.com I would suggest you check out the part about remote= http://www.lumis.com/page/imgsizer/
Hi,
First of all, thanks for the great plugin, it is much used. It seems that we are missing an option:
I want to do the following width = ‘56’ or height = ‘38’
When i specifiy these value’s, I am getting a cropped image. Is it possible to get an image where the width or the height is the value and the other is smaller.
Example: Original image: 100 * 50
Resized: 56 * 28
This would REALLY be a great addition!
Request:
Not sure if this can be done but can you create a way to set a max-height or max-width? My problem is that I am using this to re-size 20-30 sponsor logos. Some landscape, some vertical. I have it set to width=”150” but my portrait logos become huge in comparison to my landscape. If I could set a max-height to this that would override the width and set proportionally to the height, then I could make sure that the portrait logos don’t go too high.
Similar to how this works - http://5pieces.com/blog/using-phpthumb-with-expressionengine-part-i/
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.