Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: lam_dynamic_image (on-the-fly article image resizing and display)
Well I’m still going to keep your plugin on the site to deal with the pics that aren’t quite that enormous. At least it will stop the layout from breaking. If it comes to a choice between the red x and a 3872px jpg, I’ll take the red x.
Anyway now I understand what was wrong, and that’s a relief in itself.
Thanks again for your help and your time, and a great plugin. I just gave it an impossible task. ;P
Offline
#32 2008-02-08 08:18:52
- lee
- Member
- From: Normandy, France
- Registered: 2004-06-17
- Posts: 831
Re: lam_dynamic_image (on-the-fly article image resizing and display)
Steve, is this working with 4.06, I’m just getting a red cross where the image should be?
Cheers
Lee
Offline
Re: lam_dynamic_image (on-the-fly article image resizing and display)
lee wrote:
Steve, is this working with 4.06, I’m just getting a red cross where the image should be?
works for me in 4.0.6
Offline
Re: lam_dynamic_image (on-the-fly article image resizing and display)
steve, i forgot to thank you! this plugin is amazing. works super fast and smooth here…
just to let you know: there’s a typo in the plugin’s help. (might confuse some people)
<txp:image id=“3” height=“300” /> will resize and output the image with an id of “3” with a maximum width of 300 px. The height will automatically be calculated and resized proportionally
should be <txp:lam_image id="3" height="300" />, obviously ;)
how complicated would it be to allow for image cropping aswell? i don’t necessarily need this at the moment but it would come in super handy for example if one is forced to use square thumbnails and so on…
Offline
Re: lam_dynamic_image (on-the-fly article image resizing and display)
Hey iblastoff. Does this plugin have the capability to crop an image like the textpattern thumbnails? I’m thinking this would be a killer function to make standard image sizes on menus or front pages. The individual article could have the original image proportions or scale.
Art Rogue – Fine Art Photography
Offline
Re: lam_dynamic_image (on-the-fly article image resizing and display)
mattmikulla, the height will automatically be calculated and resized proportionally by the original scale :)
standard image sizes on menus or front pages
Remember that it uses a lot of memory and can be very slow. With highbandwight site, you possibly can end up into pit of doom ;) The onfly resizing is good, but don’t use it too much.
Last edited by Gocom (2008-03-03 12:01:03)
Offline
Re: lam_dynamic_image (on-the-fly article image resizing and display)
i just came across this smart image resizer via popurls. it does cropping as well as resizing and sharpening. could that be an alternative to the image.php that is currently being used alongside the plugin?
Offline
Re: lam_dynamic_image (on-the-fly article image resizing and display)
Hey Lam. Were you planning on adding crop functionality to this plugin?
Also, how memory intensive would it be to resisize 5 jpegs on one page when the originals are no more than 450px wide or high to thumbs that are no more than 200px wide or high?
Art Rogue – Fine Art Photography
Offline
Re: lam_dynamic_image (on-the-fly article image resizing and display)
I will no longer be maintaining or developing any more plugins for Textpattern.
But it hard to know what it actual means :-)
But that crop thing would require a lot of script editing that is written by other coder. And as we know, other’s code is sometimes kinda hard to read.
Also, how memory intensive would it be to resisize 5 jpegs on one page when the originals are no more than 450px wide or high to thumbs that are no more than 200px wide or high?
Depends on GD version and how much it uses memory per pixel. In example it could use 4-6 bytes per pixel. You can calculate it. So, it’s 8 megs per image. Meaning that it could fail if memory runs out. Solution: possibly increase your memory limit (i wouldn’t use at all)
Last edited by Gocom (2008-03-21 14:53:16)
Offline
Re: lam_dynamic_image (on-the-fly article image resizing and display)
For some reason, Steve’s plugins all return a 404 at the mo. Would someone be kind enough to upload their copy in the meantime?
Many thanks!
TXP Builders – finely-crafted code, design and txp
Offline
Re: lam_dynamic_image (on-the-fly article image resizing and display)
For some reason, Steve’s plugins all return a 404 at the mo. Would someone be kind enough to upload their copy in the meantime?
can no-one help?
TXP Builders – finely-crafted code, design and txp
Offline
Re: lam_dynamic_image (on-the-fly article image resizing and display)
Where should I ideally move the image.php file too? CGI bin?
Oh, and what would I change in the plugin code?
Last edited by mattmikulla (2008-04-12 23:49:44)
Art Rogue – Fine Art Photography
Offline
#43 2008-05-15 14:29:41
- kkalbaugh
- New Member
- From: Lafayette, Indiana
- Registered: 2008-05-15
- Posts: 2
Re: lam_dynamic_image (on-the-fly article image resizing and display)
I get this: “Tag error: <txp:lam_article_image width=“150” /> -> Textpattern Warning: tag does not exist on line 983”. I am new to textpattern and have had some success with other plugins, but I can’t figure out why this one gives me this error.
Here’s what I’ve done:
1. I have installed the plug.
2. Put image.php in the images directory and given it a 755 permissions
3. Pulled out a lot of hair
Thanks in advance. Also I’m running PHP version: 4.3.9, is that bad?
Last edited by kkalbaugh (2008-05-15 14:30:21)
Offline
Re: lam_dynamic_image (on-the-fly article image resizing and display)
Did you activate plugin after install?
Providing help in hacking ATM! Come to courses and don’t forget to bring us notebook and hammer! What for notebook? What a kind of hacker you are without notebok?
Offline
#45 2008-05-15 20:10:00
- kkalbaugh
- New Member
- From: Lafayette, Indiana
- Registered: 2008-05-15
- Posts: 2
Re: lam_dynamic_image (on-the-fly article image resizing and display)
No. Thank you. I feel very dumb right now.
Offline