Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8965653
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T16:51:21+00:00 2026-06-15T16:51:21+00:00

I am using the following code in a MVC3 program var images = \\\\XXXX\\XX\\Files\\

  • 0

I am using the following code in a MVC3 program

     var images = "\\\\XXXX\\XX\\Files\\" + photo.Thumbnail;
     <a href = "@images" class="grouped-photos" rel="prettyPhoto"> <img src = "@images" alt="@photo.Filename" /> </a>

It will only display a image type “PNG”. There are two images in each folder. One is the thumbnail the other is the full size picture. If I switch to the full size images

      var images = "\\\\XXXX\\XX\\Files\\" + photo.FullImage;

then it displays all image types (PNG, BMP,JPG, etc) and the href part will popup the fullsize image”. The only difference I can see is

      photo.Thumbnail = Thumbnail.ImageXXX.jpg (.bmp, .png, etc)
      photo.FullImage = ImageXXX.jpg (.bmp, .png, etc)

I was wondering if the problem is the fat that the Thumbnail image name has a period (.) and the Fullsize image does not. Then too if the Thumbnail image is a .PNG then will display.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T16:51:23+00:00Added an answer on June 15, 2026 at 4:51 pm

    I found a solution. From what I was told this will work

        var images = Url.Content("\\\\XXXX\\XX\\Files\\" + photo.Thumbnail);
        var fullsize = Url.Content("\\\\XXXX\\XX\\Files\\" + photo.Fullsize);
        <a href = "@images" class="grouped-photos" rel="prettyPhoto"> <img src = "@fullsize" alt="@photo.Filename" width = "90" height = "70"/> </a>
    

    Another developer told me to switch to the fullsize image and then set the width and height parameters to reflect the thumbnail size. Now it displays all the images and in the correct size too.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using Mvc3 and NHibernate I have a class called Activation code like following:
I'm using the following code to create an audit trail in an MVC3 app.
I am using MVC3. I am getting following error when I run code analysis.
I using following code: var search = 'test'; if ($('#sku').find(search) ){ //alert(search); $(document).find(search).css('color','red'); <TABLE>
i am using following code. public class MyCount extends CountDownTimer { public MyCount(long millisInFuture,
I am using following code for inserting comments: <div id=2 class=789678> <div id=dynamic2> <span
So I'm using MVC3 and I am aware of the following code to return
Using ASP.NET MVC3, the url http://localhost:22713/tests#123456 with the following code: Your user agent: @Request.UserAgent<br
I'm using MVC3 and in my view I have the following code block; Response.Redirect(@Url.Action(index,home,
Using following code I try to get updated list of checkbuttons' corresponding text values,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.