Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2008-04-27 21:18:03

mattmikulla
Member
From: Nashville Tennessee
Registered: 2004-08-25
Posts: 281
Website

[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

#2 2008-04-27 22:53:08

sthmtc
Member
From: CGN, GER
Registered: 2005-01-17
Posts: 586
Website

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&amp;quality=95&amp;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

#3 2008-04-27 22:59:24

mattmikulla
Member
From: Nashville Tennessee
Registered: 2004-08-25
Posts: 281
Website

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

#4 2008-04-28 01:37:13

Gocom
Plugin Author
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

Re: [request] Image Resizer plus Cropper - Please Please Please

  1. You can see it from the path /image.php, yo there is the slash.
  2. 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&amp;quality=95&amp;image=<txp:site_url />images/1.png

Offline

#5 2008-04-28 02:04:46

mattmikulla
Member
From: Nashville Tennessee
Registered: 2004-08-25
Posts: 281
Website

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

#7 2009-01-30 08:20:03

jakob
Admin
From: Germany
Registered: 2005-01-20
Posts: 3,703
Website

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

#9 2009-02-04 20:37:47

rathersplendid
Plugin Author
From: London
Registered: 2008-05-02
Posts: 163
Website

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,148

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

Board footer

Powered by FluxBB