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
Hi guys,
Apologies if this is being posted in the wrong section. I didn't know where else to put it.
I have multiple websites running under one Umbraco installation. Is there a way to query every node to see if it uses a specific image?
I need to remove a specific image from every page on every website, but it would be difficult going through each one to find if it's there or not.
Thank you.
Here are some query examples: http://our.umbraco.org/documentation/Reference/Mvc/querying
You can probably use something like Descendants() from the top node to do a check if the image property exists and has a specific image.
Jeroen
Thanks Jeroen, that's a great help.
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Query - Select all nodes using specific image
Hi guys,
Apologies if this is being posted in the wrong section. I didn't know where else to put it.
I have multiple websites running under one Umbraco installation. Is there a way to query every node to see if it uses a specific image?
I need to remove a specific image from every page on every website, but it would be difficult going through each one to find if it's there or not.
Thank you.
Here are some query examples: http://our.umbraco.org/documentation/Reference/Mvc/querying
You can probably use something like Descendants() from the top node to do a check if the image property exists and has a specific image.
Jeroen
Thanks Jeroen, that's a great help.
is working on a reply...