Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2008-03-05 12:46:00

Nathan
New Member
Registered: 2008-03-05
Posts: 2

Set multiple article images?

I’m new to Textpanel and trying to find a way to attach multiple images to an article.

I realise you can add as many images as you want with textile in the main article text, however that won’t work for my purposes.

I’d like to keep the multiple images in a seperate div to the text of an entry. That way I can float the image div to the right, and the text div to the left and effectively have them like 2 columns within that post. It works fine with just one image, using the code below. But some articles will require 2 or more images down the side.

<div class=“articleimages”><txp:article_image thumbnail=“1” /></div>
<div class=“entry-content”><txp:body /></div>

Is this something that is possible?

Thanks,
Nathan

Offline

#2 2008-03-05 13:02:55

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,091
Website GitHub Mastodon Twitter

Re: Set multiple article images?

Hi Nathan, you can try hak_article_image or use custom_fields


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#3 2008-03-05 13:26:03

Nathan
New Member
Registered: 2008-03-05
Posts: 2

Re: Set multiple article images?

Thanks Colak,

I didn’t find hak_article_image when I was searching through for plugins. It works like a charm!

Offline

Board footer

Powered by FluxBB