Quote from: joshywood at Jun 05, 2007, 05:21 PM
How would I associate a picture to each blog using maxigallery?
You would call MaxiGallery on each blog entry (eg. in template) and that way you will have a gallery for each blog document.
Quote from: joshywood at Jun 05, 2007, 05:21 PM
Is this the most efficient approach or should I use an image TV?
If you are only going to show/have one picture, I would suggest to use Image TV with phpThumb to get different size pictures for certain outputs.. There is a snippet floating around these forums that combines Image TV and phpThumb.
Quote from: joshywood at Jun 05, 2007, 05:21 PM
The reason I thought maxi would be best because I could possibly have three different sizes of each pic. The big size would be displayed in the blog itself, and the standard and thumb sizes on the home page.
Yes, there is some advantages, like ease of use..
Quote from: joshywood at Jun 05, 2007, 05:21 PM
What would the maxi call need to look like in the blog section? I know it would need to be associated the the document id somehow...just not sure how to do that. Also can I just call the bigpic on this page?
Do a normal [[MaxiGallery]] call with custom template that shows big picture instead of the thumbnail. You could do a custom &galleryPictureTpl and make it show big pictures in gallery overview (the big picture filenames are prefixed with "big_"), or you could use &display=`pictureview` to force it go straight to the picture view mode and then do custom &pictureTpl what would show the big picture, or if you are planning to use more than one picture in some blogs, you could use the smoothgallery display mode to make a slideshow of the big pictures (do a custom &galleryPictureTpl that uses big pics instead of the normal ones). Look at the default template content and modify to suit your needs, if you don’t know how, ask more help.
Quote from: joshywood at Jun 05, 2007, 05:21 PM
And for the home page calls can I have it show the standard pic and thumb pic based on the document id of what ditto is displaying?
In Ditto chunk, you can use [[MaxiGallery? &gal_query_ids=`[+id+]`]] to show pictures from certain gallery. Then if you only want one thumbnail even if the gallery itself would have more, use the &limit=`1` parameter to limit it. For the standard pic / thumb pic in certain ids thing, there is at least two options. You could either do two custom &galleryPictureTpl one lists with thumbnails and one with standard pics, then in Ditto chunk, use PHx to check if document ID ( [+id+] ) is something specific and figure out which &galleryPictureTpl to use. Other option is to create one custom &galleryPictureTpl and in that template, use PHx to check if [+maxigallery.picture.gal_id+] (eg. document id) is something specific and whether to use standard picture or thumbnail.
Did this clear things enough for you? feel free to ask more..