How to access Images from cq | Community
Skip to main content
Level 2
October 16, 2015
Solved

How to access Images from cq

  • October 16, 2015
  • 1 reply
  • 660 views

HI, 

I have to perform search on cq folder for images and display matched images to the user.

I write code in .net c#, and I use to get the contents from the folder using path like

http://localhost:port/content/customers.xml 

 

using this I access all the images in a particular folder named customers  .

Later, I use some xpath kind of stuff to search the xml file , 

But, this takes a lot of time, 

I am looking for alternative ways. 

Is it possible to query cq directly from asp.net ?

Is it possilbe to send request like http://localhost:port/content/customers.xml?query to filter the images

 

please suggest other ways to boost performance 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by PaulMcMahon

Check out the query builder AP documentation. http://dev.day.com/docs/en/cq/current/dam/customizing_and_extendingcq5dam/query_builder.html. It provides a URL based query framework. 

1 reply

PaulMcMahonAccepted solution
Level 8
October 16, 2015

Check out the query builder AP documentation. http://dev.day.com/docs/en/cq/current/dam/customizing_and_extendingcq5dam/query_builder.html. It provides a URL based query framework.