Matrix keyword for the ID of a thumbnail image?

Hi


Is there a matrix keyword for the ID of a thumbnail image?



Cheers

I don't believe there is. Why would you need this?

I wonder if asset_thumbnail_assetid would work?

The only keywords available as far as I can tell are:

  • %asset_thumbnail% which prints the IMG tag for it
  • %asset_thumbnail_url% and
  • %asset_thumbnail_caption%, both of which should be self-explanatory :slight_smile:



    Maybe this is worth submitting as a feature request (to the bug tracker) to allow any keyword from the thumbnail asset to be accessed, such as %asset_thumbnail_assetid% as Greg has suggested.

Hi


I've tried ‘asset_thumbnail_assetid’ and unfortunately had no luck. Basically I’m getting matrix to generate an XML file that will output the path of an image variety, something along the lines of:


    https://secure.ausport.gov.au/__data/assets/image/ %asset_thumbnail_assetid%/varieties/flash_thumb.jpg


The code above works fine when I substitute the ‘%asset_thumbnail_assetid%’ with the actual thumbnail ID.

Any suggestions?

Thanks
Nath

If you variety is called "thumb", try: %asset_thumbnail_v_thumb_url%

[quote]If you variety is called “thumb”, try: %asset_thumbnail_v_thumb_url%
[right][post=“12559”]<{POST_SNAPBACK}>[/post][/right][/quote]



Problem solved! Thankyou