We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

plugin: Image Sizer

Development and Programming

Mark Bowen's avatar
Mark Bowen
12,637 posts
17 years ago
Mark Bowen's avatar Mark Bowen
Hi David and Lumis

They’re actually the same person 😉

Mark

       
gridonic's avatar
gridonic
231 posts
17 years ago
gridonic's avatar gridonic

I actually wanted to write Mark and David ^^

Sorry for the confusion.

       
Mark Bowen's avatar
Mark Bowen
12,637 posts
17 years ago
Mark Bowen's avatar Mark Bowen

😉 No problems

Mark

       
Danny T.'s avatar
Danny T.
426 posts
17 years ago
Danny T.'s avatar Danny T.

I’ve read about the unmask feature, but this doesn’t seem to work as suggested. Forgive me if I’m incorrect, but is this supposed to serve the same function as other image resizing solutions and their “quality” settings? In Magento Commerce, Drupal, and DotNetNuke, all CMS and E-Commerce platforms, I have been able to adjust a quality setting through GD via a numerical value.

I’ve noticed that the generated thumbnail has quite a bit of artifacts, so just wondering if anybody has figured out a resolution that fully relieves the issue, or whether this will or will not be implemented in the short future.

Cheers!

       
lumis's avatar
lumis
119 posts
17 years ago
lumis's avatar lumis

mr_dimsum & joost I have added in a quality= param now

mattbrighton i have added a greyscale= param now

       
Danny T.'s avatar
Danny T.
426 posts
17 years ago
Danny T.'s avatar Danny T.

This is amazing work.. Thanks for the quick responses. I’m absolutely stunned!

Will give this a shot now!

UPDATE I can confirm that this is working! Including the greyscale!

I may have a little request to add in in the short future (crop, scale settings similar to ImageCache from Drupal).. If it needs be, I will most definitely push in a donation for your services to get this in as I may be needing this for a project. I’m not sure how feasible it is (well, I’m sure it is, but not sure how cumbersome and time consuming such code would be).

       
Jan_Huygens's avatar
Jan_Huygens
106 posts
17 years ago
Jan_Huygens's avatar Jan_Huygens

Just adding my thanks for such a stunningly excellent plugin 😊

Well done indeed Lumis

       
JoeR's avatar
JoeR
12 posts
17 years ago
JoeR's avatar JoeR

David,

Just wanted to leave my deep appreciation for your effort. Your plugin saved my day! Thanks.

I’m also leaving this to make it easier for the ones looking for a solution:

{exp:imgsizer:size image="{exp:extract_url_plus show="i;lename.x;tension"}{foto_izq}” width=”190” alt=”{title}” class=”foto_izq” parse=”inward”}

Find and install the extract_url plugin, and your home free.

Thanks again, Lumis.

       
Danny T.'s avatar
Danny T.
426 posts
17 years ago
Danny T.'s avatar Danny T.

Plugin works great.. Is there any chance we can get this plugin to scale and crop based on a rectangle as well? Rather than having it default as a square, it’d be great if we can somehow set a mix width / height and than choose an aspect ratio, for example. So a rectangle being 2:1 would have it’s width 2 times larger than the height of the image, with it scaling and cropping from the middle outwards.

I don’t mind getting this commissioned through a good donation. I’d just rather use an inclusive system rather than resort to phpthumb. This plugin does the job admirably and rather lightly.

       
P.J.'s avatar
P.J.
158 posts
17 years ago
P.J.'s avatar P.J.

lumis,

great plugin. i have been trying out your resizer and found it to be very useful. however, i also want to post a few feature requests for your consideration in future upgrade. these feature suggestions will likely to be interest to other users who undoubtedly run into similar situations:

  1. change the exp:imgsizer:size parameter fields {width} and {height} to something else. i frequently use your plugin within exp:gallery codes which has its own {width} and {height}. this creates a conflict and the parameters used in your plugin are incorrectly ignored.

  2. allow an option to change the directory to where “cached” thumbnails are stored. for my site, i use many gallery category directories, each of which now has a cached subdirectory to store your thumbnails. it would be nice if there is an option to store the thumbnails elsewhere, for example, at the SAME directory as the source images.

  3. allow an option to rename the generated thumbnails. currently, there is no option to do so. because these thumbnails may get indexed by search engine, we want them to be named more sensibly. for us, we only use a SINGLE size for the thumbnails, so it will be nice if there is an option to specify the exact prefix or suffix when naming the generated thumbnail file, such as source_suffix.jpg

  4. i realize that there is an option to insert a class and id tag. however, in most case, i found no need to use this except to specify border=”0”, it will be nice if you can make an exception and support this tag naively to your plugin.

  5. the src link that is generated is always a relative link such as src=”/images/test.jpg”, regardless whether the source src parameter is a relative or absolute link. it will be great if there is an option to generate absolute link, such as src=”www.mydomain.com/images/test.jpg”. this way, the behavior of the plugin with the consistent with the galley module of EE, since the absolute link is the default behavior for the galley module.

thanks for making this plugin and thank you for consideration of these features.

       
Mark Bowen's avatar
Mark Bowen
12,637 posts
17 years ago
Mark Bowen's avatar Mark Bowen

I am totally there with number 2 above. Sorry David we are probably creating more work for you now 😉

The reason I would love to have one cache folder would be because I am thinking of moving all my images for a site off-site to use the Amazon S3 storage space option. As this is only for storing files I’m not too sure how it would work with trying to automatically create cached images on there. I could of course just give it a go but I don’t think it would work as the bucket is not world-write-able. As all my cached images are going to be quite small anyway I am not too bothered by them being on the main site and the larger non-thumb-nailed versions being on Amazon.

Would be great to see that. Thanks again though for a simply awesome plugin! 😊

Best wishes,

Mark

       
Caleydon's avatar
Caleydon
17 posts
17 years ago
Caleydon's avatar Caleydon

Hi, lumis.com is down. Is there anybody, who could provide latest version of Image Sizer here on the forum? As I know, latest is v2.0.2.

       
Mark Bowen's avatar
Mark Bowen
12,637 posts
17 years ago
Mark Bowen's avatar Mark Bowen

Seems to be online now. Just downloaded the file and all seems to be fine although I did notice that the comments seem to have disappeared from the site. Hopefully we haven’t over-run David with too much work there? 😉

Hope you are okay David?

Best wishes,

Mark

       
iain's avatar
iain
317 posts
17 years ago
iain's avatar iain

I can’t believe i haven’t tried this plugin earlier.

you’re a legend David, thank you for this plugin.

       
lumis's avatar
lumis
119 posts
17 years ago
lumis's avatar lumis

Mark, Thanks i’m fine Just lots of real Job stuff to be done..

anyway mr_dimsum 2.1 now has cropping / scaling

P.J. I wont go into your other request just yet other than to say i will look into them but i will say about #4 there is a undocumented param for the (single tag) style=”” which you can pass any CSS style=”border:0px;margin:5px;” something like that. just be wherry of passing any single or double quotes. Also {img_height} and {img_width} will work as well as {width} and {height}

       
First 10 11 12 13 14 Last

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.