But I still get the error String "2293" is not a valid udi, but I don't understand why. How can I check if the images have a Uid assigned? I couldn't find it in the database. I'm not sure whether the image, the page or something else is the problem.
When you add a new media picker to the document template, make sure to select the correct one. There are two both called the same, with the same icon. Make sure you have the correct one:
String "2293" is not a valid udi, using image in template in 7.6.3
Hi,
I recently upgraded an umbraco site from 7.4.3 to 7.6.3, but I couldn't get an image on my pages using a page template.
My template is like:
But I still get the error String "2293" is not a valid udi, but I don't understand why. How can I check if the images have a Uid assigned? I couldn't find it in the database. I'm not sure whether the image, the page or something else is the problem.
Thank you!
Hi Marco
Try this code:
Thanks,
Alex
Hi Alex,
Unfortunately, I get the same error. Do you have other suggestions?
Thanks.
Found it!
When you add a new media picker to the document template, make sure to select the correct one. There are two both called the same, with the same icon. Make sure you have the correct one:
I hope this helps someone.
Hi Marco
Great that you shared a solution, have a nice weekend.
Alex
is working on a reply...