Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Custom fields, multiple article images, ...
Hello,
I will soon start working on my girlfriend’s portfolio site.
Articles will have to be structured like this:
*Title of the project
*Year it was designed
*Text
*Photo 1
*Photo 2
*Photo 3
How would you, as an experienced TXP designer, implement this?
I was thinking:
*Standard Article Title (Title of the project)
*Custom field 1 (Year it was designed)
*Standard Article Text (Text)
*hak_article_image 1 (Photo 1)
*hak_article_image 2 (Photo 2)
*hak_article_image 3 (Photo 3)
Is there a better way to use multiple article images?
Or is hak_article_image the way to go?
Being able to place extra article images in custom fields would be great…
Also, when using hak_article_image, can you still enjoy the ease of use of upm_image_popper?
In short:
I’m looking for the best way to implement multiple article images.
User experience (uploading and inserting images) and flexibility (in terms of the layout of the site and the images) are my main points of interest.
thanks!
Johan.
Dutch Ruby on Rails news and articles: OnRails
Offline
Re: Custom fields, multiple article images, ...
there are many plugins which deal with article images ike_slideshow is another one. I guess it depends on what you evetually want to achieve. You could also try some of the many gallery plugins.
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
Re: Custom fields, multiple article images, ...
Thank you… ike_slideshow looks nice…
Here’s another idea I had:
1/uploading the images you would like to use
2/writing down their id’s
3/filling in these id’s in custom fields:
custom field 1 = Image1 = 1
custom field 2 = Image2 = 2
custom field 3 = Image3 = 3
-> I could then simply output these images with the following code:
<img src="http://www.myurl.com/images/<txp:custom_field name="Image1" />.jpg />
<img src="http://www.myurl.com/images/<txp:custom_field name="Image2" />.jpg />
<img src="http://www.myurl.com/images/<txp:custom_field name="Image3" />.jpg />
This should result in:
<img src="http://www.myurl.com/images/1.jpg />
<img src="http://www.myurl.com/images/2.jpg />
<img src="http://www.myurl.com/images/3.jpg />
Would this work? Or am I being un-logical?
(I wouldn’t use article images in this case)
I think this would be a reasonable workflow,
and it would offer me a lot of flexibilty without depending on a plugin…
Did anyone already try this?
thanks,
Johan.
Dutch Ruby on Rails news and articles: OnRails
Offline
Re: Custom fields, multiple article images, ...
Yes, that will work.
Offline