I have been looking under projects and forum for a photo galley.
What I need is:
- I have all my photos in media in a folder called "Gallery1" - Want to be able to display all of these photos as a 100x100 thumbnail and when clicked on it it will show the a larger size of 300x300 in a LightBox.
Thanks for that, I maybe should have posted this into a different section. : ( I have some understanding on XLS but not a pro to be able to understand each things.
I just want a simple solutions which I cannot find any where:
On one of our product pages I want to display all the product images.
Always remember to add your umbraco version in your post, as the solution may be completely different for a pre 4.5 version compared to a v4.5+ version of umbraco.
Anyway, Bas' solution is perfect for when you'd be using a pre 4.5 umbraco or a 4.5+ version with UseXmlLegacySchema=true.
Need a simple Photo Gallery
Hi guys...
I have been looking under projects and forum for a photo galley.
What I need is:
- I have all my photos in media in a folder called "Gallery1"
- Want to be able to display all of these photos as a 100x100 thumbnail and when clicked on it it will show the a larger size of 300x300 in a LightBox.
I have tried to use: EyeCatch UmBox Image
http://our.umbraco.org/projects/website-utilities/eyecatch-umbox-image-gallery
There isnt much documentation online so I am stuck on that.
--
I also tried to use:
Designit Gallery
http://our.umbraco.org/projects/website-utilities/designit-gallery-package
For some reason I don't know where I am going wrong.
I have even followed the process written on:
http://our.umbraco.org/forum/getting-started/questions-about-runway-and-modules/10654-How-to-set-up-Designit-Gallery-Package-and-make-it-work
--
Now I wonder, if there is something who can guide me into getting a Simple Gallery Online. Is there any thing available?
Thanks
Raheel
Hi Raheel,
I use a similar way of to display images. U can try and modify this xslt. It builds a 3 column table with images from the media library.
Hi Bas,
Thanks for that, I maybe should have posted this into a different section. : (
I have some understanding on XLS but not a pro to be able to understand each things.
I just want a simple solutions which I cannot find any where:
On one of our product pages I want to display all the product images.
Designit Gallery is the best suited to me.
our.umbraco.org/.../designit-gallery-package
But I cannot get it to work, the image does not display for some reason.
Anyone here that can help me simply get images from a SPECIFIC folder in media to be displayed on a page and when clicked on gets a light box.
Thanks
Raheel
Hi Raheel,
I cleaned up the script for. If you fill the variable "Folder" with the id of the media folder it generates a clean list of all images.
Cheers,
Bas
Raheel,
Always remember to add your umbraco version in your post, as the solution may be completely different for a pre 4.5 version compared to a v4.5+ version of umbraco.
Anyway, Bas' solution is perfect for when you'd be using a pre 4.5 umbraco or a 4.5+ version with UseXmlLegacySchema=true.
Cheers,
/Dirk
@ Dirk, thanks for that. Ill remember it next time : )
@Bas - I have tried the script - On the front end I end up getting broken images.
The folder ID is 1264 and is named Drainage under Media
<xsl:variable name="Folder" select="1264" />
<xsl:if test="$Folder != ''">
<ul>
<xsl:for-each select="umbraco.library:GetMedia($Folder, 'yes')/node">
<li>
<xsl:choose>
<xsl:when test="(data [@alias = 'umbracoWidth']) > (data [@alias = 'umbracoHeight'])">
<a rel="group" href="/umbraco/ImageGen.ashx?image={./data[@alias = 'umbracoFile']}&width=600&compression=100" title="">
<img src="/umbraco/ImageGen.ashx?image={./data[@alias = 'umbracoFile']}&width=300&height=300&compression=100" alt="{@nodeName}"></img>
</a>
</xsl:when>
<xsl:otherwise>
<a rel="group" href="/umbraco/ImageGen.ashx?image={./data[@alias = 'umbracoFile']}&height=600&compression=100" title="">
<img src="/umbraco/ImageGen.ashx?image={./data[@alias = 'umbracoFile']}&width=300&height=300compression=100" alt="{@nodeName}"></img>
</a>
</xsl:otherwise>
</xsl:choose>
</li>
</xsl:for-each>
</ul>
</xsl:if>
What can I do?
Thanks
Raheel
Hi Raheel,
Do you use the imagegen package?
http://our.umbraco.org/projects/website-utilities/imagegen
Cheers,
Bas
Hi Raheel,
It could help if you could post the HTML source you are getting that has your broken images.
Rich
is working on a reply...