Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
[request] Image Resizer plus Cropper - Please Please Please
This has been beaten to death, but it’s still a much needed plugin.
So we have lam_dynamic_image , which is great, but it won’t crop to a ratio. Also, it’s a dead plugin since iblastoff isn’t working on it anymore and focusing on xpattern
Then there is Smart Image Resizer , which looks promising, but I’m not sure how to integrate with textpattern or an article image.
It would be really great if someone could port the php of Smart Image Resizer to a textpattern plugin.
Art Rogue – Fine Art Photography
Offline
Re: [request] Image Resizer plus Cropper - Please Please Please
mattmikulla wrote:
Then there is Smart Image Resizer , which looks promising, but I’m not sure how to integrate with textpattern or an article image.
i’m successfully using the mentioned smart image resizer in combination with upm_image. at which point do you have problems with the integration? to give you a brief example to start with:
article form:
<txp:title /> etc... <txp:upm_article_image form="myImage" />
form myImage:
<img src="/image.php?width=390&quality=95&image=<txp:upm_img_full_url />" alt="<txp:upm_img_alt />" />
or, if you’d like to place an image somewhere in an article you could just do (this process can be automated by using upm_image_popper’s custom form insert):
<txp:upm_image id="5" form="myImage" />
maybe a plugin that hides the link to image.php would be nice, but to me it’s working just fine like this… i’m using upm_image for pretty much every project and it’s great that you can easily control the output of every single component and do whatever you want. great flexiblity…
Offline
Re: [request] Image Resizer plus Cropper - Please Please Please
I saw a glimmer of hope when I realized the upm_image could output the full url.
1) Does the image.php file reside in the imagecache directory that you need to create? If not, where would I place the php?
2) Will this work on a local testing server?
Last edited by mattmikulla (2008-04-28 00:17:27)
Art Rogue – Fine Art Photography
Offline
Re: [request] Image Resizer plus Cropper - Please Please Please
- You can see it from the path
/image.php
, yo there is the slash. - If you have the all required modules installed (GD etc) – and ofcourse the actual PHP.
If your using local server or/aka subdir, then you could use help of <txp:site_url />
(fixes the slash/path problem). And possibly you won’t even need the upm_image. In example:
<txp:site_url />image.php?width=390&quality=95&image=<txp:site_url />images/1.png
Offline
Re: [request] Image Resizer plus Cropper - Please Please Please
It is working now. My life has officially changed. This is the best thing ever. I can now move on with my redesign.
Thanks for the help everybody. If I get around to it I will post a tutorial on the forum.
Art Rogue – Fine Art Photography
Offline
#6 2009-01-30 03:45:05
- ploinkr
- Member
- From: Montreal
- Registered: 2007-12-06
- Posts: 83
Re: [request] Image Resizer plus Cropper - Please Please Please
I just posted this in the upm_image support thread, but maybe some of you can answer it here? In any case, thanks for reading.
Sorry if this has been answered previously (couldn’t find anything with forum search…) but I just installed upm_image with Smart Image Resizer and I’m getting the message “Javascript file could not be find!” (sic) when the page loads, although everything looks right.
Any idea what could be the problem?
Thanks.
ok, just found this with firebug:
<script src="http://www.mysite.com/beta/index.php?js=upm_image" type="text/javascript">
1alert('Javascript File could not be find!')
</script>
If anyone can help I’d be much obliged – really a newbie with anything Javascript :-/
Thanks.
Last edited by ploinkr (2009-01-30 04:31:17)
Offline
Re: [request] Image Resizer plus Cropper - Please Please Please
Ploinkr, you might want to check the top-level “extension” tab (note, that doesn’t show when you’re on the plugin pane) and see if the javascript insertion is turned on or off.
TXP Builders – finely-crafted code, design and txp
Offline
#8 2009-01-30 13:35:43
- ploinkr
- Member
- From: Montreal
- Registered: 2007-12-06
- Posts: 83
Re: [request] Image Resizer plus Cropper - Please Please Please
jakob, thanks for your reply; yes, it’s on already…
Hahaha… I turned it OFF and it’s now working.
Thanks a lot :-)
Last edited by ploinkr (2009-01-30 18:52:17)
Offline
Re: [request] Image Resizer plus Cropper - Please Please Please
sthmtc, thank you so much.
I’ve been needing to do this for ages and your solution was so easy.
Cheers dude!
Admin Themes Prometheus | Stung | <txp:coder/
My Portfolio | ɹǝpuɐz.com | @MrMartineau
<txp:coder /> – Convert your designs into Textpattern-based websites
jQuery Style | @jquerystyle
Offline
#10 2009-03-25 13:38:37
- Gallex
- Member
- Registered: 2006-10-08
- Posts: 1,308
Re: [request] Image Resizer plus Cropper - Please Please Please
sthmtc wrote:
or, if you’d like to place an image somewhere in an article you could just do (this process can be automated by using upm_image_popper’s custom form insert):
how exactly this can be done using upm_image_popper?
Offline
Re: [request] Image Resizer plus Cropper - Please Please Please
Is this working with 4.0.8? I have it it working on a 4.0.7 installation and I can’t get it on another 4.0.8 installation. I’ve checked permissions etc and I’m trying to troubleshoot.
Art Rogue – Fine Art Photography
Offline
#12 2009-06-15 14:16:20
- masa
- Member
- From: Asturias, Spain
- Registered: 2005-11-25
- Posts: 1,091
Re: [request] Image Resizer plus Cropper - Please Please Please
I have it working on two 408 without problems. Are you getting any error messages?
Offline