I'm super new to Umbraco and not a developer, so forgive my technical knowledge (or lack thereof).
We are having an issue where an image is in the media library and associated with a project, but the image will not appear on our home page as a thumbnail.
We've tried many fixes, including rebuilding the page and removing and re-uploading the media. The code is identical to the code on our dev site, where the image works perfectly.
Would it be possible for you to show the code that is trying to render the image on the page. Without out that it will be a bit tough to begin to help you with the issue.
When you examine the page that is generated have you checked what Url appears as the img source and if you can browse to it directly?
If you've migrated content between two environments it might be that indexes (as we mentioned before) have gotten confused and your SliderImages property is pointing to an index that no longer exists.
I agree with Nik - seeing the code that is trying to render the image on the page could hint us on what is going wrong.
For now, I can only speculate that you're not loading the image using an Umbraco method but instead you may be using its path directly (e.g. /media/1234/foo.jpg). If you are indeed doing that, the image on your new site (given that you have also deleted and re-uploaded it) might have a totally different path, since it is Umbraco which controls the path of the image.
Image will not display as thumbnail on home page
I'm super new to Umbraco and not a developer, so forgive my technical knowledge (or lack thereof).
We are having an issue where an image is in the media library and associated with a project, but the image will not appear on our home page as a thumbnail.
We've tried many fixes, including rebuilding the page and removing and re-uploading the media. The code is identical to the code on our dev site, where the image works perfectly.
Any suggestions?
Hi Wendy,
Would it be possible for you to show the code that is trying to render the image on the page. Without out that it will be a bit tough to begin to help you with the issue.
Thanks,
Nik
Here you go. Thanks!
Hi Wendy,
When you examine the page that is generated have you checked what Url appears as the img source and if you can browse to it directly?
If you've migrated content between two environments it might be that indexes (as we mentioned before) have gotten confused and your SliderImages property is pointing to an index that no longer exists.
I agree with Nik - seeing the code that is trying to render the image on the page could hint us on what is going wrong.
For now, I can only speculate that you're not loading the image using an Umbraco method but instead you may be using its path directly (e.g. /media/1234/foo.jpg). If you are indeed doing that, the image on your new site (given that you have also deleted and re-uploaded it) might have a totally different path, since it is Umbraco which controls the path of the image.
Thanks for the response. I posted the code in the first reply in this string.
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.