It would be helpful if WPG2 could automatically insert a caption below an image. I think the resulting code may look like this:
<div style="imageBox">
<img>
<br /><span style="imageCaption">[caption text here]</caption>
</div>
The caption text would come from the Gallery summary or description fields.
The caption needs to be queried at view time. That way, if I was to change the caption in Gallery2 after inserting the image into a Wordpress post or page, the updated Gallery2 caption would also appear in Wordpress.
Posts: 1378
Aren Cambre,
This is on our development radar for WPG2 3.1 which will have our own Gallery2 image retrieval function. The G2 imageblock which is the module we use to retrieve images only supports titles nothing else..
____________________________________
Wordpress / Gallery2 (WPG2) Plugin, , WPG2 Documentation, WPG2 Demo
Posts: 58
Thanks!
BTW, this may be better code:
<div class="imageBox imageBoxRight">
<div class="imageBox.image"><img></div>
<div class="imageCaption">[caption text here]</div>
</div>
Posts: 29
ozgreg
I read in one thread that your dev box was knackered - any news on 3.1?
I'm looking for this caption functionality too; also the ability to enumerate and write the url of the parent album from a photo - would that be possible?
Thanks
I don't write code!| www.evilzenscientist.com | www.offtoissaquah.com |
Posts: 1378
evilzenscientist,
Yeah I lost a lot of test, development alpha code when my box died plus a whole lot of work stuff got added on my plate so WPG2 went straight off my radar screen. the good news is I am now slowly getting on top of everything so I can recut WPG2 code again. I have no idea of any timelines yet, WPG2 3.08 will be the first release out the door with some G2.3 support..
____________________________________
Wordpress / Gallery2 (WPG2) Plugin, , WPG2 Documentation, WPG2 Demo