Portal Engine Questions on portal engine and web parts.
Version 6.x > Portal Engine > Updating an image in the Media Library causes broken link View modes: 
User avatar
Member
Member
ekennedy50-gmail - 4/16/2013 9:37:13 AM
   
Updating an image in the Media Library causes broken link
I have an image in the Media Library that I'm using on several different pages. I'm using the EditableImage and EditableText web parts to link to the image.
When I try to replace the image in the Media Library, using the update link in the Media Library tools, the image links on the pages aren't getting updated. They still link to the url of the old image, which no longer exists.
It seems to work if the filename is the same, so I assume that the the webpart is only referencing the FilePath of the Media Library image instead of referencing the database record. Am I using this incorrectly, or is there a better way to include a Media Library image on a page? When I update an image in the Media Library, I need the links to the image to be updated as well.

User avatar
Kentico Support
Kentico Support
kentico_filipl - 4/16/2013 12:22:38 PM
   
RE:Updating an image in the Media Library causes broken link
Hello,

It seems like this was a bug in version 6. However, it was already fixed, so I would advice you to apply the latest hotfix 6.0.58 to solve this issue.

I have tried steps you have mentioned with the latest hotfix and it worked correctly, i.e. referenced image in Editable image web part was successfully replaced with a new one after the update in Media library and there was no need to manually link the image to the web part.

Best regards,
Filip Ligac