Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#16 2006-07-20 20:06:56
- amygail
- New Member
- Registered: 2006-07-20
- Posts: 6
Re: wlk_mp
Hi Walker,
Your plugin has inspired me to try Textpattern (I’ve been working with Wordpress).
I understand how to install the plug-in, insert the tags etc..
I’ve been digging around, but I can’t figure out what I need to do with the PHP file to ‘upload via the files tab’. I’m sure it’s obvious – but I’m lost.
I’d be grateful for a push in the right direction.
Thanks
Amy
Offline
#17 2006-07-23 07:58:52
- Vitruvius
- Plugin Author
- Registered: 2004-09-21
- Posts: 125
Re: wlk_mp
amygail wrote:
I’ve been digging around, but I can’t figure out what I need to do with the PHP file to ‘upload via the files tab’. I’m sure it’s obvious – but I’m lost.
I Haven’t used the plugin – but just to help out here – the ‘Files’ tab is under ‘Content’. You should make sure your /files has appropriate permissions – if in doubt – click on the ‘Diagnostics’ tab under ‘Admin’
:)
Offline
#18 2006-07-23 18:56:42
- amygail
- New Member
- Registered: 2006-07-20
- Posts: 6
Re: wlk_mp
Thanks for you help Vitruvius,
I was able to find the ‘files’ tab – set permissions etc.
I’m just clueless as to what to do with the PHP file that comes with the plug-in.
This would be perfect for a site I’m working on – I’ll be so happy when I can make this work.
In the meantime – I’m enjoying playing with Textpattern.
a
Offline
Re: wlk_mp
Hi Amy, I haven’t actually installed this plugin yet as I didn’t yet have need, but I will soon and if I learn a thing or two I’ll report.
Last edited by Destry (2008-11-14 14:09:32)
Offline
#20 2006-07-24 18:19:46
- amygail
- New Member
- Registered: 2006-07-20
- Posts: 6
Re: wlk_mp
Thanks Destry!
I can’t believe I didn’t try to upload the php file straight through the files panel. duh
Goes to show – you can’t really over explain.
The site I want to use this for is down at the moment – but I’ll report as soon as I can try this. – If I can make it work – it will be perfect for the project.
best
a
Offline
Re: wlk_mp
Yeah, when I wrote the thing, I wanted to make it as easy as possible to install, so I didn’t want ftp to come into the equation. This way, you just use txp’s own file manager.
Offline
Re: wlk_mp
Ok everyone, I updated the plugin…..you can select images by specifying a category=“put category name here” within the tag or make a custom field called “magcategory” and put the category you want in the field from the article you wish to call…..if no images are found, nothing is output and there is next to no drain on resources…..also, I was writing the new version really stupidly and making multiple calls on the db. Ifyou use category to specify images, it only makes one db call, whereas specifying images by id makes (ummm…I’m sorry to admit) 2 calls to the db per image. (I’ll fix that little bit later.)
yup. (links are same as before….)
Offline
Re: wlk_mp
Oh, a word of warning, it only really handles jpegs……I had a png in there and it acted okay but the gd output was a black box….if you refresh this url you will occasionally see the black box….(it’s supposed to be a graph…)
Last edited by Walker (2006-07-24 20:31:53)
Offline
#24 2006-07-24 22:01:46
- amygail
- New Member
- Registered: 2006-07-20
- Posts: 6
Re: wlk_mp
OK – I managed to get it working – sort of – looks a bit odd though.
I’ve tried a few different combos and sizes, but it never looks quite right. no padding – or just odd layouts
I literally just threw up a textpattern site just default styling etc – perhaps when I have more time to play with it – I’ll figure out what’s going on.
In all though – very cool easy to use (with brain switched on) – Hopefully, I can make it work
If you’re interested in seeing what’s happening now – go here
http://amygail.com/
a
Offline
Re: wlk_mp
Guys, the following is the style I threw in my stylesheet to get it to look better:
<code>
.magazine-image img
{
border: 1px solid #000;
margin: 2px;
}
</code>
If you want the whole box containing the images to have text flow around it do this:
<code>
.magazine-image
{
float: left;
}
</code>
That <code>left</code> can be a right if you so desire.
Last edited by Walker (2006-07-24 22:26:01)
Offline
#26 2006-07-24 22:31:23
- amygail
- New Member
- Registered: 2006-07-20
- Posts: 6
Re: wlk_mp
There’s another ‘duh’ for me.
Still need to tweak – but yipppe it’s gonna work.
Now – if I just had pop-ups…..
Thanks again!
a
Offline
Offline
#28 2006-07-24 22:49:55
- amygail
- New Member
- Registered: 2006-07-20
- Posts: 6
Re: wlk_mp
Mine horses barely fit in my apartment- but I’m certain the ride will be worth the struggle.
I can’t work on the site for a few anyway.
Thanks for the great plugin and help.
best
a
Offline
Re: wlk_mp
This is excellent work Walker, really. Thanks for adding the ability to use categories instead of image ID’s.
One minor, minor issue. It looks like the directory where it looks for the images is hardcoded to ‘images’, so if you change this in the textpattern admin is fails to find the images.
other than that great stuff
- Christian
Offline
#30 2006-07-29 13:00:44
- els
- Moderator

- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: wlk_mp
Thanks for a great plugin Walker!
I just don’t quite understand what the padding attribute does. Padding between the images has to be set in the CSS with margin for .magazine-image img, otherwise there will be no padding at all between the images. But the padding attribute does make a difference, if you don’t set it to a certain value the images are moved around so they’re not in a square at all anymore. What that certain value is I only found out by trial and error, I fail to see the logic behind it.
But never mind, I’m only using it on one page, and I finally managed to get that one to display all right :)
Offline