If you want to republish all media items you could try the Create Crops package. Even if you don't have any crops it will also republish all media items.
FYI, you can also visit the following URL which should republish all your media items. I've had to do this when upgrading from older versions: /umbraco/dialogs/republish.aspx?xml=true
GetMedia() returns empty string after update to 4.7.1
Hi, guys!
I've updated my web site from 3.0.6. to 4.7.1 version. (and updated my xslt scripts to fit new xml schema).
I'm trying to get image url (image id = 1292)
I've found a lot of similar posts, but issue always related with new xml schema and code like
always returns some value. I can't even get any value from GetMedia() method.
However,
returns "No media is maching '2'"
Can anybody help me?
Hi,
Welcome to the forum.
Did you try and republish the media item?
Rich
Yes, it works after i ckicked "Save" button of media item. Thank you Rich!
If you want to republish all media items you could try the Create Crops package. Even if you don't have any crops it will also republish all media items.
Jeroen
Thanks, it should be very usefull
FYI, you can also visit the following URL which should republish all your media items. I've had to do this when upgrading from older versions: /umbraco/dialogs/republish.aspx?xml=true
is working on a reply...