Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
trying to seek some advice about how to best build a simple portfolio using the multinode tree picker. Multinode Tree pickers are such a great asset to Umbraco and when used in conjunction with Desktop Media Uploader, you can really piece together a portfolio site pretty quickly.
I currently have:
Sorry if that post is a bit mish-mashed.
I guess what I'm really asking is the best way to have friendlier urls for media nodes, in the case where you want to render
a content node (multinodeTreePicker which contains a collection of images) at the same time as a media node by nameName or other field name rather than just by ID
Hope that makes sense
Sounds like we need a GetMediaByName function in our XSLT extensions...
We'll see what we can come up with. Should be doable, as uQuery can do an XML instance of all media items.
Had a look at uQuery, there is already a method in there for "GetMediaByName" - it just wasn't in the XSLT extension for Media - which I've now added!
If you want the latest bleeding-edge version, drop me an email tomorrow - I'll fire over an ad-hoc package.
Did you also have a look at the Digibiz Advanced Media Picker? You can do the same thing as with MNTP, but it has more options. Here is a quick video on how to use it: http://www.screenr.com/TEY
I'll definitley be using the DigiBiz picker whenever I use image crops, because of the fix you put in to avoid the double-save issue.as this was a simple example without any of that I wanted to use the uComponents treepicker... also in this situation it's a bit quicker to choose a whole bunch of media items with a few clicks.
here's the code I ended up with for my selected image xslt:
<xsl:param name="currentPage"/><xsl:variable name="mediaName" select="umbraco.library:RequestQueryString('mediaItem')" /><xsl:variable name="mediaXML" select="ucomponents.media:GetMediaByName($mediaName)" /> <xsl:template match="/"><img id="selected-image"><xsl:choose> <xsl:when test="$mediaXML/umbracoWidth < $mediaXML/umbracoHeight"> <xsl:attribute name="src">/ImageGen.ashx?image=<xsl:value-of select="$mediaXML/umbracoFile" />&height=663&format=jpeg&compression=90</xsl:attribute> </xsl:when> <xsl:otherwise> <xsl:attribute name="src">/ImageGen.ashx?image=<xsl:value-of select="$mediaXML/umbracoFile" />&width=663&format=jpeg&compression=90</xsl:attribute> </xsl:otherwise></xsl:choose><xsl:attribute name="alt"><xsl:value-of select="$mediaXML/@nodeName" /></xsl:attribute></img></xsl:template>
I want to create a filterable portfolio/Gallery...can you please help me......???
and i was some try like...(http://www.diplo.co.uk/blog/2011/4/8/creating-a-simple-image-gallery-in-umbraco.aspx)
first of all create Document type(e.g.. Name:-Album) and also create album master page....
second one create XSLT file and added some code...
and after added macro and import macro in album master page...
and after added some images in media folder.... and after create content... choose the folder...
and now display all images proper...
but i want to not display all images...i want to filterable like a portfolio...
thanks in advance..
I hope your reponse....
Have a look at the following examples:
hello jeroen give me examples of filterable portfolio/gallery using macro(XLST Code)
If you use DAMP you can try the DAMP 2.5 samples package. That has an xslt example: http://www.screenr.com/gz0s
i want to same as type filtering........
see this link.....
thank for reply asap
and i was load your DAMP package...this error gave me..
Could not load file or assembly 'DigibizAdvancedMediaPicker, Version=188.8.131.52, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
What version of Umbraco are you using?
Sorry I don't have an example with type filtering.
my is Umbraco v6.1.6 (Assembly version: 1.0.5021.24867)
ok dont mine but one thing is a:-
my tree is media part
--php(image of php)
--asp.net(iamge of asp.net)
--css(image of css)
this four type of catagries in my umbraco project..
then i want to not display all images in portfolio section..but include in filter section..
below all are the link then i click on all link so display all images and i click on php so only display me php images but remind disply in same page....
all php asp.net css javascritpt
so what about this work can be complete in umbarco...because i am new in this CMS
hello sir give me logic of filter gallary images in Umbraco
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted