UPDATE: I found a solution, but it is a bad solution. First I upload the images and then I have to visit the media folder and click save on each image again. Does anybody know why I have to save again?
This code below works perfectly on a localhost, but as soon as i put it online it does not work.
Unfortunately that did not work, and now I can't even save twice to get it working. I have tried to delete browser cache and republish entire site. Nothing works.
Should the folders (1001, 1002 etc.) inside the media folder have the same number as the ID in the image properties?
UPDATE: Looks like I am not the only one with the problem, see:
Media upload problem
Hi everybody,
UPDATE: I found a solution, but it is a bad solution. First I upload the images and then I have to visit the media folder and click save on each image again. Does anybody know why I have to save again?
This code below works perfectly on a localhost, but as soon as i put it online it does not work.
The HTML output on the online page looks like this:
As you can see then the image src is missing.
Can anybody tell me what I am doing wrong? I have deleted the TEMP files regarding "FileUploads" before i uploaded the site.
I am thinking maybe deleting all media files and folders and start from scratch, but I am not sure if that will help me out.
Thanks in advance!
// René
Hi René
Try to see here you should be able to get the source back by re-save the images
https://our.umbraco.org/forum/ourumb-dev-forum/bugs/40175-img-src-empty-after-upgrade-to-602-re-saving-media-restoresSOLVED
Maybe you can use the url to do it all in once.
Hope this helps,
/Dennis
Hi Dennis,
Unfortunately that did not work, and now I can't even save twice to get it working. I have tried to delete browser cache and republish entire site. Nothing works.
Should the folders (1001, 1002 etc.) inside the media folder have the same number as the ID in the image properties?
UPDATE: Looks like I am not the only one with the problem, see:
https://our.umbraco.org/forum/developers/razor/57936-TypedMedia-URL-is-empty
// René
Problem solved.
Upgraded from Umbraco version 7.2.6 to 7.2.8.
I wish I had done that ealier. :-)
is working on a reply...