10377 Posts in 2193 Topics by 1709 members
| Go to End | Next > | |
| Author | Topic: | 66987 Views |
-
Re: Image Gallery Extension: Testers Needed

9 June 2009 at 2:28am
I think I covered that topic here:
http://www.silverstripe.org/dataobjectmanager-module-forum/show/261771#post261771
-
Re: Image Gallery Extension: Testers Needed

9 June 2009 at 2:45am
Hey UC,
I found a thread over in your area here http://silverstripe.org/dataobjectmanager-module-forum/show/261567#post261567 which covered getting the images, which works for me too. Can I get some pointers on formatting the images in the template?
-
Re: Image Gallery Extension: Testers Needed

9 June 2009 at 2:55am
Like this?
<% control RecentImages %>
<% control Image %>
<% control CroppedImage(100,100) %>
<img src="$URL" alt="" />
<% end_control %>
<% end_control %>
<% end_control %> -
Re: Image Gallery Extension: Testers Needed

9 June 2009 at 3:13am
Yeah, thats what I was meaning, but it doesnt work for me. Also, with this function:
function RecentImages()
{
return DataObject::get("ImageGalleryImage", null, "Created DESC", null, 5);
}should I have access to the caption etc, or will I need to add a left join to the get?
-
Re: Image Gallery Extension: Testers Needed

9 June 2009 at 3:28am
No, ImageGalleryImage is a DataObject containing the Caption, and linked album and image, so you should be fine.
-
Re: Image Gallery Extension: Testers Needed

16 June 2009 at 8:32am
Hi,
is it possible to show the filename in the image popup ??
greetings leo
-
Re: Image Gallery Extension: Testers Needed

16 June 2009 at 8:36am
Sure, just edit your mysite/templates/Layout/ImageGalleryPage_album.ss, and add $Image.Title before (or after) the $Caption.
-
Re: Image Gallery Extension: Testers Needed

17 June 2009 at 7:24am
i think you misunderstanded me. i want to show the filename in the image popup for example if i use thickbox in the footer next to the page navigation.
thanks and sorry for my bad english
| 66987 Views | ||
| Go to Top | Next > |

