© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•11mo ago•
7 replies
morry329#

✅ Rider does not recognise WebImage Helper

I have a simple crud app. I would like to add a drop-down menu and button like this tutorial https://learn.microsoft.com/en-us/aspnet/web-pages/overview/ui-layouts-and-themes/9-working-with-images

I just copied and pasted this tutorial code into my source code on Rider
@{
WebImage photo = null;
var newFileName = "";
var imagePath = "";
var imageThumbPath = "";

if(IsPost){
photo = WebImage.GetImageFromRequest();
if(photo != null){
newFileName = Guid.NewGuid().ToString() + "_" +
Path.GetFileName(photo.FileName);
imagePath = @"images" + newFileName;
photo.Save(@"~" + imagePath);

imageThumbPath = @"images\thumbs" + newFileName;
photo.Resize(width: 60, height: 60, preserveAspectRatio: true,
preventEnlarge: true);
photo.Save(@"~" + imageThumbPath); }
}
}

However Rider flags WebImage Helper as non-reconizable symbol. My abysmal Google search does not tell me what to do. No idea which NuGet Package/dependencies is missing on my Rider.

Could anyone kindly point me in the right direction? Is there an alternative to WebImage Helper which just lets my code add the image drop-down button? My Rider does not have the UI overview that lets me add it per drag and drop, just to let you know.
Working with Images in an ASP.NET Web Pages (Razor) Site
This chapter shows you how to add, display, and manipulate images (resize, flip, and add watermarks) in your website.
Working with Images in an ASP.NET Web Pages (Razor) Site
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources
Was this page helpful?

Similar Threads

Recent Announcements

Similar Threads

✅ Rider Program does not contain Static Main
C#CC# / help
2y ago
❔ Rider nuget does not display any packages
C#CC# / help
3y ago
Rider not showing localdb?
C#CC# / help
3y ago
❔ vscode (mac) does not recognise things in a new maui project
C#CC# / help
3y ago